mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
types(ModalSubmitInteraction): message (#7705)
This commit is contained in:
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -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>>;
|
||||
|
||||
Reference in New Issue
Block a user