set guild-only commands
is there any way to set some commands to be only available in certain guilds with IDs, and other commands get deployed globally?
9 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.guild.commands.set([ uniqueCommands ])
will this prevent them from showing up on other guilds tho?
yeah
thanks
so, just setting them on one guild will remove it from others too?
or do i have to remove them from client.commands.set
and move them in guild.commands.set
oooh, sooooo, the deploy-commands.js is actually same as guild.commands.set/create?
they're doing the same thing?
if yes i got it and ill handle this
create is only creating single command
yeah having in globall and guild will duplicate command
gotcha
thanks!