mirror of
https://github.com/discordjs/discord.js.git
synced 2026-09-18 17:27:29 +00:00
types(CommandInteraction): add awaitModalSubmit (#7811)
This commit is contained in:
+3
@@ -440,6 +440,9 @@ export abstract class CommandInteraction<Cached extends CacheType = CacheType> e
|
||||
public showModal(
|
||||
modal: JSONEncodable<APIModalInteractionResponseCallbackData> | ModalData | APIModalInteractionResponseCallbackData,
|
||||
): Promise<void>;
|
||||
public awaitModalSubmit(
|
||||
options: AwaitModalSubmitOptions<ModalSubmitInteraction>,
|
||||
): Promise<ModalSubmitInteraction<Cached>>;
|
||||
private transformOption(
|
||||
option: APIApplicationCommandOption,
|
||||
resolved: APIApplicationCommandInteractionData['resolved'],
|
||||
|
||||
Reference in New Issue
Block a user