I believe most users of the framework would be surprised to know that their commands are matching all messages that contain the command string rather than just messages that explicitly mention the bot. All of the examples use very simple commands like "ping" and "hello" - if those were to be used in a real bot there would be many, many inadvertent matches and bot responses.
How are users expected to only execute commands for mentions? Mentions show up with the mention converted to bot ids:
<@MYBOTID> testing mentions
Should we add <@MYBOTID> to the front of all our command strings to ensure only mentions are considered commands?
I believe most users of the framework would be surprised to know that their commands are matching all messages that contain the command string rather than just messages that explicitly mention the bot. All of the examples use very simple commands like "ping" and "hello" - if those were to be used in a real bot there would be many, many inadvertent matches and bot responses.
How are users expected to only execute commands for mentions? Mentions show up with the mention converted to bot ids:
Should we add
<@MYBOTID>to the front of all our command strings to ensure only mentions are considered commands?