- 
                Notifications
    You must be signed in to change notification settings 
- Fork 416
Open
Labels
discussionM-T: An issue where more input is needed to reach a decisionM-T: An issue where more input is needed to reach a decisionenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitysemver:minor
Milestone
Description
Description
directMention() middleware matches only when a bot user is mentioned as the first person in a message. This is because the middleware was designed to be compatible with Hubot's robot.respond() functionality.
Also, Slapp (the ancestor of Bolt for JS) defines "direct mention" as being mentioned at the start of a message while "mention" means being mentioned anywhere in a message.
With full respect for the original meaning of "direct mention" in Slapp, I propose to add built-in mention() middleware to Bolt for JS. I'll be working on this sometime soon, but if anyone is interested in implementing this, any contribution is welcome!
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
rahulkeerthi, jcblw, satoshin21 and clintonb
Metadata
Metadata
Assignees
Labels
discussionM-T: An issue where more input is needed to reach a decisionM-T: An issue where more input is needed to reach a decisionenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitysemver:minor