]> jfr.im git - erebus.git/commitdiff
add msg(...) on Channel objects, passthru to Bot.msg()
authorzonidjan <redacted>
Sun, 6 Sep 2015 01:51:25 +0000 (20:51 -0500)
committerzonidjan <redacted>
Sun, 6 Sep 2015 01:51:25 +0000 (20:51 -0500)
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