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
- 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!It's mainly to know but also for the commands that I don't want to make available in dm
SlashCommandBuilder#setDMPermission()
Sets if the command is available in DMs with the application, only for globally-scoped commands. By default, commands are visible.
Okok thx