mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 03:32:35 +01:00
Updated to the new registry dealio.
This commit is contained in:
parent
3f310efed7
commit
e7c019e59f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user