Added .botfight and .bothug

This commit is contained in:
mutantmonkey
2010-12-11 15:47:24 -05:00
parent f3c80c2ba7
commit fe4721bb99
3 changed files with 32 additions and 0 deletions

4
irc.py
View File

@@ -154,6 +154,10 @@ class Bot(asynchat.async_chat):
self.sending.release()
def action(self, recipient, text):
textu = unicode(chr(1) + "ACTION %s" % text)
return self.msg(recipient, textu)
def notice(self, dest, text):
self.write(('NOTICE', dest), text)