Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.47 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.47 KB

CTFd First Blood & Solve Discord Announcer

A Dockerized bot that uses Discord channel webhooks to announce CTFd first bloods & solves.

How to use

  1. Clone the repo:

    git clone https://github.com/ArcusTen/CTFd-Discord-First-Blood.git
  2. Create a Discord channel webhook for the channel where you want the first bloods to be announced and copy the webhook link.

  3. Create a CTFd API token in your user settings and copy that down.

  4. Update .env file with the webhook link from your discord channel and also add CTFd API token from your instance of CTFd.

  5. Run following command:

    ./docker-build.sh

Note

In case of any changes in Docker, run:

docker exec -it <name-or-id-of-running-container> bash

After making changes, you can export your newly modified image:

docker commit <container-id> <image-name-to-be-created>:<tag>

Please keep in mind that I am not an expert when it comes to making Discord bots. If you find any issues in this code or want to contribute, please fork the repository and submit a pull request with any improvements.

Previews

For First Blood (with gif & without gif): screenshot1

For Solves (with gif & without gif): screenshot2