diff --git a/scripts/supybot-newplugin b/scripts/supybot-newplugin index 24207f92d..e230963b9 100755 --- a/scripts/supybot-newplugin +++ b/scripts/supybot-newplugin @@ -58,11 +58,11 @@ import privmsgs import callbacks -def configure(onStart): - # This will be called by setup.py to configure this module. onStart and - # afterConnect are both lists. Append to onStart the commands you would - # like to be run when the bot is started; append to afterConnect the - # commands you would like to be run when the bot has finished connecting. +def configure(advanced): + # This will be called by setup.py 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 questions import expect, anything, something, yn conf.registerPlugin(%r, True)