mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Move _typing to constructor
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user