Skip to content

Conversation

@elct9620
Copy link

For my Discord Bot, I need to create an "application command" to allow a user to trigger the bot with /help and interact with it.

  • Add Client#application(id) to get application by id
  • Add Client#current_application to get application by @me shortcut (auto-replace id when use #commands)
  • Add Application#commands to get global application commands
  • Add ApplicationCommands#create(payload) to allow create new command
  • Add ApplicationCommand#update(payload) to allow update command itself
  • Add ApplicationCommand#delete to allow the delete command itself

Not sure which style is preferred, make a minimal workable implementation

Types of Changes

  • New feature.

Contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant