Skip to content

Commit 31dce6b

Browse files
committed
fix: requested changes
1 parent 42637b2 commit 31dce6b

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

deno/payloads/v10/_interactions/responses.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v10/channel.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v9/_interactions/responses.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v9/channel.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

payloads/v10/_interactions/responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ export interface APIModalInteractionResponseCallbackData {
143143
*
144144
* @remarks Using action rows inside modals is deprecated.
145145
*/
146-
components: APIActionRowComponent<APIComponentInModalActionRow>[] | APILabelComponent;
146+
components: (APIActionRowComponent<APIComponentInModalActionRow> | APILabelComponent)[];
147147
}

payloads/v10/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ export interface APIBaseTextInputComponent extends APIBaseComponent<ComponentTyp
20992099
/**
21002100
* Text Input is an interactive component that allows users to enter free-form text responses in modals. It supports both short, single-line inputs and longer, multi-line paragraph inputs.
21012101
*
2102-
* Text Inputs can only be used within modals and must be placed inside an Action Row.
2102+
* Text Inputs can only be used within modals and must be placed inside a Label.
21032103
*
21042104
* When defining a text input component, you can set attributes to customize the behavior and appearance of it. However, not all attributes will be returned in the text input interaction payload.
21052105
*

payloads/v9/_interactions/responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ export interface APIModalInteractionResponseCallbackData {
143143
*
144144
* @remarks Using action rows inside modals is deprecated.
145145
*/
146-
components: APIActionRowComponent<APIComponentInModalActionRow>[] | APILabelComponent;
146+
components: (APIActionRowComponent<APIComponentInModalActionRow> | APILabelComponent)[];
147147
}

payloads/v9/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ export interface APIBaseTextInputComponent extends APIBaseComponent<ComponentTyp
20982098
/**
20992099
* Text Input is an interactive component that allows users to enter free-form text responses in modals. It supports both short, single-line inputs and longer, multi-line paragraph inputs.
21002100
*
2101-
* Text Inputs can only be used within modals and must be placed inside an Action Row.
2101+
* Text Inputs can only be used within modals and must be placed inside a Label.
21022102
*
21032103
* When defining a text input component, you can set attributes to customize the behavior and appearance of it. However, not all attributes will be returned in the text input interaction payload.
21042104
*

0 commit comments

Comments
 (0)