mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
fix(startTyping): return, to not overwrite already existing entries
This commit is contained in:
@@ -268,6 +268,7 @@ class TextBasedChannel {
|
|||||||
if (this.client.user._typing.has(this.id)) {
|
if (this.client.user._typing.has(this.id)) {
|
||||||
const entry = this.client.user._typing.get(this.id);
|
const entry = this.client.user._typing.get(this.id);
|
||||||
entry.count = count || entry.count + 1;
|
entry.count = count || entry.count + 1;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const entry = {
|
const entry = {
|
||||||
|
|||||||
Reference in New Issue
Block a user