Describe the bug
When a user tries to post a Discord promo link (https://promos.discord.gg/7ASKkGRnEYmdjxEpAyjGEJNg for example), the bot treats this as a server invite and actions/rules on the user tied to discord.gg in general.
To Reproduce
Steps to reproduce the behavior:
Issue command 'N/A'
Do this 'Setup and configure the invite filter module and/or create a rule that uses the condition message-contains-invite: true targeting the test rank'
Do that 'Post the aforementioned link into chat'
See error
Expected behavior
It should ignore and treat it as a regular URL. You can workaround by ignoring it using the warden - if-not: condition in conjunction with a match for promo in an invite. However, this does not stop Invite Filter from performing invite behavior unless you fork and program this behavior in.
Screenshots
If applicable, add screenshots to help explain your problem.
Cog
Describe the bug When a user tries to post a Discord promo link (https://promos.discord.gg/7ASKkGRnEYmdjxEpAyjGEJNg for example), the bot treats this as a server invite and actions/rules on the user tied to discord.gg in general.
To Reproduce Steps to reproduce the behavior:
message-contains-invite: true
targeting the test rank'Expected behavior It should ignore and treat it as a regular URL. You can workaround by ignoring it using the warden
- if-not:
condition in conjunction with a match for promo in an invite. However, this does not stop Invite Filter from performing invite behavior unless you fork and program this behavior in.Screenshots If applicable, add screenshots to help explain your problem.