- What is this repo for
- Bot Slash-Commands
- Getting started
- Minimum permission requirements for the bot
- Privileged Gateway Intents
Introducing the "Discord Random Team Generating Bot" – a versatile solution tailored to streamline team creation within your Discord server. This comprehensive package not only includes the essential source code but also equips you with a preconfigured build file, facilitating the rapid deployment of your personalized Docker image.
The DiscordTeamBot stands as a compact yet dynamic bot designed to revolutionize team formation in your community. It boasts a wide array of team configurations. With this bot, the possibilities are boundless. Regardless of your preferred team structure, the bot excels at harnessing the power of randomness to ensure balanced teams for each engagement.
Introducing the New Queue Feature:
Building upon its robust foundation, the DiscordTeamBot now introduces an innovative queue feature that promises to enhance the user experience. With the queue feature, players can express their interest in participating, marking their presence for upcoming matches.
command | description |
---|---|
start-queue | Start a queue |
build-team | Build your teams random generated |
edit-team | Switch two playes between teams |
win | Define the winner of a match |
cancel | Cancel a match |
stats | Get the stats of each member |
Running in docker:
- Create you your first bot on discord-developer-portal
- Set up your bot and save your bot token since you are able to see it only one time at creation. If you haven't done that you can still reset the token and get a new one.
- Enable the
SERVER MEMBERS INTENT
andMESSAGE CONTENT INTENT
for your bot. - Open the
.env
file and add your bot token to the environment-variable. - Now you are pretty much done and you can start your application. You can do that by starting the docker container
$ docker-compose up
.
Running in code:
- Create you your first bot on discord-developer-portal
- Set up your bot and save your bot token since you are able to see it only one time at creation. If you haven't done that you can still reset the token and get a new one.
- Enable the
SERVER MEMBERS INTENT
andMESSAGE CONTENT INTENT
for your bot. - Define a vm-argument for your bot token
-DBotToken=<your-bot-token>
. - Create a folder named /matches in your root directory (Might need rw permissions). Or create it elsewhere and use the vm-argument Linux:
-DSaveMatchesPath=/path/to/your/matches/
Windows:-DSaveMatchesPath=c:\\path\\to\\your\\matches\\
. - Start your code.