From 323d31514f7e438df5883ad6cb9e17cce6a296b3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 2 May 2010 23:40:21 +0200 Subject: Added topic module --- modules/base.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'modules/base.py') 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 -- cgit v1.2.3