From 0277a779c9dff841e04a08a5c39fe07faa92cfe8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 2 May 2010 20:28:17 +0200 Subject: Added modules --- modules/base.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/base.py (limited to 'modules/base.py') 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 -- cgit v1.2.3