Categorygithub.com/havce/ctfbot
modulepackage
0.0.0-20240619161437-cfac53aa8a9d
Repository: https://github.com/havce/ctfbot.git
Documentation: pkg.go.dev

# README

ctfbot

A Discord bot for managing CTFs in your team.

Picture this: your Discord server has grown too much and there are too many people wandering around. You are tired of gathering participation and manually setting your channel permissions. Then this what you are looking for!

Features

The bot supports various commands:

  • /new: Create a new CTF (admin only)
  • /open: Open the CTF for registration (admin only)
  • /close: Close the CTF registration (admin only)
  • /delete: Delete the CTF (admin only)
  • /info: List CTFs available on CTFTime for the next weeks
  • /vote: Start a vote for which CTF to play (admin only)
  • /chal: Create a new challenge inside the CTF
  • /flag: Mark the challenge as solved
  • /blood: Mark the challenge as first blooded

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ErrorCode unwraps an application error and returns its code.
Errorf is a helper function to return an Error with a given code and formatted message.
ErrorMessage unwraps an application error and returns its message.
No description provided by the author

# Constants

Application error codes.
Application error codes.
Application error codes.
Application error codes.
Application error codes.
Application error codes.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
CTFFilter represents a filter passed to FindCTFs().
CTFUpdate represents a filter passed to UpdateCTF().
Error represents an application-specific error.

# Interfaces

No description provided by the author