Skip to content

About

Official ACUCyS Discord bot for handling weekly CTF challenges.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Weekly CTF Bot

A Discord bot designed to help host weekly CTF challenges for ACUCyS.

📂 Project Structure

weekly_ctf_bot/
├── src/
│   └── weekly_ctf_bot/   # Project source root
│       ├── cogs/         # Discord slash commands
│       ├── ui/           # Discord message views and modals
│       ├── config.py     # Configuration handler
│       ├── database.py   # Abstraction for database models and access
│       ├── __init__.py   # Main bot code
│       └── __main__.py   # Bot entrypoint
│
├── .env                  # Environment variables
├── challenges.db         # SQLite database
├── CONTRIBUTING.md       # Contributing guide
├── LICENSE               # Project software license
├── pyproject.toml        # Project metadata & dependencies
└── README.md

🚀 Getting Started

Prerequisites

1. Clone Repository

git clone https://github.com/acucys/weekly_ctf_bot.git
cd weekly_ctf_bot

2. Install Dependencies

# Change `3.14` if you wish to use a different Python version
poetry env use 3.14
poetry install

3. Configure Environment

Create a .env file using the provided .env.example template:

cp .env.example .env

Fill in required values:

  • BOT_MODE=dev (or prod)
  • BOT_TOKEN=<your Discord bot token>
  • DATABASE_URL=<the url for your SQL database, with auth included>

4. Run Bot

poetry run weekly_ctf_bot

This starts the discord bot in development mode.

🤝 Contributing

Please refer to the contributing guide for more details.

About

Official ACUCyS Discord bot for handling weekly CTF challenges.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages