aboutsummaryrefslogtreecommitdiff
path: root/modules/in.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/in.py')
-rw-r--r--modules/in.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/in.py b/modules/in.py
index 52363fec..36b84f28 100644
--- a/modules/in.py
+++ b/modules/in.py
@@ -1,13 +1,10 @@
import time
-from src import Utils
+from src import ModuleManager, Utils
SECONDS_MAX = Utils.SECONDS_WEEKS*8
SECONDS_MAX_DESCRIPTION = "8 weeks"
-class Module(object):
- def __init__(self, bot, events, exports):
- self.bot = bot
-
+class Module(ModuleManager.BaseModule):
@Utils.hook("received.command.in", min_args=2, usage="<time> <message>")
def in_command(self, event):
"""