KnightHacks / scythe

A Command-Driven Discord.js Addon
MIT License
3 stars 3 forks source link

Sync Discord Commands On-Demand #15

Closed suneettipirneni closed 3 years ago

suneettipirneni commented 3 years ago

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.