create a loop to post the /cmd

Hi ! My question is about rate / action limits. I have a private bot, and when I want to add some /cmd I use applicationGuildCommands So, if I create a loop to post /cmd in every servers (when the bot will be public) is it possible that discord considers that the bot is making too many requests (one per server) and flags it? Thx!
4 Replies
d.js toolkit
d.js toolkit15mo 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!
LeWeeky
LeWeekyOP15mo ago
It's mainly to know but also for the commands that I don't want to make available in dm
d.js docs
d.js docs15mo ago
method SlashCommandBuilder#setDMPermission() Sets if the command is available in DMs with the application, only for globally-scoped commands. By default, commands are visible.
LeWeeky
LeWeekyOP15mo ago
Okok thx
Want results from more Discord servers?
Add your server