A Discord bot for managing gaming tournaments with comprehensive admin and user commands.
- Cancel Tournament
- Create Bracket
- Create Tournament
- End Tournament
- Start Tournament
- Join Tournament
- Leave Tournament
- List Tournaments
- View Personal Info (Me)
- View Tournament Participants
- Check Tournament Status
commands/
├── admin/
│ ├── CancelTournament.ts
│ ├── CreateBracket.ts
│ ├── CreateTournament.ts
│ ├── EndTournament.ts
│ └── StartTournament.ts
└── user/
├── JoinTournament.ts
├── LeaveTournament.ts
├── ListTournaments.ts
├── Me.ts
├── TournamentParticipants.ts
└── TournamentStatus.ts
guards/
├── AdminOnly.ts
└── ChannelOnly.ts
lib/
types/
main.ts
.env
.gitignore
docker-compose.yml
Dockerfile
package.json
- Clone the repository
- Install dependencies:
npm install
- Set up your
.env
file with necessary Discord bot token and other configurations - Run the bot:
npm start
/cancel-tournament
: Cancels an ongoing tournament/create-bracket
: Generates a bracket for a tournament/create-tournament
: Initiates a new tournament/end-tournament
: Concludes an active tournament/start-tournament
: Begins a scheduled tournament
/join-tournament
: Allows a user to enter a tournament/leave-tournament
: Removes a user from a tournament/list-tournaments
: Displays all available tournaments/me
: Shows the user's personal tournament-related information/tournament-participants
: Lists all participants in a tournament/tournament-status
: Provides the current status of a tournament
AdminOnly
: Ensures certain commands are only accessible to adminsChannelOnly
: Restricts commands to specific channels
The project includes a Dockerfile and docker-compose.yml for easy containerization and deployment.
Contributions are welcome. Please fork the repository and submit a pull request with your changes.
[Specify your license here]