types(Partial): add partial reactions (#6066)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
DTrombett
2021-07-09 13:25:59 +02:00
committed by GitHub
parent 5b6be0cebc
commit d6c43a50bd
6 changed files with 65 additions and 98 deletions

View File

@@ -63,6 +63,16 @@ class Channel extends Base {
return new Date(this.createdTimestamp);
}
/**
* Whether this Channel is a partial
* <info>This is always false outside of DM channels.</info>
* @type {boolean}
* @readonly
*/
get partial() {
return false;
}
/**
* When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.
* @returns {string}