Fix recipient resolution

This commit is contained in:
Amish Shah
2016-08-22 22:31:22 +01:00
parent c308a2a01c
commit c96ecec24c
4 changed files with 4 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ class DMChannel extends Channel {
* The recipient on the other end of the DM
* @type {User}
*/
this.recipient = this.client.users.set(recipient.id, recipient);
this.recipient = recipient;
/**
* The ID of the last sent message, if available
* @type {?String}