[ERROR] Encountered error on event listener "moderationLog"

4 Replies
d.js toolkit
d.js toolkit13mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
-Carlos👑
-Carlos👑OP13mo ago
here's how i'm calling moderationLog:
return container.client.emit("moderationLog", data, false);
return container.client.emit("moderationLog", data, false);
-Carlos👑
-Carlos👑OP13mo ago
I still cannot figure it out, here's the full listener code https://pastebin.com/DLgksCHN
Pastebin
moderationLog.js - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
-Carlos👑
-Carlos👑OP13mo ago
also the problem is with the webhook embed, it actually sends the dm, but not the webhook message
Want results from more Discord servers?
Add your server