typings: make channelId non-nullable on MessageComponentInteraction (#6600)

This commit is contained in:
Suneet Tipirneni
2021-09-08 08:42:05 -04:00
committed by GitHub
parent c62823e43d
commit 8cc3885739
3 changed files with 16 additions and 0 deletions

View File

@@ -14,6 +14,12 @@ class MessageComponentInteraction extends Interaction {
constructor(client, data) {
super(client, data);
/**
* The id of the channel this interaction was sent in
* @type {Snowflake}
* @name MessageComponentInteraction#channelId
*/
/**
* The message to which the component was attached
* @type {Message|APIMessage}