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.
- 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!
- 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!