diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 20:28:17 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 20:31:34 +0200 |
commit | 0277a779c9dff841e04a08a5c39fe07faa92cfe8 (patch) | |
tree | 6a935f30a31a925c2c404dbbc119040b3b9e0acd /modules/base.py | |
parent | 41fec54c305d4a81245e9e294c7fc29fed9b7b00 (diff) | |
download | curunir-0277a779c9dff841e04a08a5c39fe07faa92cfe8.tar curunir-0277a779c9dff841e04a08a5c39fe07faa92cfe8.zip |
Added modules
Diffstat (limited to 'modules/base.py')
-rw-r--r-- | modules/base.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/base.py b/modules/base.py new file mode 100644 index 0000000..9d54c40 --- /dev/null +++ b/modules/base.py @@ -0,0 +1,12 @@ +class ModuleBase: + def __init__(self, manager): + self.manager = manager + + def commands(self): + return [] + + def message(self, message_type, message_from, message_subject, message_body, reply): + pass + + def groupchat(self, room, message_from, message_body, reply): + pass |