From 8df1ac9920a20d74c7d5cd15ee0124f6e7236abc Mon Sep 17 00:00:00 2001 From: Pascal Date: Mon, 22 Jan 2018 14:09:27 +0100 Subject: [PATCH] fix(startTyping): return, to not overwrite already existing entries --- src/structures/interfaces/TextBasedChannel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/interfaces/TextBasedChannel.js b/src/structures/interfaces/TextBasedChannel.js index 770a54862..57afce35c 100644 --- a/src/structures/interfaces/TextBasedChannel.js +++ b/src/structures/interfaces/TextBasedChannel.js @@ -268,6 +268,7 @@ class TextBasedChannel { if (this.client.user._typing.has(this.id)) { const entry = this.client.user._typing.get(this.id); entry.count = count || entry.count + 1; + return; } const entry = {