Kirito.
DIAdiscord.js - Imagine a bot
•Created by Kirito. on 9/26/2023 in #djs-questions
Creation of a channel and adds a role to this channel
Hello!
Sometimes, not always, when my bot creates a new channel for a ticket system, it doesn't add the role configured in my ticket system, but in the audit logs, it appears.
Do you have any idea why ?
Thank you
13 replies
DIAdiscord.js - Imagine a bot
•Created by Kirito. on 5/16/2023 in #djs-questions
AutoModerationRules : mentionRaidProtectionEnabled
Hello !
I'm creating automod rules, and for the mention spam I saw on discord the option to enable or not the mention raid detection.
I searched on the documentation and I found
mentionRaidProtectionEnabled
option.
Here is how I use it :
But my problem is that the option does nothing. When I make a console.log of the rule created the mentionRaidProtectionEnabled
option does not appear.
I have enabled it manually on discord and when I fetched the rule, the option does not appear too.
Someone can help me ?
Thank you
Edit : I found it was because I haven't the last version2 replies
DIAdiscord.js - Imagine a bot
•Created by Kirito. on 2/1/2023 in #djs-questions
Cache after restart
8 replies
DIAdiscord.js - Imagine a bot
•Created by Kirito. on 9/2/2022 in #djs-questions
Collector componentType
4 replies