blob: 685ad3704a3d2ced481af729fa5cfe895e15e78e [file] [log] [blame]
pineafan32767212022-03-14 21:27:39 +00001const {addLog} = require('../scripts/addLogs');
2
3module.exports = {
4 name:'messageReactionRemove',
5 once:false,
6 async execute(messageReaction, user) {
7 let data = {
8 messageReaction: {
9 messageID: messageReaction.message.id,
10 reactionEmoji: {
11 name: messageReaction.emoji.name,
12 id: messageReaction.emoji.id
13 },
14 removedAt: Date.now()
15 },
16 user: {
17 id: user.id,
18 username: user.username
19 }
20 }
21
22 addLog(messageReaction.message.guild.id, data);
23
24 }
25}