From 819f4e0680dc8225355924e87bc71938605b98f7 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 12 Oct 2018 18:07:23 +0100 Subject: Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start.py') 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): -- cgit v1.3.1-10-gc9f91