mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Add server property to the Message class
Extremely simple change, but I (and others) would probably find it a nice shortcut.
This commit is contained in:
@@ -15,6 +15,7 @@ export default class Message extends Equality{
|
||||
constructor(data, channel, client) {
|
||||
super();
|
||||
this.channel = channel;
|
||||
this.server = channel.server;
|
||||
this.client = client;
|
||||
this.nonce = data.nonce;
|
||||
this.attachments = data.attachments;
|
||||
|
||||
Reference in New Issue
Block a user