Open JSai23 opened 3 years ago
Happens due to allowed mentions
no i gave the bot full admin
its not doing any mentions
so in the second server it doesnt mention everyone even tho it has full permissions and is an admin I've tried with and without enhanced mention. Changed to code to not parse at all and nothing has fixed it everything else has worked well for me.
As Bsian stated it's because of allowedMentions
, a change made by discord to mention that will block everyone mention unless specified.
The bot blocks everyone mention to prevent abuse by default.
If you really need to be able to mention everyone, I can tell which line to change.
Also seeing your config, #17 will be solved by using the role ids and not the role name as stated in the issue.
yeah figured out number 17 please if u could tell me the line to change
ill be so grateful im trying to use this for moderating multiple servers from a centralized server and have modified it to fit my purposes this is the one thing I'm stuck with now.
one more update even with enhanced mention turned on no mentions are working
the bot is an admin in all servers and has all permissions
I'll need to do some testing for mentions and I'll probably patch that directly in this repo. I'll keep you in touch directly in this issue when it's solved.
Any updates on this. Thanks. Even if you just tell me which part is stopping the mentions I could fix it. I looked through the code couldn't figure out where.
haven't had the time to get around that.
It's due to the allowedMentions
property to pass around when executing a webhook (see here)
can you tell me which line of the code
update: i got the bot to tag everyone but it now sends the message twice once with the tag once as plain text something to do with the enhance mention function working on that now
update: for my purposes, i didn't need enhanced mention so I got rid of it since it was causing the double @everyone. For now its working for my purposes fully. I use it as a bot for common announcements and trading signals across a multitude of servers from a master server so.
thanks for the update. I'll still need to update the bot to make mentions work correctly out of the box so I'll let the issue open for now. Glad you managed to make it work like you expected!
NAB? I don't see how that would be helpful