From 6bf83a474784f3607711cfbb5a6f2ce8318beffe Mon Sep 17 00:00:00 2001 From: diamondburned Date: Sun, 14 Aug 2022 21:48:37 -0700 Subject: [PATCH] discord: Document *TextInputComponent in Component, ContainerComponents --- discord/component.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/component.go b/discord/component.go index 743ebd9..85249dd 100644 --- a/discord/component.go +++ b/discord/component.go @@ -74,6 +74,7 @@ func (c *ContainerComponents) UnmarshalJSON(b []byte) error { // - *ActionRowComponent // - *ButtonComponent // - *SelectComponent +// - *TextInputComponent // type Component interface { // Type returns the type of the underlying component. @@ -89,6 +90,7 @@ type Component interface { // // - *ButtonComponent // - *SelectComponent +// - *TextInputComponent // type InteractiveComponent interface { Component