Warning Checker

Hey guys, I have the following code file to issue user warnings.: https://codeshare.io/K894VE Upon addition/removal of a warning, it lists the existing warnings on the user. In short, I'm trying to build a command just to get their existing warnings, but can't find where I would set that. Any assistance greatfully received. D
4 Replies
d.js docs
d.js docs3y ago
• 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.
Mozzy
Mozzy3y ago
Just create another command, warnings or whatever, and just return the data you need
≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫
I figured that bit, but confused myself in working out which parts of the command I need to include for data return
Mozzy
Mozzy3y ago
If you need to get data from a user in the database, the user ID will probably be enough. If you decide to do another command, or just add a -flag to your current one, that's up to you
Want results from more Discord servers?
Add your server