]> jfr.im git - erebus.git/blobdiff - erebus.py
add msg(...) on Channel objects, passthru to Bot.msg()
[erebus.git] / erebus.py
index 94e9c3ae99027573ffa77f0f4afc07f148ecc5a6..2783bd5a32d4846cf64089203bb4122b8e623141 100644 (file)
--- a/erebus.py
+++ b/erebus.py
@@ -80,6 +80,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