types(ModalSubmitInteraction): message (#7705)

This commit is contained in:
muchnameless
2022-04-12 17:20:20 +02:00
committed by GitHub
parent 0faac04b69
commit b577bcc1df

View File

@@ -1862,7 +1862,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>>;
@@ -1879,6 +1879,7 @@ export class ModalSubmitInteraction<Cached extends CacheType = CacheType> extend
public readonly fields: ModalSubmitFieldsResolver;
public deferred: boolean;
public ephemeral: boolean | null;
public message: GuildCacheMessage<Cached> | null;
public replied: boolean;
public readonly webhook: InteractionWebhook;
public reply(options: InteractionReplyOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;