summaryrefslogtreecommitdiffstats
path: root/modules/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/__init__.py')
-rw-r--r--modules/__init__.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/__init__.py b/modules/__init__.py
index e69de29..49a460a 100644
--- a/modules/__init__.py
+++ b/modules/__init__.py
@@ -0,0 +1,21 @@
+class ModuleBase:
+ def __init__(self, manager):
+ self.manager = manager
+
+ def commands(self):
+ return []
+
+ def helptexts(self):
+ return []
+
+ def groupchat(self, room, nick, text, handler):
+ pass
+
+ def join(self, room, nick, show, status, handler):
+ pass
+
+ def leave(self, room, nick, show, status, handler):
+ pass
+
+ def topic(self, room, nick, text, handler):
+ pass