From c2657da48810f98ccf2af971e9c543ba0cc5969b Mon Sep 17 00:00:00 2001 From: hi117 Date: Wed, 15 Mar 2023 18:11:08 -0400 Subject: [PATCH] discord: Add limit for SelectOption.description (#388) --- discord/component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/component.go b/discord/component.go index f14096b..6c06945 100644 --- a/discord/component.go +++ b/discord/component.go @@ -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"`