Frosty
DIAdiscord.js - Imagine an app
•Created by Frosty on 11/1/2023 in #djs-questions
Getting the executor from Audit Logs
Hello i have this code:
But the
userWhoDidIt
is undefined
33 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 8/24/2022 in #djs-questions
Image doesn't work in embed
Hello, i wanna make it so it puts one of the banners i have in kurtz-banners.json.
It should randomly choose 1 but it doesnt put any image.
When i specifically put one in there, then it works:
2 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 7/22/2022 in #djs-questions
Leaderboard problem
Hello i have this code:
It doesn't update the embed, it says that no member found on the consol, but people have the hat emoji in their name.
13 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 7/18/2022 in #djs-questions
Unbanning all members
Hello, i want my bot to unban all banned people from the server, how can i do it?
34 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 7/4/2022 in #djs-questions
Finding members with specific emoji in their name problem.
I have this kind of code i made:
But i get this:
TypeError: Cannot read properties of undefined (reading 'includes')
13 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 7/1/2022 in #djs-questions
TypeError Cannot read properties of undefined (reading 'permissions')
Hello, i have this piece of code and i get this error.
Code:
Error:
TypeError: Cannot read properties of undefined (reading 'permissions')
3 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 6/18/2022 in #djs-questions
Error
I get a error
TypeError: Cannot read properties of undefined (reading 'id')
52 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 6/18/2022 in #djs-questions
How do delete interaction message?
Hello. I have a command that when you run it, it will send a message with 2 buttons. When you press 1st button it will edit the message that works fine, but when you press the second button, it should delete the message & then send a new ephemeral message.
I use
interaction.message.delete()
but i get a error: TypeError: Cannot read properties of undefined (reading 'delete')
41 replies
DIAdiscord.js - Imagine an app
•Created by Frosty on 6/17/2022 in #djs-questions
Issue with reaction role with buttons.
Hello, i have my reaction button role system.
Whenever i press gray to get the gray color role, it should remove the aqua role if user has it.
So when i tested it, it gives the gray role but doesn't remove the aqua role that i also have.
Code: https://sourceb.in/OIix4x0cPY
I didn't get any errors.
13 replies