Skip to content

Commit

Permalink
types(ModalMessageModalSubmitInteraction): channelId is not nullable (#…
Browse files Browse the repository at this point in the history
…8496)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
ImRodry and kodiakhq[bot] committed Aug 16, 2022
1 parent acdafe6 commit c31a5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/discord.js/typings/index.d.ts
Expand Up @@ -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,
Expand Down

0 comments on commit c31a5cf

Please sign in to comment.