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

Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
This commit is contained in:
Jiralite
2022-08-17 08:47:31 +01:00
committed by GitHub
parent b6f48ec84a
commit 526ea74e66

1
typings/index.d.ts vendored
View File

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