ExBot v0.1.1 ExBot.Slug.Common.CheckMentioned
A slug that checks if the bot has been mentioned.
Attaches the key :mentioned
to the ExBot.Event
’s metadata with the value
true
if the bot was mentioned in this message, and false
if it was not.
Expects ExBot.Event
to be a message, you may need to filter non-message events
out of the pipeline before using this. See ExBot.Slug.Common.MessagesOnly
.