1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-02 20:02:53 +00:00

Compare commits

...

4 commits

2 changed files with 4 additions and 4 deletions

View file

@ -250,7 +250,7 @@ func (c *ContainerComponents) UnmarshalJSON(b []byte) error {
//
// - *ActionRowComponent
// - *ButtonComponent
// - *SelectComponent
// - *StringSelectComponent
// - *TextInputComponent
// - *UserSelectComponent
// - *RoleSelectComponent
@ -581,7 +581,7 @@ func (b *ButtonComponent) UnmarshalJSON(j []byte) error {
return nil
}
// StringSelectComponent is a clickable button that may be added to an interaction
// StringSelectComponent is a dropdown menu 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.
// Description is the additional description of an option. Max 100 characters.
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
)