branhoff / hooter-the-tutor

0 stars 2 forks source link

Fix: Hooter responding to @here and @everyone mentions #13

Open branhoff opened 1 month ago

branhoff commented 1 month ago

Fix: Hooter responding to @here and @everyone mentions

Description

Currently, Hooter the Tutor bot is responding to messages that include @here or @everyone mentions. This is unintended behavior as these mentions are not specifically directed at the bot. It can lead to unnecessary bot responses and potential spam in busy channels.

Current Behavior

Expected Behavior

Steps to Reproduce

  1. In any channel where Hooter is present, send a message with @here or @everyone.
  2. Observe that Hooter responds to the message.

Proposed Solution

Modify the message event handler to explicitly check for direct mentions of the bot, ignoring @here and @everyone mentions.

Tasks

Testing Plan

Definition of Done