Dhymbot
Dhymbot
DIAdiscord.js - Imagine an app
Created by Dhymbot on 7/4/2023 in #djs-questions
How to get Member Object with message
Im trying to get a member of the author's message but i cant find the way. What i want to do is check if member has a role, i delete the role from passing some time since i added it. But without the member object, i cannot check it. What is the way for getting it?
28 replies
DIAdiscord.js - Imagine an app
Created by Dhymbot on 6/15/2023 in #djs-questions
I don't know how Events works
So, i was trying to make events out of index and i don't know how to make them perfectlly, i tried using the info on docs, but it doesnt leave any error, just don't do anything.
51 replies
DIAdiscord.js - Imagine an app
Created by Dhymbot on 6/12/2023 in #djs-questions
I don't know how to make a conditional "if" in setTimeout() (related to roles)
Hi!!! So, i was trying to make a mute command, and the good thing is i was able to creating it. However, i use the function setTimeout() to create a cooldown when the role "MUTEADO" (muted) deletes automatically at a specific time. The problem is that if i make a conditional, checking if user has "MUTEADO" role, always says something is not a function, or similar. Ive tried so many things, so tell me any ideas to make the conditional on line 50 work fine. Thank you!
44 replies