Skip to content

Commit

Permalink
types: fix ModalSubmitInteraction (#7768)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev committed Apr 19, 2022
1 parent 5165b18 commit 1d09ad4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typings/index.d.ts
Expand Up @@ -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>>;
Expand All @@ -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;
Expand Down

0 comments on commit 1d09ad4

Please sign in to comment.