mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Move _typing to text-based channels
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user