jesopo
|
819f4e0680
|
Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load
|
2018-10-12 18:07:23 +01:00 |
|
jesopo
|
cb94fa9ae4
|
Add TimersContext, to be able to purge timers when modules are unloaded
|
2018-10-12 17:54:15 +01:00 |
|
jesopo
|
c0fbe963a5
|
Try calling module.unload() (if it exists) when unloading a module
|
2018-10-04 14:45:32 +01:00 |
|
jesopo
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
416d744291
|
Log remaining referrers to a module when it's unloaded
|
2018-09-30 20:12:28 +01:00 |
|
jesopo
|
0f7a122a84
|
Move hashflag parsing to Utils.get_hashflags
|
2018-09-29 09:23:40 +01:00 |
|
jesopo
|
a8bf3c9300
|
Remove cyclical references to IRCBot
|
2018-09-28 16:51:36 +01:00 |
|
jesopo
|
5674dc4a82
|
Open module files explicitly as utf8 in ModuleManager
|
2018-09-27 12:35:09 +01:00 |
|
jesopo
|
8b0314b190
|
Use ModuleManager.BaseModule in more modules
|
2018-09-27 11:46:10 +01:00 |
|
jesopo
|
f3d98d0e95
|
Implement @Utils.export, to denote an export on a module
|
2018-09-27 11:45:23 +01:00 |
|
jesopo
|
ebc77fa501
|
Support using docstrings as command help
|
2018-09-26 15:58:16 +01:00 |
|
jesopo
|
b775f39d2b
|
Add missing format args in ModuleManager exceptions
|
2018-09-26 11:20:18 +01:00 |
|
jesopo
|
39c4ef1749
|
Don't use assert, throw a better exception for module name collisions
|
2018-09-26 11:19:48 +01:00 |
|
jesopo
|
a0b39043c0
|
Use 'bitbot_%s' import name format when unloading a module
|
2018-09-24 16:20:58 +01:00 |
|
jesopo
|
301a973aad
|
Import modules internally as 'bitbot_%s' to avoid name collisions (e.g.
'telegram')
|
2018-09-24 16:15:17 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|