diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-05-09 21:49:15 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-05-09 21:49:15 +0200 |
commit | 1384d1976fa984b6b254c93677363f67944c0c7a (patch) | |
tree | 698faff3ef045df7f2a8e3bd75e6b1e04a397b28 /modules/__init__.py | |
parent | e5cd4bb20328110561ee9956f948b97c378cf671 (diff) | |
download | curunir-1384d1976fa984b6b254c93677363f67944c0c7a.tar curunir-1384d1976fa984b6b254c93677363f67944c0c7a.zip |
Made everything much more error resistant
Diffstat (limited to 'modules/__init__.py')
-rw-r--r-- | modules/__init__.py | 21 |
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 |