Updated to the new registry dealio.

This commit is contained in:
Jeremy Fincher 2004-01-27 18:43:20 +00:00
parent 3f310efed7
commit e7c019e59f
1 changed files with 3 additions and 2 deletions

View File

@ -52,18 +52,19 @@ Add the module docstring here. This will be used by the setup.py script.
import plugins
import conf
import utils
import privmsgs
import callbacks
def configure(onStart, afterConnect, advanced):
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.
from questions import expect, anything, something, yn
onStart.append('load %s')
conf.registerPlugin(%r, True)
class %s(%s):