-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Describe the bug
The autrotrigger function does not mention a role when a new thread is created. The bot goes to mention the role however it errors out quoting that it is not a valid user or role in the thread. This issue occurred when only test47 was sent. No other longer sentences that included the word was used.
This bug also occurred with different roles and different methods of adding the word and mentioning the role.
Bot Info
Bot version (check with @modmail about
): 3.8.4
Host method (Heroku, self-host, etc): Ubuntu 20.04 VPS server
To Reproduce
Steps to reproduce the behavior:
- Who can reproduce (ex. anyone, owners)? owners
- Where can it be reproduced (ex. in thread channels, recipient DM's)? setup channels for the bot in the server
- Done what to cause the error? ?autotrigger add "test47" notify @ROLE then DM'd the bot quoting test47
- Any recently made changes to your bot? No
- Errored: @ROLE is not a valid user or role.
Error Logs
https://hastebin.cc/atesojovuz
Screenshots
https://cdn.discordapp.com/attachments/644307178915627009/815189661534126110/unknown.png
Additional context
The issue above was also trialled with a a role that does not include emotes or square brackets.