Multi language Bot
Hey everyone,
I’m working on a Discord bot with multiple commands that supports multiple languages. Each server can set its own language, and I need to ensure that commands and other content are displayed in the correct language.
Currently, after every relevant action (e.g., an unban), I call deployCommands({ guildId }) to update the commands with the right translations.
My bot has multiple commands (unban is just an example).
Issue: deployCommands({ guildId }) is triggered every time an action happens → This leads to a lot of API requests, especially when the bot is on many servers.
Goal: I want to update commands less frequently while still ensuring they are in the correct language.
My questions:
Is there a more efficient way to handle language-dependent commands without redeploying after every action?
Has anyone worked with batching or delayed deployments for multilingual bots?
How can I make sure commands update when a language change happens, but without unnecessary redeployments?
I’d really appreciate any advice!

I’m working on a Discord bot with multiple commands that supports multiple languages. Each server can set its own language, and I need to ensure that commands and other content are displayed in the correct language.
Currently, after every relevant action (e.g., an unban), I call deployCommands({ guildId }) to update the commands with the right translations.
My questions:
I’d really appreciate any advice!