Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.29 KB

README.md

File metadata and controls

71 lines (49 loc) · 1.29 KB

CTF discord bot


Installation

  1. Enroll a discord bot on discord developer portal
  2. Install docker (if not installed)
    chmod +x installdocker.sh
    ./installdocker.sh
    
    # logout then login
  3. Generate env file from template
    cp .env.template .env
    
    # modify BOT_TOKEN and GUILD_ID
    vi .env
  4. run docker
    chmod +x rundocker.sh
    ./rundocker.sh
  5. run /sync command on your testing server

Usage

Util

/help

Show help menu

/ping

Test bot is alive and get its latency

/ping_ctftime

Test CTFtime API is alive and get its latency

/sync

(GUILD ONLY) Sync commands to all servers

CTF

/ctf upcoming [limit_num]

Fetch upcoming events from CTFtime

/ctf nowrunning

Fetch nowrunning events from CTFtime

Contect

If there is any problem, feel free to contect us or using the issue/PR.

Email: [email protected]