diff options
| author | 2018-10-12 18:07:23 +0100 | |
|---|---|---|
| committer | 2018-10-12 18:07:23 +0100 | |
| commit | 819f4e0680dc8225355924e87bc71938605b98f7 (patch) | |
| tree | 435f17eccda20a1723f51330ee0403668c76afcd /start.py | |
| parent | Add 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-x | start.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |
