mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix(CommandInteraction): channel type should be text based channels (#5690)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -437,6 +437,7 @@ declare module 'discord.js' {
|
||||
|
||||
export class CommandInteraction extends Interaction {
|
||||
public readonly command: ApplicationCommand | null;
|
||||
public channel: TextChannel | DMChannel | NewsChannel;
|
||||
public commandID: string;
|
||||
public commandName: string;
|
||||
public deferred: boolean;
|
||||
|
||||
Reference in New Issue
Block a user