aboutsummaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index 3ca95d0..57f8b30 100644
--- a/helpers.py
+++ b/helpers.py
@@ -55,7 +55,7 @@ def is_replied_bot(message, is_channel, user_text, config=None):
if config:
if config.get("call") == "da":
mentions_bot = any(
- user_text.lower().startswith(call.lower()) for call in BOT_CALLS
+ user_text.lower().split(" ", 1)[0] == call for call in BOT_CALLS
)
for call in BOT_CALLS:
if call.startswith("@"):