Skip to content

Commit

Permalink
fix(startTyping): return, to not overwrite already existing entries
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed Jan 22, 2018
1 parent 00e2f39 commit 8df1ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/structures/interfaces/TextBasedChannel.js
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8df1ac9

Please sign in to comment.