mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33: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
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The ID of the channel this interaction was sent in
|
||||||
|
* @type {Snowflake}
|
||||||
|
* @name CommandInteraction#channelID
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ID of the invoked application command
|
* The ID of the invoked application command
|
||||||
* @type {Snowflake}
|
* @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 {
|
export class CommandInteraction extends Interaction {
|
||||||
public readonly command: ApplicationCommand | null;
|
public readonly command: ApplicationCommand | null;
|
||||||
public channel: TextChannel | DMChannel | NewsChannel;
|
public channel: TextChannel | DMChannel | NewsChannel;
|
||||||
|
public channelID: Snowflake;
|
||||||
public commandID: Snowflake;
|
public commandID: Snowflake;
|
||||||
public commandName: string;
|
public commandName: string;
|
||||||
public deferred: boolean;
|
public deferred: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user