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):