diff --git a/src/structures/CommandInteraction.js b/src/structures/CommandInteraction.js index a139d06eb..f5218ccf1 100644 --- a/src/structures/CommandInteraction.js +++ b/src/structures/CommandInteraction.js @@ -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} diff --git a/typings/index.d.ts b/typings/index.d.ts index b0f299ef0..257f66294 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;