From 3e23b2d65c65cc2a5b609d6d9fd1f815695b60d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 17 May 2018 09:23:20 +0200 Subject: [PATCH] Fix sync method --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index c6a6ec4..7c19556 100644 --- a/bot.py +++ b/bot.py @@ -197,7 +197,7 @@ class TwitchBot(irc.bot.SingleServerIRCBot): for pattern, action in self.patterns: m = pattern.match(message) if m: - action(connection, None, **m.groupdict()) + action(None, None, **m.groupdict()) respond('@{0}: sync completed'.format(tags['display-name'])) def query_youtube(self, tags, respond, query, **kwargs):