A Discord bot for VaultVerse to manage custom roles, colors, and commands.
- Create and assign custom roles with color, optional icon, hoist, and mentionable settings.
- Auto-assign the role immediately after creation to the target member.
- Role-restricted commands — Only specific roles (Founder, Admin, Moderator, Supporters, Elites, Backer, Booster) can use custom role commands.
- Easily deploy slash commands to your server.
- Sync nickname (optional) so it matches the role name.
- Check token validity before running.
- Edit or delete existing custom roles.
- Personal
/colorcommand to set your own name color.
git clone https://github.com/wiqilee/vaultverse-rolebot.git
cd vaultverse-rolebotMake sure you have Node.js installed (version 16 or above).
npm installCreate a .env file in the root folder and add the following variables:
TOKEN=your-bot-token-here
CLIENT_ID=your-discord-client-id
GUILD_ID=your-discord-server-idRun this once after adding or changing commands:
node deploy-commands.jsnode index.js(Optional) Check if your token is valid:
node check-token.jsYou can invite the bot to your server using this link (replace YOUR_CLIENT_ID with your bot's client ID):
Invite VaultVerse Role Bot
This project uses .gitignore to keep sensitive files out of Git:
# Secret files
.env
# Node.js default modules
node_modules/
# Logs
*.log
# OS-specific files
.DS_Store
Thumbs.db
This project is licensed under the MIT License — feel free to modify and use it.