mirror of https://gitlab.com/gpvkt/twitchtts.git
Return early after !ping
This commit is contained in:
parent
776570dbbb
commit
89ee9374fe
2
tts.py
2
tts.py
|
@ -174,6 +174,8 @@ class IRC:
|
||||||
logging.debug('Ping check received.')
|
logging.debug('Ping check received.')
|
||||||
self.sendpriv(conf['IRC_CHANNEL'], "@"+str(user), "Pong!")
|
self.sendpriv(conf['IRC_CHANNEL'], "@"+str(user), "Pong!")
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
if msg.startswith('!ptts'):
|
if msg.startswith('!ptts'):
|
||||||
logging.debug("!ptts command detected")
|
logging.debug("!ptts command detected")
|
||||||
user = msg.replace('!ptts', '').strip().lower()
|
user = msg.replace('!ptts', '').strip().lower()
|
||||||
|
|
Loading…
Reference in New Issue