mirror of
				https://gitlab.com/gpvkt/twitchtts.git
				synced 2025-10-31 17:17:35 +01:00 
			
		
		
		
	Return early after !ping
This commit is contained in:
		
							parent
							
								
									776570dbbb
								
							
						
					
					
						commit
						89ee9374fe
					
				
					 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.') |                     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…
	
	Add table
		
		Reference in a new issue