[Registering slash commands]

for now I register slash commands by the official guide from https://discordjs.guide/creating-your-bot/command-deployment.html#command-registration
and once I hit the rate limit per day(100 times), the whole rest day I couldn't test my new commands on that bot. I read discord.js website and found that put() refreshes all the commands every time. As now I have at least 10 commands and some times I'll adjust something like the options and .put() many times.
So, Is there any way to simply register only one command?
I can't find other functions to do registering
and I also found client.application.commands.create(), but if not necessary I don't want to do that (though it wont take much time, perhaps)
Imagine a guide... that explores the many possibilities for your discord.js bot.
Was this page helpful?