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:
Programmix
2016-05-20 23:04:46 -07:00
committed by abalabahaha
parent 79ee493a39
commit d42cbd1c14
3 changed files with 8 additions and 1 deletions

View File

@@ -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;