This repository was archived by the owner on Aug 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -557,11 +557,11 @@ Represents a Modal Submit Interaction.
557
557
| ` .member ` | ` .followUp() ` |
558
558
| ` .memberPermissions ` | ` .update() ` |
559
559
| ` .locale ` | ` .isFromMessage() ` |
560
- | ` .guildLocale ` | ` .isRepliable() ` |
561
- | ` .message ` | |
562
- | ` .version ` | |
563
- | ` .webhook ` | |
564
- | ` .type ` | |
560
+ | ` .guildLocale ` | ` .isRepliable() ` |
561
+ | ` .message ` | |
562
+ | ` .version ` | |
563
+ | ` .webhook ` | |
564
+ | ` .type ` | |
565
565
566
566
### Properties
567
567
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import {
19
19
MessagePayload ,
20
20
InteractionReplyOptions ,
21
21
InteractionDeferReplyOptions ,
22
+ InteractionEditReplyOptions ,
22
23
InteractionUpdateOptions ,
23
24
} from 'discord.js' ;
24
25
@@ -176,6 +177,10 @@ export class ModalActionRow {
176
177
export class ModalSubmitInteraction extends Interaction {
177
178
constructor ( client ?: Client , data ?: APIModalSubmitInteraction ) ;
178
179
180
+ components : ModalActionRow [ ] ;
181
+ guildId : Snowflake ;
182
+ version : string ;
183
+ type : InteractionTypes ;
179
184
customId : string ;
180
185
fields : ModalSubmitField [ ] ;
181
186
selectMenus : ModalSubmitSelectMenu [ ] ;
@@ -206,6 +211,7 @@ export class ModalSubmitInteraction extends Interaction {
206
211
reply (
207
212
options : string | MessagePayload | InteractionReplyOptions
208
213
) : Promise < void > ;
214
+ editReply ( options : string | MessagePayload | InteractionEditReplyOptions ) : Promise < void > ;
209
215
fetchReply ( ) : Promise < Message > ;
210
216
deleteReply ( ) : Promise < void > ;
211
217
followUp (
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ class ModalSubmitInteraction extends Interaction {
83
83
84
84
/**
85
85
* The Action Rows of the modal with the Text Input Components.
86
+ * @type {Array<ModalActionRow> }
86
87
*/
87
88
88
89
this . components = data . data . components ?. map (
You can’t perform that action at this time.
0 commit comments