File size: 506 Bytes
3c7e34b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const { handleVerifyReactionRemove } = require('../systems/verification');

module.exports = {
    name: 'messageReactionRemove',
    async execute(client, reaction, user) {
        if (user.bot) return;

        if (reaction.partial) {
            try { await reaction.fetch(); } catch { return; }
        }
        if (reaction.message.partial) {
            try { await reaction.message.fetch(); } catch { return; }
        }

        await handleVerifyReactionRemove(reaction, user, client);
    },
};