jesopo
|
3028759c86
|
use get_list and set_list to move dynamic module en/disabling to bot.conf
|
2019-12-07 11:07:43 +00:00 |
|
jesopo
|
a9111c7241
|
add ModuleManager.try_reload_modules(), to try reloading in a transaction
if any of the modules fails to reload, rollback and use the already loaded modules. closes #179
|
2019-10-14 12:56:04 +01:00 |
|
jesopo
|
70839e66ba
|
Catch a module not being "found" in modules.py
|
2019-06-19 23:11:56 +01:00 |
|
jesopo
|
e483d4574b
|
'bot' -> 'self.bot'
|
2019-05-27 17:04:21 +01:00 |
|
jesopo
|
86d46c9917
|
re-add _reload function
|
2019-05-27 16:55:02 +01:00 |
|
jesopo
|
7b6905454f
|
Don't include module-unload numbers in "success" numbers
|
2019-05-27 16:54:44 +01:00 |
|
jesopo
|
850ddd0ab4
|
Use self.bot.load_modules in modules.py
|
2019-05-27 15:47:47 +01:00 |
|
jesopo
|
5b90a1a1d4
|
ModuleManager's load_module function now takes a ModuleDefinition
|
2019-05-27 14:57:16 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
30b7c2419d
|
Actually save blacklist setting when reenabling a module
|
2019-05-25 12:36:07 +01:00 |
|
jesopo
|
92f255e9be
|
typo in modules.py, '_reload' -> 'self._reload'
|
2018-12-02 09:19:03 +00:00 |
|
jesopo
|
389366ce5d
|
Take a name param in modules.py._catch
|
2018-12-02 09:18:24 +00:00 |
|
jesopo
|
da81b20c01
|
Correctly return errors for load/unload, not just reload (modules.py)
|
2018-12-02 09:16:17 +00:00 |
|
jesopo
|
773d11f6cb
|
Change all instances of stdout.write+return to raise utils.EventError in
modules
|
2018-10-16 15:09:58 +01:00 |
|
jesopo
|
d89c984d95
|
'ModuleWarning' -> 'ModuleManager.ModuleWarning' in modules/modules.py
|
2018-10-04 10:18:17 +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
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|
jesopo
|
7c7e5553d1
|
Update ModuleManager.load_module calls in modules.py
|
2018-09-29 09:23:57 +01:00 |
|
jesopo
|
8b0314b190
|
Use ModuleManager.BaseModule in more modules
|
2018-09-27 11:46:10 +01:00 |
|
jesopo
|
51a52e2b0e
|
Switch to using @Utils.hook and docstrings for event hooks
|
2018-09-26 18:27:17 +01:00 |
|
jesopo
|
c3e8e234eb
|
Typo, 'e' -> 'warning'
|
2018-09-25 11:02:31 +01:00 |
|
jesopo
|
67edca067c
|
Be more verbose about reloading modules in modules.py
|
2018-09-24 16:15:44 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|
jesopo
|
967ed65e00
|
Actually implement !reloadallmodules in modules.py
|
2018-09-24 13:18:15 +01:00 |
|
jesopo
|
b7f7c9342b
|
Better communicate issues with load/unload/reload of modules
|
2018-09-24 13:10:39 +01:00 |
|
dngfx
|
1d3f05a8fe
|
Add .reloadallmodules, and fix permissions.
|
2018-09-23 11:01:24 +01:00 |
|
jesopo
|
1eed727bc5
|
Add !enablemodule and !disablemodule to modules.py
|
2018-09-13 13:35:05 +01:00 |
|
jesopo
|
8c6ab17e57
|
give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
|
2018-09-02 19:54:45 +01:00 |
|
jesopo
|
29609fffd7
|
Added functionality to load, unload and reload modules from a command!
|
2018-09-01 11:29:26 +01:00 |
|