update webhook cache and message cache stuff (#1910)

This commit is contained in:
Gus Caplan
2017-09-08 16:19:30 -05:00
committed by Crawl
parent dd085ceaee
commit 67c239b33f
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ class Message extends Base {
* The author of the message
* @type {User}
*/
this.author = this.client.users.create(data.author);
this.author = this.client.users.create(data.author, !data.webhook_id);
/**
* Represents the author of the message as a guild member