mirror of
https://gitlab.com/gpvkt/twitchtts.git
synced 2025-04-07 04:20:08 +02:00
Return early after !ping
This commit is contained in:
parent
172795fabe
commit
b952a498c1
1 changed files with 2 additions and 0 deletions
2
tts.py
2
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue