Fixed responding to the same message multiple times when one message handler has multiple successful triggers

This commit is contained in:
2025-12-04 01:03:58 -05:00
parent 640479569a
commit d1a434ce2b
2 changed files with 19 additions and 0 deletions

1
bot.py
View File

@@ -101,6 +101,7 @@ class MessageHandler:
for response in self.responses:
response.respond(message)
handled = True
break
return handled