Skip to content

i-m-down-QQ/CTF-discord-bot

Repository files navigation

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]

About

An unofficial CTFtime discord bot for CTF information

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published