This repository was archived by the owner on Aug 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ export class Modal {
109
109
110
110
setTitle ( title : string ) : Modal ;
111
111
setCustomId ( id : string ) : Modal ;
112
- addComponents ( component : TextInputComponent ) : Modal ;
113
- setComponents ( component : TextInputComponent ) : Modal ;
112
+ addComponents ( ... components : TextInputComponent ) : Modal ;
113
+ setComponents ( ... components : TextInputComponent ) : Modal ;
114
114
spliceComponents ( ) : Modal ;
115
115
toJSON ( ) : APIModalInteractionResponseCallbackData ;
116
116
}
@@ -164,7 +164,7 @@ export class ModalSubmitInteraction extends Interaction {
164
164
reply (
165
165
options : string | MessagePayload | InteractionReplyOptions
166
166
) : Promise < void > ;
167
- fetchReply ( ) : Promise < void > ;
167
+ fetchReply ( ) : Promise < Message > ;
168
168
deleteReply ( ) : Promise < void > ;
169
169
followUp (
170
170
options : string | MessagePayload | InteractionReplyOptions
@@ -180,7 +180,7 @@ export function showModal(
180
180
client : Client ;
181
181
interaction : Interaction ;
182
182
}
183
- ) : Modal ;
183
+ ) : Promise < Modal > ;
184
184
185
185
declare module "discord.js" {
186
186
interface Client {
You can’t perform that action at this time.
0 commit comments