How to make a slash command that disable/enables other slash commands?

Node -v 18.16.0 Discordjs v14.11.0
2 Replies
d.js toolkit
d.js toolkit17mo ago
- 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!
edocsil
edocsil17mo ago
For what purpose? You can add and delete commands but you really shouldn't be doing that frequently. Command availability is better managed by server moderators through the server settings, and you can set default permissions for them to use as a starting point
Want results from more Discord servers?
Add your server