Fix sync method

master
Nikola Forró 7 years ago
parent 51f5300be3
commit 3e23b2d65c

@ -197,7 +197,7 @@ class TwitchBot(irc.bot.SingleServerIRCBot):
for pattern, action in self.patterns: for pattern, action in self.patterns:
m = pattern.match(message) m = pattern.match(message)
if m: if m:
action(connection, None, **m.groupdict()) action(None, None, **m.groupdict())
respond('@{0}: sync completed'.format(tags['display-name'])) respond('@{0}: sync completed'.format(tags['display-name']))
def query_youtube(self, tags, respond, query, **kwargs): def query_youtube(self, tags, respond, query, **kwargs):

Loading…
Cancel
Save