diff options
| author | 2018-09-27 11:46:10 +0100 | |
|---|---|---|
| committer | 2018-09-27 11:46:10 +0100 | |
| commit | 8b0314b190b02f7e83fe0dae3c349ce4dffdcb4f (patch) | |
| tree | 2481de34452598ff3d3ca579612a0fdc0dc0edc5 /modules/stats.py | |
| parent | Implement @Utils.export, to denote an export on a module (diff) | |
| signature | ||
Use ModuleManager.BaseModule in more modules
Diffstat (limited to 'modules/stats.py')
| -rw-r--r-- | modules/stats.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/stats.py b/modules/stats.py index 927eedad..5cf78a54 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -1,10 +1,7 @@ import time -from src import Utils - -class Module(object): - def __init__(self, bot, events, exports): - self.bot = bot +from src import ModuleManager, Utils +class Module(ModuleManager.BaseModule): @Utils.hook("received.command.uptime") def uptime(self, event): """ |
