Update slash commands
How can one update both guild and public commands without deleting them? (if guild commands are updated first, public commands will delete them)
6 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.version: 14.0.3, node 18.8.0
i currently have 2 commandhandlers, one of private, one for public commands. They always overwrite eachother, and i dont really know how i would fix it
u cant disable global commands per one guild
as i understood
ah, so thats the way to do it?
sorry if this is a silly question, i'm new to slash commands
can u explain what u mean?
is there no other to do it than that? because if i'd wanted to like update commands for one guild it'd remove all my global commands, or vice versa, if i want to update global commands, it removes my guild commands. And would it then be done with .setDMpermission? because as far as i can see that's for global commands