DasBot v0.1.1 DasBot.Slug.Common.CheckMentioned

A slug that checks if the bot has been mentioned.

Attaches the key :mentioned to the DasBot.Event’s metadata with the value true if the bot was mentioned in this message, and false if it was not.

Expects DasBot.Event to be a message, you may need to filter non-message events out of the pipeline before using this. See DasBot.Slug.Common.MessagesOnly.