Please describe the changes this PR makes and why it should be merged:
As i noticed we only have a script to remove slash commands that we deploy to guild and not global. so if someone want to revert back to v4 it would be confused for them as you can't remove global slash commands. in this PR it let all global slash commands delete without have to fetch all slash commands id one by one.
Status and versioning classification:
Bot version: v5
Code changes have been tested against the Discord API, or there are no code changes
I know how to update typings and have done so, or typings don't need updating
This PR changes the library's interface (methods or parameters added)
This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
Each file functions in deploy folder:
deployGlobal.js - let all slash commands deploy to every server
destroyGlobal.js - delete all global slash commands in every server
deployGuild.js - let the owner deploy slash commands to certain server
destroyGuild.js - let the owner delete slash commands in certain server
A changes has been made in package.json:
npm run deploy - deploy all slash to global
npm run destroy-global - delete all global slash
npm run guild - deploy slash to certain guild
npm run destroy-guild - delete slash in certain server
Please describe the changes this PR makes and why it should be merged: As i noticed we only have a script to remove slash commands that we deploy to guild and not global. so if someone want to revert back to v4 it would be confused for them as you can't remove global slash commands. in this PR it let all global slash commands delete without have to fetch all slash commands id one by one.
Status and versioning classification: Bot version: v5
Each file functions in deploy folder: deployGlobal.js - let all slash commands deploy to every server destroyGlobal.js - delete all global slash commands in every server deployGuild.js - let the owner deploy slash commands to certain server destroyGuild.js - let the owner delete slash commands in certain server
A changes has been made in package.json:
npm run deploy
- deploy all slash to globalnpm run destroy-global
- delete all global slashnpm run guild
- deploy slash to certain guildnpm run destroy-guild
- delete slash in certain server