blob: e4254da4b43e8e71b2faa728a37350225263e0f4 [file] [log] [blame]
const {addLog} = require('../scripts/addLogs');
module.exports = {
name:'messageReactionRemoveAll',
once:false,
async execute(message, reactions) {
let data = {
messageID: message.id,
reactions: reactions.map(r => {
return {
name: r.emoji.name,
id: r.emoji.id
}
}),
removedAt: Date.now()
}
addLog(message.guild.id, data);
}
}