Anyone can help me to fix old code ?
Hi there! Actually i'm stuck on an old code.
Actually i try to fixed but i don't find alternative because ApplicationCommandPermissionData and GuildApplicationCommandPermissionData doesn't exist anymore. How fix this ?
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!How set permissions so?
Mmmmh okay i gonna check haha
Thx
SlashCommandBuilder#setDefaultMemberPermissions()
Sets the default permissions a member should have in order to run the command.