how to create a system of roles that such and commands can useis it possible to write this in json
?
4 Replies
- 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!what do you mean by "write this in json"
I mean, so that you can check
an example
, a person with the moderator role can use the ban commands, etc
. but a regular user cannot
, and so it is possible to specify the allowed roles via json?
JSON is just a format for storing data