From 5c906153e9c211912912e6244a6e2973a8e46bbb Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Wed, 11 Dec 2013 23:54:18 +0800 Subject: [PATCH] Add invite message. --- tox-irc-sync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index 672702d..ebb578f 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -128,6 +128,7 @@ class SyncBot(Tox): def on_friend_message(self, friendid, message): if message == 'invite': + print('Inviting %s' % self.get_name(friendid)) self.invite_friend(friendid, self.tox_group_id) t = SyncBot()