Usage Instructions:
1. Bot Setup:
- Ensure you have
- Edit
2. Start the Bot:
- Run the bot using the command
3. Using the Command:
- Type
- Parameters:
-
-
-
-
-
-
Join our Discord for help!
1. Bot Setup:
- Ensure you have
discord.js
and other necessary libraries installed.- Edit
config.json
file in the bot’s directory and fill in the following information:
JSON:
{
"bot-token": "YOUR_BOT_TOKEN",
"command-channel": "YOUR_COMMAND_CHANNEL_ID",
"display-channel": "YOUR_DISPLAY_CHANNEL_ID",
"ROLES_NAME": {
"FHT1": "ROLE_ID",
"FLT1": "ROLE_ID",
"FHT2": "ROLE_ID",
"LT2": "ROLE_ID",
"HT3": "ROLE_ID",
"LT3": "ROLE_ID",
"HT4": "ROLE_ID",
"LT4": "ROLE_ID",
"HT5": "ROLE_ID",
"LT5": "ROLE_ID"
},
"ALLOWED_ROLES": ["ROLE_ID"]
}
2. Start the Bot:
- Run the bot using the command
node bot.js
(or your file name).3. Using the Command:
- Type
/tier
following this syntax:
Code:
/tier <user> <role> <username> <previous_rank> <rank_earned> <region>
-
<user>
: Discord user to whom the role will be assigned.-
<role>
: Role name (must match the name in the configuration).-
<username>
: Minecraft username.-
<previous_rank>
: Previous rank.-
<rank_earned>
: New rank earned.-
<region>
: Related region.Join our Discord for help!