Also send id to tox.

This commit is contained in:
AZ Huang 2014-02-20 18:56:48 +08:00
parent f4d78f15e5
commit cb691413de

View file

@ -99,6 +99,8 @@ class SyncBot(Tox):
content == '^echobot':
self.irc_send('PRIVMSG %s :%s\r\n' %
(CHANNEL, self.get_address()))
self.ensure_exe(self.group_message_send,
(self.tox_group_id, self.get_address()))
elif content[1:].startswith('ACTION '):
action = '[%s]: %s' % (rx.group(1),
rx.group(2)[8:-1])