Nͥeͣoͫʸᵒᵘʳ ᵃᵘⁿᵗʸ
Nͥeͣoͫʸᵒᵘʳ ᵃᵘⁿᵗʸ
DIAdiscord.js - Imagine an app
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
Just thought this to be the case from previous programming knowledge. Apologies for the incorrect response 🙏.
35 replies
DIAdiscord.js - Imagine an app
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
@SowerofSystems, I think the issue might be related to your filter. You're checking if the user's reaction matches one of two specific emojis by comparing the emoji.name property to an array of emoji characters. However, the emoji.name property isn't actually the Unicode character (that you have specified in the array) but rather the emojis literal name (:thumbsup: in this case) therefor doesn't match, causing the function to return false. Instead of using emoji.name you should be able to use emoji.toString() (I think) or just have the emoji's literal name in the array instead of the Unicode characters. Hope that makes sense. ^ Incorrect
35 replies
DIAdiscord.js - Imagine an app
Created by Anarchy on 8/19/2024 in #djs-questions
Questions about what is "spam" when it comes to messaging users with a bot
Agreed. I was just trying to be helpful by responding.
14 replies
DIAdiscord.js - Imagine an app
Created by Anarchy on 8/19/2024 in #djs-questions
Questions about what is "spam" when it comes to messaging users with a bot
As long as your not mass messaging people at once I dont think Discord will see it as an issue.
14 replies