Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.07 KB

File metadata and controls

20 lines (17 loc) · 1.07 KB

CTFTime Discord Bot using GitHub Actions

This is a GitHub action that periodically notifies the Discord channel of the most recent CTFs listed in CTFTime. By default, it fetches data once a day and notifies the channel if there are any differences from the last notification. If you want to change the settings such as the interval to notify, please edit the workflow file. This workflow uses MeitarR/CTFtime-Discord-hooks to fetch the data in CTFTime.

Setup

  1. Fork this repo.
  2. Go to Setting > Secrets of the repo.
  3. Add new repository secret.
    • Name: DISCORDWEBHOOKURL
    • Value: (Your Discord Webhook URL)
  4. Go to Actions and turn on workflows.
  5. Click the CTFTime workflow and Enable workflow.

Appendix: How to get a Discord webhook URL

  1. Go to the channel setting Integrations.
  2. Click Webhooks > Create Webhook.
  3. Click Copy Webhook URL.

Appendix: Run manually

  1. Go to Actions > CTFTime.
  2. Click Run workflow.