mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Member role *should* be used properly across the API
The Client now SHOULD add roles properly to members, as they leave it up to the Server class.
This commit is contained in:
@@ -20,7 +20,7 @@ var Message = (function () {
|
||||
this.editedTimestamp = data.edited_timestamp;
|
||||
this.content = data.content.trim();
|
||||
this.channel = channel;
|
||||
this.author = author;
|
||||
this.author = this.channel.server.getMember("id", author.id);
|
||||
this.attachments = data.attachments;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user