mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: CommandInteraction#channelID is type of Snowflake (#5776)
This commit is contained in:
@@ -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
1
typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user