Skip to content

Commands are handled even without slash-commands or mentions #28

Description

@seanhoughton

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions