mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Fix two more lines to use new typing map
And a tiny text fix
This commit is contained in:
@@ -41,8 +41,8 @@ class TypingData {
|
||||
|
||||
function tooLate(channel, user) {
|
||||
return channel.client.setTimeout(() => {
|
||||
channel.client.emit(Constants.Events.TYPING_STOP, channel, user, channel._typing[user.id]);
|
||||
delete channel._typing[user.id];
|
||||
channel.client.emit(Constants.Events.TYPING_STOP, channel, user, channel._typing.get(user.id));
|
||||
channel._typing.delete(user.id);
|
||||
}, 6000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user