pineafan | 3276721 | 2022-03-14 21:27:39 +0000 | [diff] [blame] | 1 | const {addLog} = require('../scripts/addLogs'); |
2 | |||||
3 | module.exports = { | ||||
4 | name:'messageReactionRemoveEmoji', | ||||
5 | once:false, | ||||
6 | async execute(messageReaction) { | ||||
7 | let data = { | ||||
8 | name: messageReaction.emoji.name, | ||||
9 | id: messageReaction.emoji.id, | ||||
10 | removedAt: Date.now() | ||||
11 | } | ||||
12 | |||||
13 | addLog(messageReaction.message.guild.id, data); | ||||
14 | } | ||||
15 | } |