mirror of
				https://gitlab.com/gpvkt/twitchtts.git
				synced 2025-10-31 09:07:34 +01:00 
			
		
		
		
	Merge branch 'main' of gitlab.com:gpvkt/twitchtts
This commit is contained in:
		
						commit
						8a8272e2ba
					
				
					 2 changed files with 27 additions and 32 deletions
				
			
		|  | @ -1,6 +1,12 @@ | ||||||
| # Change Log | # Change Log | ||||||
| 
 | 
 | ||||||
| All notable changes to this project will be documented in this file. If there is a `Changed` section please read carefully, as this often means that you will need to adapt your `config.yml`, otherwise the bot might fail to start. | All notable changes to this project will be documented in this file. If there is a `Changed` section please read carefully, as this often means that you will need to adapt your `config.yml`. | ||||||
|  | 
 | ||||||
|  | ## [1.7.1] - 2022-10-02 | ||||||
|  | 
 | ||||||
|  | ### Fixed 1.7.1 | ||||||
|  | 
 | ||||||
|  | * Allow usage of `!sq` command when TTS is disabled | ||||||
| 
 | 
 | ||||||
| ## [1.7.0] - 2022-08-27 | ## [1.7.0] - 2022-08-27 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										11
									
								
								tts.py
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								tts.py
									
										
									
									
									
								
							|  | @ -764,17 +764,6 @@ class IRC: | ||||||
|         if not isinstance(quote, str): |         if not isinstance(quote, str): | ||||||
|             quote = quote.decode('utf-8') |             quote = quote.decode('utf-8') | ||||||
| 
 | 
 | ||||||
|         if IRC.check_tts_disabled(self, user): |  | ||||||
|             logging.info('TTS is disabled') |  | ||||||
|         elif IRC.check_user_denied(self, user): |  | ||||||
|             logging.info('User is not allowed to use TTS') |  | ||||||
|         elif IRC.check_subonly(self, tags): |  | ||||||
|             logging.info('TTS is sub-only') |  | ||||||
|         elif IRC.check_modonly(self, tags): |  | ||||||
|             logging.info('TTS is mod-only') |  | ||||||
|         elif IRC.check_whitelist(self, user): |  | ||||||
|             logging.info('User is not on whitelist') |  | ||||||
|         else: |  | ||||||
|         logging.info('Sending quote to TTS') |         logging.info('Sending quote to TTS') | ||||||
|         logging.debug("Quote: %s", quote) |         logging.debug("Quote: %s", quote) | ||||||
|         self.sendmsg( |         self.sendmsg( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue