Skip to content

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

Notifications You must be signed in to change notification settings

ArcusTen/CTFd-Discord-First-Blood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published