mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
fix(startTyping): return, to not overwrite already existing entries
This commit is contained in:
parent
00e2f39ea1
commit
8df1ac9920
1 changed files with 1 additions and 0 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue