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