Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Conversation

@YorkAARGH
Copy link
Member

Please describe the changes this PR makes and why it should be merged, as well as any and all proof of successful tests:

Added interactionCreate event.
Added ./base/slashCommand.js structure.
Added ./commands/deploy.js command, bot owner only, deploys both guild, and global slash commands.
Added ./slash/ping.js an example slash command.

Modified ./index.js to load slash commands.
Modified ./events/guildCreate.js to deploy guild commands, and added documentation.
Modified ./events/guildDelete.js with documentation.

Semantic versioning classification:

  • This PR changes the framework's interface (methods or parameters added)
  • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to README, etc.
Added `interactionCreate` event. Added `./base/slashCommand.js` structure. Added `./commands/deploy.js` command, bot owner only, deploys both guild, and global slash commands. Added `./slash/ping.js` an example slash command. Modified `./index.js` to load slash commands. Modified `./events/guildCreate.js` to deploy guild commands, and added documentation. Modified `./events/guildDelete.js` with documentation.
@YorkAARGH YorkAARGH added the guidebot-class The class version of guidebot label Jul 18, 2021
Corrected a mistake for the `guildOnly` flag, removed `defer()` from the example ping command, added the `guildOnly` boolean, and updated the eval error limit.
@YorkAARGH
Copy link
Member Author

Without the `defer()` for some reason the `createdTimestamp` does not exist.
Changed `eval` to log to console instead of trying to send an error message. Changed `help` to show the correct prefix at the top of the help command.
@YorkAARGH YorkAARGH merged commit 387e915 into class-v13-update Jul 24, 2021
@YorkAARGH YorkAARGH deleted the slash-patch branch July 24, 2021 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement guidebot-class The class version of guidebot

3 participants