ESLint stuff...

This commit is contained in:
Amish Shah
2016-08-13 14:44:49 +01:00
parent 53d767ec04
commit b8db4c4f4b
74 changed files with 2574 additions and 2956 deletions

View File

@@ -1,26 +1,24 @@
'use strict';
class Channel {
constructor(client, data, guild) {
this.client = client;
this.typingMap = {};
this.typingTimeouts = [];
if (guild) {
this.guild = guild;
}
constructor(client, data, guild) {
this.client = client;
this.typingMap = {};
this.typingTimeouts = [];
if (guild) {
this.guild = guild;
}
if (data) {
this.setup(data);
}
}
if (data) {
this.setup(data);
}
}
setup(data) {
this.id = data.id;
}
setup(data) {
this.id = data.id;
}
delete() {
return this.client.rest.methods.DeleteChannel(this);
}
delete() {
return this.client.rest.methods.deleteChannel(this);
}
}
module.exports = Channel;