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:
No description
No description
No description
19 Replies
d.js toolkit
d.js toolkit4mo 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! - Marked as resolved by staff
treble/luna
treble/luna4mo ago
do you have the Guilds, GuildMessages and MessageContent intent aka does that code run at all
Ascensor Rural
Ascensor RuralOP4mo ago
lemme check I'm dumb I thought I had them thanks for reminding it to me Updated it but still doesn't work
Ascensor Rural
Ascensor RuralOP4mo ago
No description
treble/luna
treble/luna4mo ago
does the event fire at all
Ascensor Rural
Ascensor RuralOP4mo ago
ye the bot works normally, it's just that doesn't log the messages
treble/luna
treble/luna4mo ago
so your messageCreate event fires?
Ascensor Rural
Ascensor RuralOP4mo ago
I guess so
treble/luna
treble/luna4mo ago
have you logged to confirm? guessing isnt gonna get you anywhere
Ascensor Rural
Ascensor RuralOP4mo ago
ye I logged and opened a ticket but happens the same this is what debug console says
Ascensor Rural
Ascensor RuralOP4mo ago
No description
treble/luna
treble/luna4mo ago
sounds like a db issue then, which isnt djs related
Ascensor Rural
Ascensor RuralOP4mo ago
F lemme check it even if it's not related with d.js the warnings log still working
treble/luna
treble/luna4mo ago
the what
Ascensor Rural
Ascensor RuralOP4mo ago
wait lemme share a screenshot
Ascensor Rural
Ascensor RuralOP4mo ago
No description
Ascensor Rural
Ascensor RuralOP4mo ago
it saves the warnings but not the messages
treble/luna
treble/luna4mo ago
still not djs related #other-js-ts
Ascensor Rural
Ascensor RuralOP4mo ago
ok
Want results from more Discord servers?
Add your server