]> jfr.im git - erebus.git/blobdiff - erebus.py
added control module, with !die, to stop bot
[erebus.git] / erebus.py
index 94e9c3ae99027573ffa77f0f4afc07f148ecc5a6..6bc5246f48aca235c3d27eacc4daeadd6541d729 100644 (file)
--- a/erebus.py
+++ b/erebus.py
@@ -3,8 +3,6 @@
 # Erebus IRC bot - Author: John Runyon
 # main startup code
 
-#TODO: tons
-
 import os, sys, select, MySQLdb, MySQLdb.cursors, time, random
 import bot, config, ctlmod
 
@@ -80,6 +78,9 @@ class Erebus(object):
                                        row = c.fetchone()
 
 
+               def msg(self, *args, **kwargs):
+                       self.bot.msg(self.name, *args, **kwargs)
+
                def levelof(self, auth):
                        if auth is None:
                                return 0