From 1384d1976fa984b6b254c93677363f67944c0c7a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 9 May 2010 21:49:15 +0200 Subject: Made everything much more error resistant --- modules/__init__.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'modules/__init__.py') 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 -- cgit v1.2.3