diamondburned
|
80b1dc3831
|
discord: Refactor interaction commands and components
This commit is an amalgamation of the following local commits:
- Fix UnknownCommandOption unmarshaling
- Add missing ButtonComponent.UnmarshalJSON
- Fix ButtonComponents Style unmarshaling
- Remove debug logging
- SelectComponent.ComponentEmoji
- Fix incorrect CommandOption interface
- Switch to pointer types for interfaces
- Remove CommandOptionMeta
- Less verbose CommandOption type names
- Fix unused CommandInteractionOption
- Remove ComponentInteractionData
|
2021-11-09 13:09:22 -08:00 |
|
samhza
|
bfb644c124
|
api: Add CurrentApplication (#282)
* discord/api: support fetching bot's Application
* Update api/application.go
Co-authored-by: diamondburned <diamond@arikawa-hi.me>
Co-authored-by: diamondburned <diamond@arikawa-hi.me>
|
2021-10-03 13:31:48 -07:00 |
|
Maximilian von Lindern
|
955bb2aad2
|
api: Make some InteractionResponseData fields nullable (#256)
* api: make InteractionResponseData.Content, .Embeds, and .Components nullable
* Fix examples
* Remove test code
* fix commands example
|
2021-08-08 13:20:54 -07:00 |
|
Maximilian von Lindern
|
101fe46313
|
api: Add missing slash command endpoints (#252)
* api: add missing slash command endpoints
* fix examples
* api: Remove Original prefix from Client.OriginalInteractionResponse,
EditOriginalResponse, and DeleteOriginalResponse
|
2021-08-03 11:44:20 -07:00 |
|
diamondburned
|
5b328bdab0
|
shard: Remake shard manager (#226)
|
2021-06-14 15:22:55 -07:00 |
|
Samuel Hernandez
|
40e1a3757d
|
*: Migrated Go Modules to v3
|
2021-06-01 19:59:01 -07:00 |
|
Matthew Penner
|
7c3374543e
|
Discord: Add basic support for slash commands
|
2021-01-27 10:44:14 -08:00 |
|