mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
update webhook cache and message cache stuff (#1910)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user