1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-04 04:42:48 +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
// - *ButtonComponent
// - *StringSelectComponent
// - *SelectComponent
// - *TextInputComponent
// - *UserSelectComponent
// - *RoleSelectComponent
@ -581,7 +581,7 @@ func (b *ButtonComponent) UnmarshalJSON(j []byte) error {
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.
type StringSelectComponent struct {
// 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
// similar to the custom ID. Max 100 characters.
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"`
// Emoji is the optional emoji object.
Emoji *ComponentEmoji `json:"emoji,omitempty"`

View file

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