types(ModalMessageModalSubmitInteraction): channelId is not nullable (v13)

#8505
This commit is contained in:
March 7th 2022-08-17 17:46:24 +07:00
parent 36b2d52449
commit f675d2dd58

1
typings/index.d.ts vendored
View File

@ -2251,6 +2251,7 @@ export class ModalSubmitFieldsResolver {
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType> export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
extends ModalSubmitInteraction<Cached> { extends ModalSubmitInteraction<Cached> {
message: GuildCacheMessage<Cached>; message: GuildCacheMessage<Cached>;
channelId: Snowflake;
update(options: InteractionUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>; update(options: InteractionUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;
update(options: string | MessagePayload | InteractionUpdateOptions): Promise<void>; update(options: string | MessagePayload | InteractionUpdateOptions): Promise<void>;
deferUpdate(options: InteractionDeferUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>; deferUpdate(options: InteractionDeferUpdateOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;