mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Fix two more lines to use new typing map
And a tiny text fix
This commit is contained in:
parent
b9caa2ee5d
commit
f185d892c7
3 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class TextChannel extends GuildChannel {
|
|||
super.setup(data);
|
||||
|
||||
/**
|
||||
* The topic of the Guild Channel, if there is one.
|
||||
* The topic of the Text Channel, if there is one.
|
||||
* @type {?string}
|
||||
*/
|
||||
this.topic = data.topic;
|
||||
|
|
|
|||
Loading…
Reference in a new issue