Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webex_bot/webex_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def process_raw_command(self, raw_message, teams_message, user_email, activity,

if not is_card_callback_command and c.command_keyword:
log.debug(f"c.command_keyword: {c.command_keyword}")
if user_command.find(c.command_keyword) != -1:
if user_command.strip().split()[0].lower() == c.command_keyword.lower():
command = c
# If a command was found, stop looking for others
break
Expand Down