New Question
How Do i make a warn commands so like /warn
8 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.I know how to make / commands i want to know how to make a warn command the adds warns to a user
you should use a database to store the warns and have that storage persist across restarts
But how do i do that
Im not sure on even where to begin
First, you have to pick which database to use. You can google different nodejs wrappers for different DBs
what db do you recommend
I personally use the mongoose wrapper for mongodb
However, this isn't very discord.js-related, so you should ask any specific questions for your choice in #other-js-ts