Error in Ticket System MongoDB database log
hi, I had an error with my code that happens when I create a ticket, it is supposed to listen, wait and log the messages to my MongoDB Cluster, but when I run the command to see the logs it's empty, I don't get any error code so I don't know what's wrong, the images are below:



19 Replies
- 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!
- ✅
Marked as resolved by staffdo you have the Guilds, GuildMessages and MessageContent intent
aka does that code run at all
lemme check
I'm dumb I thought I had them
thanks for reminding it to me
Updated it but still doesn't work

does the event fire at all
ye the bot works normally, it's just that doesn't log the messages
so your messageCreate event fires?
I guess so
have you logged to confirm? guessing isnt gonna get you anywhere
ye I logged and opened a ticket but happens the same
this is what debug console says

sounds like a db issue then, which isnt djs related
F
lemme check it
even if it's not related with d.js the warnings log still working
the what
wait
lemme share a screenshot

it saves the warnings but not the messages
still not djs related
#other-js-ts
ok