bahaidev / bahaibot

A Bahá'í bot for Discord. QnA chatbot functionality, scripture reader, and integration with Bahaipedia.
2 stars 0 forks source link

Bot should not respond to @everyone/role mentions #8

Open dragfyre opened 3 years ago

dragfyre commented 3 years ago

Right now, the bot doesn't discriminate between user mentions and @everyone: image

So, when it gets mentioned with @everyone, it treats it as text to send to dialogflow. Presumably, the same might happen with a role mention. The bot should not respond to these kinds of mentions, because a) potential spam issues (we don't want the bot to get banned); and b) wasted calls to the AI.