aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-12 18:07:23 +0100
committerGravatar jesopo2018-10-12 18:07:23 +0100
commit819f4e0680dc8225355924e87bc71938605b98f7 (patch)
tree435f17eccda20a1723f51330ee0403668c76afcd /start.py
parentAdd TimersContext, to be able to purge timers when modules are unloaded (diff)
signature
Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.py b/start.py
index b7d7f2cb..17dec8d6 100755
--- a/start.py
+++ b/start.py
@@ -55,7 +55,7 @@ for server_id, alias in bot.database.servers.get_all():
if len(servers):
bot._events.on("boot.done").call()
- bot.timers.setup(bot.find_settings_prefix("timer-"))
+ timers.setup(bot.find_settings_prefix("timer-"))
for server in servers:
if not bot.connect(server):