fix(Partials): Use more user objects available from the gateway (#4791)

This commit is contained in:
MrWasdennnoch
2020-09-13 12:09:12 +02:00
committed by GitHub
parent bcb7c721dc
commit eeb4c14754
6 changed files with 71 additions and 60 deletions

View File

@@ -15,7 +15,7 @@ class MessageReactionAdd extends Action {
handle(data) {
if (!data.emoji) return false;
const user = this.getUser(data);
const user = this.getUserFromMember(data);
if (!user) return false;
// Verify channel