A gunpowder module to whitelist users by giving them roles in discord.
- Create a bot in the discord developers panel
- Add the bot to your server
- Put the bot token in your config
- Copy the IDs of the roles you want to be whitelisted and put them in the config
- Copy the channel ID where the bot will be listening for commands
- Restart the server
You can now link your account with !register <minecraft_account>
on discord.