samhza
dc92845315
discord: move Interaction over; update api.CommandCreateData ( #274 )
...
- Moved gateway.InteractionCreateData to discord.Interaction, now
gateway.InteractionCreateData is a struct that wraps
discord.Interaction.
- Split InteractionData into CommandInteractionData and
ComponentInteractionData.
- Renamed ButtonInteraction to ComponentInteraction.
- Updated api.CommandCreateData to add new fields.
- Update Component types' Type() methods to pointer receivers.
2021-09-09 16:06:44 -07:00
Maximilian von Lindern
02712516e3
discord: Change type of SelectComponent.MinValues to option.Int
2021-08-30 13:23:43 -07:00
Maximilian von Lindern
2647267460
discord: Fix style issues ( #272 )
...
* Discord: Fix comment style issues
* Discord: use URL type alias for URls instead of string
2021-08-30 13:15:59 -07:00
starshines
f7880b91ee
discord: Add select component type ( #260 )
2021-08-10 14:02:30 -07:00
Samuel Hernandez
40e1a3757d
*: Migrated Go Modules to v3
2021-06-01 19:59:01 -07:00
diamondburned
b936d00ead
discord: Minor comment fixes for components
2021-05-29 21:32:38 -07:00
Scott
10c8837000
api: Finalized buttons implementation ( #200 )
...
* all: Added Components fields to message-related types
* discord: Documented Reactions field
* discord: Implement fix for Component
* gateway: Added User and Message fields to InteractionCreateEvent
* api: Made InteractionResponseData fields optional for UpdateMessage responses
* api: Deprecated and updated interaction response types
* gateway: Update optional interaction event fields
* discord: Added ComponentWrap for json unmarshalling
* state: Update components on MessageUpdate
* Updated buttons example
2021-05-29 21:32:33 -07:00
Chan Wen Xu
c880cb2fc8
interaction: Implement buttons
2021-05-29 14:16:44 -07:00