removed self react

This commit is contained in:
Supositware 2019-03-19 21:05:47 +01:00
parent f73780d3fc
commit 84d123fadd

View file

@ -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);