diff options
| author | 2018-09-19 13:28:18 +0100 | |
|---|---|---|
| committer | 2018-09-19 13:28:18 +0100 | |
| commit | 287d0312817f9668041c0192fa0c1985b7b10605 (patch) | |
| tree | 958fe31ebdac4029987ee070fc3250acc3d74044 /ModuleManager.py | |
| parent | Refactor everything to use delimited events (diff) | |
| signature | ||
Add ModuleManager.BaseModule so modules don't *have* to implement __init__
Diffstat (limited to 'ModuleManager.py')
| -rw-r--r-- | ModuleManager.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ModuleManager.py b/ModuleManager.py index 29248a36..1ecb1f7a 100644 --- a/ModuleManager.py +++ b/ModuleManager.py @@ -2,6 +2,10 @@ import glob, imp, inspect, os, sys, uuid BITBOT_HOOKS_MAGIC = "__bitbot_hooks" +class BaseModule(object): + def __init__(self, bot, events, exports): + pass + class ModuleManager(object): def __init__(self, bot, events, exports, directory="modules"): self.bot = bot |
