forked from Supositware/Haha-Yes
removed self react
This commit is contained in:
parent
f73780d3fc
commit
84d123fadd
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ class MessageReactionAddListener extends Listener {
|
|||
});
|
||||
}
|
||||
|
||||
async exec(reaction) {
|
||||
async exec(reaction, user) {
|
||||
if (reaction.message.author == user) return;
|
||||
let messageContent = reaction.message.content;
|
||||
let messageAttachments = reaction.message.attachments.map(u=> u.url);
|
||||
|
||||
|
|
Loading…
Reference in a new issue