diff options
| author | 2018-09-27 11:46:10 +0100 | |
|---|---|---|
| committer | 2018-09-27 11:46:10 +0100 | |
| commit | 8b0314b190b02f7e83fe0dae3c349ce4dffdcb4f (patch) | |
| tree | 2481de34452598ff3d3ca579612a0fdc0dc0edc5 /modules/print_activity.py | |
| parent | Implement @Utils.export, to denote an export on a module (diff) | |
| signature | ||
Use ModuleManager.BaseModule in more modules
Diffstat (limited to 'modules/print_activity.py')
| -rw-r--r-- | modules/print_activity.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index 12e43a8b..1f113979 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -1,10 +1,7 @@ import datetime -from src import EventManager, Utils - -class Module(object): - def __init__(self, bot, events, exports): - self.bot = bot +from src import EventManager, ModuleManager, Utils +class Module(ModuleManager.BaseModule): def print_line(self, event, line, channel=None): timestamp = datetime.datetime.now().isoformat() target = str(event["server"]) |
