mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-08 04:57:31 +00:00
discord: Add limit for SelectOption.description (#388)
This commit is contained in:
parent
68c2877780
commit
c2657da488
|
@ -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.
|
// Description is the additional description of an option. Max 100 characters.
|
||||||
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"`
|
||||||
|
|
Loading…
Reference in a new issue