1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-12 08:25:10 +00:00

Compare commits

..

No commits in common. "ba9d20b34bcc0125f8bfd5025aa86b9fec93cffe" and "68c28777807ce8deb76fd2c36159ac07d102cf26" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View file

@ -250,7 +250,7 @@ func (c *ContainerComponents) UnmarshalJSON(b []byte) error {
// //
// - *ActionRowComponent // - *ActionRowComponent
// - *ButtonComponent // - *ButtonComponent
// - *StringSelectComponent // - *SelectComponent
// - *TextInputComponent // - *TextInputComponent
// - *UserSelectComponent // - *UserSelectComponent
// - *RoleSelectComponent // - *RoleSelectComponent
@ -581,7 +581,7 @@ func (b *ButtonComponent) UnmarshalJSON(j []byte) error {
return nil return nil
} }
// StringSelectComponent is a dropdown menu that may be added to an interaction // StringSelectComponent is a clickable button that may be added to an interaction
// response. // response.
type StringSelectComponent struct { type StringSelectComponent struct {
// Options are the choices in the select. // Options are the choices in the select.
@ -605,7 +605,7 @@ type SelectOption struct {
// Value is the internal value that is echoed back to the program. It's // Value is the internal value that is echoed back to the program. It's
// similar to the custom ID. Max 100 characters. // similar to the custom ID. Max 100 characters.
Value string `json:"value"` Value string `json:"value"`
// Description is the additional description of an option. Max 100 characters. // Description is the additional description of an option.
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
// Emoji is the optional emoji object. // Emoji is the optional emoji object.
Emoji *ComponentEmoji `json:"emoji,omitempty"` Emoji *ComponentEmoji `json:"emoji,omitempty"`

View file

@ -25,7 +25,7 @@ const (
IntentDirectMessages IntentDirectMessages
IntentDirectMessageReactions IntentDirectMessageReactions
IntentDirectMessageTyping IntentDirectMessageTyping
IntentMessageContent _
IntentGuildScheduledEvents IntentGuildScheduledEvents
) )