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 @@ -107,8 +107,8 @@ export class Modal {
107
107
108
108
setTitle ( title : string ) : Modal ;
109
109
setCustomId ( id : string ) : Modal ;
110
- addComponents ( component : TextInputComponent ) : Modal ;
111
- setComponents ( component : TextInputComponent ) : Modal ;
110
+ addComponents ( ... components : TextInputComponent ) : Modal ;
111
+ setComponents ( ... components : TextInputComponent ) : Modal ;
112
112
spliceComponents ( ) : Modal ;
113
113
toJSON ( ) : APIModalInteractionResponseCallbackData ;
114
114
}
@@ -151,7 +151,7 @@ export class ModalSubmitInteraction extends Interaction {
151
151
reply (
152
152
options : string | MessagePayload | InteractionReplyOptions
153
153
) : Promise < void > ;
154
- fetchReply ( ) : Promise < void > ;
154
+ fetchReply ( ) : Promise < Message > ;
155
155
deleteReply ( ) : Promise < void > ;
156
156
followUp (
157
157
options : string | MessagePayload | InteractionReplyOptions
@@ -164,7 +164,7 @@ export function showModal(
164
164
client : Client ;
165
165
interaction : Interaction ;
166
166
}
167
- ) : Modal ;
167
+ ) : Promise < Modal > ;
168
168
169
169
declare module "discord.js" {
170
170
interface Client {
You can’t perform that action at this time.
0 commit comments