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

@@ -16,8 +16,10 @@ class DMChannel extends Channel {
*/
constructor(client, data) {
super(client, data);
// Override the channel type so partials have a known type
this.type = 'DM';
/**
* A manager of the messages belonging to this channel
* @type {MessageManager}