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

peterthehan/discord-region-role-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published