I am a complete noob when it comes to JSON and Javascript. The only language I have ever coded for is RGSS with RPG Maker XP. Here is my problem:
I am trying to give all current users on my server I manage the 'Member' role. I am aware that similar questions have been asked at least twice, but all of the answers omit several lines of necessary code needed in order to actually run it in Discord.js, and I cannot fill in the blanks, because, as I said, I am a complete noob. I would like the answer to include a valid, complete, set of 'main.js' and 'deploy-commands.js' files, rather than merely code snippets, preferably with comments so I can understand the code, and adapt it if need be. For values that need filled in, please enclose them in '<>' symbols so that it is easy to know when something needs filled in. I want the command to be set up as a slash command, rather than a '?' or '!' command, as well.