Improved logs

master
masterhc 1 year ago
parent 8d462ec9d5
commit 9b9cad67a0

@ -222,7 +222,7 @@ class _Client extends Client
{ {
this.on('messageReactionAdd', (reaction, user)=> this.on('messageReactionAdd', (reaction, user)=>
{ {
console.log('Lib: Message: Reaction: Added'); console.log('Lib: Message: Reaction: Added', reaction._emoji.name);
(async ()=> (async ()=>
{ {
const rule = await roleRulesM.findOne({mID:reaction.message.id,roleEmoji:reaction._emoji.id}).then(rule =>{return rule}).catch(err=>{return null}) const rule = await roleRulesM.findOne({mID:reaction.message.id,roleEmoji:reaction._emoji.id}).then(rule =>{return rule}).catch(err=>{return null})

Loading…
Cancel
Save