MrKanishkPatel / discord-region-role-bot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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

License:MIT License


Languages

Language:JavaScript 100.0%