rickstaa/warnings-discord-bot

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

Closed this issue · 1 comments

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

  • Execution Environment: Docker
  • Operating System: Ubuntu 22.04
  • Bot Version: v1.1.1

Additional Context

No response

Fixed in #24.