Skip to content

Commit

Permalink
Actually fix CommandClient reaction buttons with embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha committed Jul 17, 2017
1 parent 66d8e9a commit 2ac1934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command/CommandClient.js
Expand Up @@ -169,7 +169,7 @@ class CommandClient extends Client {
}

onMessageReactionEvent(msg, emoji, userID) {
if(!this.ready || userID === this.user.id || !(msg.content && msg.embeds && msg.attachments)) {
if(!this.ready || userID === this.user.id || !(msg.content || msg.embeds || msg.attachments)) {
return;
}

Expand Down

0 comments on commit 2ac1934

Please sign in to comment.