Also send id to tox.
This commit is contained in:
parent
f4d78f15e5
commit
cb691413de
@ -99,6 +99,8 @@ class SyncBot(Tox):
|
|||||||
content == '^echobot':
|
content == '^echobot':
|
||||||
self.irc_send('PRIVMSG %s :%s\r\n' %
|
self.irc_send('PRIVMSG %s :%s\r\n' %
|
||||||
(CHANNEL, self.get_address()))
|
(CHANNEL, self.get_address()))
|
||||||
|
self.ensure_exe(self.group_message_send,
|
||||||
|
(self.tox_group_id, self.get_address()))
|
||||||
elif content[1:].startswith('ACTION '):
|
elif content[1:].startswith('ACTION '):
|
||||||
action = '[%s]: %s' % (rx.group(1),
|
action = '[%s]: %s' % (rx.group(1),
|
||||||
rx.group(2)[8:-1])
|
rx.group(2)[8:-1])
|
||||||
|
Loading…
Reference in New Issue
Block a user