Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 1.56 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.56 KB

Discord Region Role Bot

A Discord bot that allows users to self-assign regional country roles using flag emojis.

On load, the bot will prune regional country roles that have no member associated to them.

Setup

  1. Adapt and follow the steps found in create-discord-bot.

Follow the Create Bot and Get Bot sections. Remember to replace with the correct project name in step 1 of the Get Bot section!

Don't forget to give your bot the Manage Roles permission!

  1. Open src/config.js to configure your own settings:
regionRoleLimit: 1,
guilds: [
  'GUILD_1_ID',
  'GUILD_2_ID',
  // ...Add as many guilds as you want.
]

regionRoleLimit is the maximum number of regional country roles a user is able to have.

List of flag emojis can be found at https://emojipedia.org/flags/.

The maximum number of roles in a server is 250.

Visit for more help or information!