[MONGOOSE/MONGODB] How can I get a specific users schema?
Hello!
I've been coding for the past few hours and can't exactly seem to figure this out so I've been trying to get a specific users totalMessages (from schema) at a specific date, heres my code (this is being run inside my command file, level/messages.js):
My totalMessages in schema is a number value, and I've been trying to get it but all I get in console from:
is:
Would appeciate any help š
3 Replies
ā¢ What's your exact discord.js
npm list discord.js
and node node -v
version?
ā¢ Post the full error stack trace, not just the top part!
ā¢ Show your code!
ā¢ Explain what exactly your issue is.
ā¢ Not a discord.js issue? Check out #useful-servers.Discord.js version: 13.1.0
NodeJS version: 18.12.1
Hello, this channel is for questions regarding discord.js, please ask in #other-js-ts for help regarding mongodb and any unrelated libraries