mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
MessageParser: fix missing configure() in config.py
This commit is contained in:
parent
2bcfd9e0e5
commit
7e1cd95f46
@ -41,6 +41,14 @@ except:
|
||||
_ = lambda x:x
|
||||
internationalizeDocstring = lambda x:x
|
||||
|
||||
def configure(advanced):
|
||||
# This will be called by supybot to configure this module. advanced is
|
||||
# a bool that specifies whether the user identified himself as an advanced
|
||||
# user or not. You should effect your configuration by manipulating the
|
||||
# registry as appropriate.
|
||||
from supybot.questions import expect, anything, something, yn
|
||||
conf.registerPlugin('MessageParser', True)
|
||||
|
||||
MessageParser = conf.registerPlugin('MessageParser')
|
||||
# This is where your configuration variables (if any) should go. For example:
|
||||
# conf.registerGlobalValue(MessageParser, 'someConfigVariableName',
|
||||
|
Loading…
Reference in New Issue
Block a user