diff options
| author | 2018-09-27 11:46:10 +0100 | |
|---|---|---|
| committer | 2018-09-27 11:46:10 +0100 | |
| commit | 8b0314b190b02f7e83fe0dae3c349ce4dffdcb4f (patch) | |
| tree | 2481de34452598ff3d3ca579612a0fdc0dc0edc5 /modules/modules.py | |
| parent | Implement @Utils.export, to denote an export on a module (diff) | |
| signature | ||
Use ModuleManager.BaseModule in more modules
Diffstat (limited to 'modules/modules.py')
| -rw-r--r-- | modules/modules.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/modules.py b/modules/modules.py index 533091aa..11a29f83 100644 --- a/modules/modules.py +++ b/modules/modules.py @@ -1,9 +1,6 @@ from src import ModuleManager, Utils -class Module(object): - def __init__(self, bot, events, exports): - self.bot = bot - +class Module(ModuleManager.BaseModule): @Utils.hook("received.command.loadmodule", min_args=1, permission="load-module", usage="<module-name>") def load(self, event): |
