how to create a system of roles that such and commands can useis it possible to write this in json

?
4 Replies
d.js toolkit
d.js toolkit11mo ago
- 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!
Svitkona
Svitkona11mo ago
what do you mean by "write this in json"
Martoz
MartozOP11mo ago
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?
Svitkona
Svitkona11mo ago
JSON is just a format for storing data
Want results from more Discord servers?
Add your server