Removing color coding. fix it stal!
This commit is contained in:
parent
d82c18ffda
commit
f4d78f15e5
1 changed files with 0 additions and 4 deletions
|
@ -147,8 +147,6 @@ class SyncBot(Tox):
|
||||||
def on_group_message(self, groupnumber, friendgroupnumber, message):
|
def on_group_message(self, groupnumber, friendgroupnumber, message):
|
||||||
if message != self.sent:
|
if message != self.sent:
|
||||||
name = self.group_peername(groupnumber, friendgroupnumber)
|
name = self.group_peername(groupnumber, friendgroupnumber)
|
||||||
if message.startswith('>'):
|
|
||||||
message = ('\x039%s\x03' % message)
|
|
||||||
print('TOX> %s: %s' % (name, message))
|
print('TOX> %s: %s' % (name, message))
|
||||||
if message.startswith('^'):
|
if message.startswith('^'):
|
||||||
self.irc_send('PRIVMSG %s :%s\r\n' % (CHANNEL, message))
|
self.irc_send('PRIVMSG %s :%s\r\n' % (CHANNEL, message))
|
||||||
|
@ -159,8 +157,6 @@ class SyncBot(Tox):
|
||||||
def on_group_action(self, groupnumber, friendgroupnumber, action):
|
def on_group_action(self, groupnumber, friendgroupnumber, action):
|
||||||
if action != self.sent:
|
if action != self.sent:
|
||||||
name = self.group_peername(groupnumber, friendgroupnumber)
|
name = self.group_peername(groupnumber, friendgroupnumber)
|
||||||
if action.startswith('>'):
|
|
||||||
action = ('\x039%s\x03' % action)
|
|
||||||
print('TOX> %s: %s' % (name, action))
|
print('TOX> %s: %s' % (name, action))
|
||||||
self.irc_send('PRIVMSG %s :\x01ACTION [%s]: %s\x01\r\n' %
|
self.irc_send('PRIVMSG %s :\x01ACTION [%s]: %s\x01\r\n' %
|
||||||
(CHANNEL, name, action))
|
(CHANNEL, name, action))
|
||||||
|
|
Loading…
Reference in a new issue