summaryrefslogtreecommitdiffstats
path: root/modules/base.py
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-05-02 23:40:21 +0200
committerMatthias Schiffer <matthias@gamezock.de>2010-05-02 23:40:21 +0200
commit323d31514f7e438df5883ad6cb9e17cce6a296b3 (patch)
tree2efeb977154ca92b0c8a39fe958e91166aca68df /modules/base.py
parent88a78fa5d77a3db1024375fe4c0b654038604edb (diff)
downloadcurunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.tar
curunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.zip
Added topic module
Diffstat (limited to 'modules/base.py')
-rw-r--r--modules/base.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/base.py b/modules/base.py
index 9d54c40..b839e9b 100644
--- a/modules/base.py
+++ b/modules/base.py
@@ -5,8 +5,20 @@ class ModuleBase:
def commands(self):
return []
+ def helptexts(self):
+ return []
+
def message(self, message_type, message_from, message_subject, message_body, reply):
pass
- def groupchat(self, room, message_from, message_body, reply):
+ 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