Move _typing to text-based channels

This commit is contained in:
Schuyler Cebulskie
2016-09-07 01:34:46 -04:00
parent f185d892c7
commit 73cb34ed37
4 changed files with 4 additions and 8 deletions

View File

@@ -22,13 +22,9 @@ class TextChannel extends GuildChannel {
*/
this.topic = data.topic;
/**
* The ID of the last message in the channel, if one was sent.
* @type {?string}
*/
this.lastMessageID = data.last_message_id;
this.type = 'text';
this.lastMessageID = data.last_message_id;
this._typing = new Map();
}
sendMessage() {