A Discord bot that splits users in a voice channel into teams or randomly picks a winner — ideal for quick team matchups and fun contests.
- /teamup command: Teams up users in a voice channel randomly.
- /winner command: Selects a random winner among users in the same voice channel.
- Student-built project for casual and competitive Discord gaming communities.
Add the bot to your Discord server, then use the following slash commands:
/teamup
/winner- Split into 2 teams
split_2teams_reshuffle.mp4
- Split into 3 teams
split_3teams_reshuffle.mp4
- Teamup with channel option
teamup_with_channels_option.mp4
winner.mp4
Tip
Add DrawMaster to your Discord server!!!
This discord bot is hosted with shuttle and can be easily added to your discord server by clicking this authentication link and selecting the server where you want to add the bot. It's that easy!
-
Clone the repository:
git clone <repo-url> cd Discord-Bot
-
Create bot application on your Discord Developer Platform
Tip
Check attached presentation for more detailed instructions.
-
Create a
Secrets.tomlfile with the following format:DISCORD_TOKEN = "your-bot-token-here" GUILD_ID = "your-discord-guild-id"
-
Build and run the project:
Using Shuttle:
cargo shuttle run --release
Or using Docker:
docker build -t drawmaster . docker run -d --name drawmaster drawmaster
Dependencies are managed via Cargo.toml and locked in Cargo.lock.
This project uses the MIT license.
- Gamers using Discord voice channels.
