types(ModalMessageModalSubmitInteraction): channelId is not nullable (#8496)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Rodry
2022-08-16 16:38:30 +01:00
committed by GitHub
parent acdafe60c7
commit c31a5cfcc8

View File

@@ -1970,6 +1970,7 @@ export class ModalSubmitFields {
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
extends ModalSubmitInteraction<Cached> {
message: Message<BooleanCache<Cached>>;
channelId: Snowflake;
update(options: InteractionUpdateOptions & { fetchReply: true }): Promise<Message>;
update(
options: string | MessagePayload | InteractionUpdateOptions,