Inform about completed sync

master
Nikola Forró 7 years ago
parent e091ae5638
commit 98b7698718

@ -158,6 +158,8 @@ class TwitchBot(irc.bot.SingleServerIRCBot):
m = pattern.match(message) m = pattern.match(message)
if m: if m:
action(connection, None, **m.groupdict()) action(connection, None, **m.groupdict())
msg = '@{0}, sync completed'.format(tags['display-name'])
connection.privmsg(self.channel, msg)
def add_quote(self, connection, tags, user, id, text, game, date, **kwargs): def add_quote(self, connection, tags, user, id, text, game, date, **kwargs):
log.info('Adding quote %s: %s', id, text) log.info('Adding quote %s: %s', id, text)

Loading…
Cancel
Save