summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-05-03 03:37:21 +0200
committerMatthias Schiffer <matthias@gamezock.de>2010-05-03 03:37:21 +0200
commit06e947d1a30abb9578ae820780471a3e9d7affac (patch)
tree8ec78194aa38d4ff6680032f573558ff6b0e418e /modules
parent323d31514f7e438df5883ad6cb9e17cce6a296b3 (diff)
downloadcurunir-06e947d1a30abb9578ae820780471a3e9d7affac.tar
curunir-06e947d1a30abb9578ae820780471a3e9d7affac.zip
Added credits
Diffstat (limited to 'modules')
-rw-r--r--modules/credits.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/credits.py b/modules/credits.py
new file mode 100644
index 0000000..2083105
--- /dev/null
+++ b/modules/credits.py
@@ -0,0 +1,20 @@
+from base import ModuleBase
+import re
+
+class Module(ModuleBase):
+ def __init__(self, manager):
+ ModuleBase.__init__(self, manager)
+
+ def commands(self):
+ return [('!credits', 'Wer hat\'s erfunden?')]
+
+ def groupchat(self, room, nick, text, handler):
+ if not re.match(r'!credits(?:\W|\Z)', text):
+ return
+
+ handler.reply(
+ '''Ich wurde von NeoRaider (matze) geschaffen,
+geschmiedet aus reinem Python und der Magie von PyXMPP.
+Nach langer Gefangenschaft in dunklen Verliesen aus fehlender
+Dokumentation kam ich an Licht, um dem C3HL zu dienen...'''
+ )