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
• 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.Just create another command,
warnings
or whatever, and just return the data you needI figured that bit, but confused myself in working out which parts of the command I need to include for data return
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