This commit is contained in:
hydrabolt
2016-04-16 22:58:49 +01:00
commit 9956e43c8e
43 changed files with 1634 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
'use strict';
const Channel = require('./Channel');
const User = require('./User');
class DMChannel extends Channel{
constructor(client, data) {
super(client, data);
}
setup(data) {
this.recipient = this.client.store.add('users', new User(this.client, data.recipient));
this.lastMessageID = data.last_message_id;
}
}
module.exports = DMChannel;