Webpack build for branch master: 48b69c6e2f

This commit is contained in:
Travis CI 2017-08-09 23:25:11 +00:00
parent 886229b5e1
commit 15e8bd6fb0
2 changed files with 5 additions and 3 deletions

View file

@ -4189,8 +4189,10 @@ class Message {
reaction = new MessageReaction(this, emoji, 0, user.id === this.client.user.id);
this.reactions.set(emojiID, reaction);
}
if (!reaction.users.has(user.id)) reaction.users.set(user.id, user);
reaction.count++;
if (!reaction.users.has(user.id)) {
reaction.users.set(user.id, user);
reaction.count++;
}
return reaction;
}

File diff suppressed because one or more lines are too long