mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types: fix ModalSubmitInteraction (#7768)
This commit is contained in:
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -1915,7 +1915,7 @@ export class ModalSubmitFieldsResolver {
|
||||
|
||||
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
|
||||
extends ModalSubmitInteraction<Cached> {
|
||||
message: GuildCacheMessage<Cached> | null;
|
||||
message: GuildCacheMessage<Cached>;
|
||||
update(options: InteractionUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;
|
||||
update(options: string | MessagePayload | InteractionUpdateOptions): Promise<void>;
|
||||
deferUpdate(options: InteractionDeferUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;
|
||||
@@ -1931,6 +1931,7 @@ export class ModalSubmitInteraction<Cached extends CacheType = CacheType> extend
|
||||
public components: PartialModalActionRow[];
|
||||
public deferred: boolean;
|
||||
public ephemeral: boolean | null;
|
||||
public message: GuildCacheMessage<Cached> | null;
|
||||
public fields: ModalSubmitFieldsResolver;
|
||||
public replied: false;
|
||||
public webhook: InteractionWebhook;
|
||||
|
||||
Reference in New Issue
Block a user