rickstaa / warnings-discord-bot

A Go-based Discord bot that monitors chat messages for specified keywords and conditions, issuing automated warnings to maintain a respectful and safe chat environment
MIT License
1 stars 0 forks source link

When `external_link_required` is true it should not trigger on internal links #17

Closed rickstaa closed 10 months ago

rickstaa commented 11 months ago

Describe the Bug

When the external_link_required parameter is set to true, the bot incorrectly activates upon detecting internal links.

Steps to Reproduce

  1. Install the bot on your server.
  2. Configure permissions for desired channels.
  3. Post a message in these channels with the keyword ticket and an internal link.
  4. Observe an unwarranted warning issued by the bot.

Expected Behavior

The bot should remain inactive when encountering internal links if external_link_required is true.

Screenshots / Live Demo Link

No response

System Information

Additional Context

No response

rickstaa commented 10 months ago

Fixed in https://github.com/rickstaa/warnings-discord-bot/pull/24.