Fixed match word condition

This commit is contained in:
2026-02-27 18:25:32 -05:00
parent 4012da20c3
commit 7095c60ebc
3 changed files with 22 additions and 0 deletions

4
bot.py
View File

@@ -44,6 +44,10 @@ class MatchWordCondition(MessageCondition):
if word == self.text:
return True
processed_condition = process_string(self.text, False, self.filter_case, self.filter_punctuation)
if processed_condition in processed:
return True
return False
class AndCondition(MessageCondition):