diff --git a/plugins/MessageParser/config.py b/plugins/MessageParser/config.py index a3f020d83..0e496aee5 100644 --- a/plugins/MessageParser/config.py +++ b/plugins/MessageParser/config.py @@ -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',