TheDiscordian / onebot

One bot to rule them all...
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

Extend Message interface with "Mentioned() bool" #30

Closed TheDiscordian closed 1 year ago

TheDiscordian commented 1 year ago

The Message interface should include Mentioned() bool this can be very useful for plugins which use Monitors. The method should return true if the bot was mentioned, and false otherwise (the definition of "mention" will vary from protocol to protocol).