From f13e6782700ae9cd4330eab27ff7a5cd3fdaf24e Mon Sep 17 00:00:00 2001 From: Dmitry Cherkassov Date: Wed, 17 Dec 2014 11:17:29 +0000 Subject: [PATCH] Add tox_botname --- tox-irc-sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index ffc771a..9c386ec 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -63,6 +63,7 @@ class AV(ToxAV): sys.stdout.flush() self.send_video(idx, width, height, data) +bot_toxname = 'SyncBot' class SyncBot(Tox): def __init__(self): @@ -71,7 +72,7 @@ class SyncBot(Tox): self.av = AV(self, 10) self.connect() - self.set_name('bnwox-sync') + self.set_name(bot_toxname) self.set_status_message("Send me a message with the word 'invite'") print('ID: %s' % self.get_address())