I want to make a system about module command
I'm stuck right now, I only want 3 commands to be able to deploy globally, and in that there is 1 command to edit the modules, which will contain the commands. What I want to do is that the command to edit the module can automatically register a separate slash for that server. Can you help me?
Solution:Jump to solution
1. Use the discord.js methods for registering it, see https://discordjs.guide/creating-your-bot/command-deployment.html
2. Use https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/advanced/routing-existing-application-commands-to-a-command to bind it to a sapphire command...
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
1 Reply
Solution
1. Use the discord.js methods for registering it, see https://discordjs.guide/creating-your-bot/command-deployment.html
2. Use https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/advanced/routing-existing-application-commands-to-a-command to bind it to a sapphire command
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.