fix(CommandInteraction): channel type should be text based channels (#5690)

Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
Lupa
2021-06-02 07:05:35 -03:00
committed by GitHub
parent d21e6af1d2
commit 5141ea4f06
2 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,13 @@ class CommandInteraction extends Interaction {
constructor(client, data) {
super(client, data);
/**
* The channel this interaction was sent in
* @type {?TextChannel|NewsChannel|DMChannel}
* @name CommandInteraction#channel
* @readonly
*/
/**
* The ID of the invoked application command
* @type {Snowflake}