forked from dymik739/modular-bot-framework-for-telegram
		
	qna-basic: changed syntax of not in (from a suggestion)
This commit is contained in:
		
							parent
							
								
									cf2223f40a
								
							
						
					
					
						commit
						6e544331a2
					
				@ -12,7 +12,7 @@ for file in os.listdir(self.path + "db/"):
 | 
			
		||||
        for wordset in criteria["trigger_lists"]:
 | 
			
		||||
            all_words_in = True
 | 
			
		||||
            for word in wordset:
 | 
			
		||||
                if not word in msg:
 | 
			
		||||
                if word not in msg:
 | 
			
		||||
                    all_words_in = False
 | 
			
		||||
                    break
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user