add paste.ee api configs

This commit is contained in:
Gordon Shumway 2019-04-15 00:23:37 -04:00 committed by GitHub
parent 94cbcdefbf
commit ccf39c0f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@ def configure(advanced):
from supybot.questions import expect, anything, something, yn
conf.registerPlugin('ASCII', True)
ASCII = conf.registerPlugin('ASCII')
Advice = conf.registerPlugin('ASCII')
conf.registerGlobalValue(ASCII, 'pasteAPI',
registry.String('', _("""Paste.ee API Key""")))
conf.registerChannelValue(ASCII, 'pasteEnable',
registry.Boolean(False, _("""Turns on and off paste.ee support""")))