Move _typing to constructor

This commit is contained in:
Amish Shah
2016-09-10 17:30:15 +01:00
parent fd564176ff
commit 78673139ca
2 changed files with 2 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ class TextChannel extends GuildChannel {
constructor(guild, data) {
super(guild, data);
this.messages = new Collection();
this._typing = new Map();
}
setup(data) {
@@ -24,7 +25,6 @@ class TextChannel extends GuildChannel {
this.type = 'text';
this.lastMessageID = data.last_message_id;
this._typing = new Map();
}
/**