diff --git a/tts.py b/tts.py index 8ab5412..ceccd82 100644 --- a/tts.py +++ b/tts.py @@ -174,6 +174,8 @@ class IRC: logging.debug('Ping check received.') self.sendpriv(conf['IRC_CHANNEL'], "@"+str(user), "Pong!") + return True + if msg.startswith('!ptts'): logging.debug("!ptts command detected") user = msg.replace('!ptts', '').strip().lower()