no longer respon on french dm
This commit is contained in:
		
							parent
							
								
									99243dba04
								
							
						
					
					
						commit
						ef0ace07b5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -30,7 +30,7 @@ func Matcher(update tgbotapi.Update, bot *tgbotapi.BotAPI) { | |||
| 	//balonlyl | ||||
| 	var isBalonlyl bool = false | ||||
| 	for _, word := range config.BotConfig.Balonlyl.TriggerWords { | ||||
| 		if strings.Contains(strings.ToLower(update.Message.Text), word) && (commonlogic.ContainsInt64(config.BotConfig.Balonlyl.EnabledChats, update.Message.Chat.ID) || update.Message.From.ID == update.Message.Chat.ID) { | ||||
| 		if strings.Contains(strings.ToLower(update.Message.Text), word) && (commonlogic.ContainsInt64(config.BotConfig.Balonlyl.EnabledChats, update.Message.Chat.ID)) { | ||||
| 			isBalonlyl = true | ||||
| 			break | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue