blob: e4254da4b43e8e71b2faa728a37350225263e0f4 [file] [log] [blame]
pineafan32767212022-03-14 21:27:39 +00001const {addLog} = require('../scripts/addLogs');
2
3module.exports = {
4 name:'messageReactionRemoveAll',
5 once:false,
6 async execute(message, reactions) {
7 let data = {
8 messageID: message.id,
9 reactions: reactions.map(r => {
10 return {
11 name: r.emoji.name,
12 id: r.emoji.id
13 }
14 }),
15 removedAt: Date.now()
16 }
17
18 addLog(message.guild.id, data);
19 }
20}