This is a simple bot that allows you to assign roles to users by reacting to a message with an emoji.
- Assign roles to users by reacting to a message with an emoji
- Remove roles from users by removing the reaction
- Supports multiple emojis
- Clone the repository
- Install the required packages with
pip install -r requirements.txt
- Create a
.env
file in the root directory and add the following:TOKEN='your_discord_token'
- Change the
defaultEmoji.json
file to the emoji you want to use[ { "emoji": "YOUR_EMOJI", "role": "YOUR_ROLE" }, { "emoji": "YOUR_EMOJI", "role": "YOUR_ROLE" } ]
- Change the
customEmoji.json
file to the emoji you want to use[ { "emoji_name": "YOUR_EMOJI", "role": "YOUR_ROLE" }, { "emoji_name": "YOUR_EMOJI", "role": "YOUR_ROLE" } ]
- Run the bot with
python bot.py
!설정
: Make a message to add a role
Licensed under the GNU General Public License v3.0