Basically don't always sync application commands whenever the bot starts up. Instead the client should have a method syncCommands() which synchronizes the commands to the server. In addition a CLI argument can be added: --sync which tells the bot to sync with discord servers.
Basically don't always sync application commands whenever the bot starts up. Instead the client should have a method
syncCommands()
which synchronizes the commands to the server. In addition a CLI argument can be added:--sync
which tells the bot to sync with discord servers.