docs: CommandInteraction#channelID is type of Snowflake (#5776)

This commit is contained in:
Kevin
2021-06-08 15:16:37 +02:00
committed by GitHub
parent 84e5b075b4
commit 32d8c8ba94
2 changed files with 7 additions and 0 deletions

View File

@@ -22,6 +22,12 @@ class CommandInteraction extends Interaction {
* @readonly
*/
/**
* The ID of the channel this interaction was sent in
* @type {Snowflake}
* @name CommandInteraction#channelID
*/
/**
* The ID of the invoked application command
* @type {Snowflake}

1
typings/index.d.ts vendored
View File

@@ -462,6 +462,7 @@ declare module 'discord.js' {
export class CommandInteraction extends Interaction {
public readonly command: ApplicationCommand | null;
public channel: TextChannel | DMChannel | NewsChannel;
public channelID: Snowflake;
public commandID: Snowflake;
public commandName: string;
public deferred: boolean;