Norske-Nokkelsnikere / nokkelvokter-old

A work in progress Discord bot for use in CTFs
GNU General Public License v3.0
0 stars 0 forks source link

Create and delete a CTF #15

Open fslaktern opened 1 year ago

fslaktern commented 1 year ago

Create CTF with a new format:

  1. User sends a command: !create google-2023
  2. A role is created: team-google-2023
  3. A category is created: ctf google-2023
  4. Channels are created in the category: a. #challenges: A forum channel with one post per challenge b. #information: A text channel without write access for players (only bot via !addinfo). Used to gather all information in one place c. #commands: Prevent cluttering the other channels with commands d. #chat: General chatting private from non-ctf players e. #status: An embed showing solved/unsolved challenges
  5. Announce the creation of a new CTF. Allow users to join it by reacting to the announcement (#8)

Delete a CTF:

  1. First it needs to be archived unless it had already been archived: Made readable by everyone (including non-players) and unwriteable by anyone - read-only mode
  2. If it hasn't been exported, export it to markdown. Make sure no content is lost even though the channels are deleted.
  3. Delete CTF role, channels and category
  4. Announce the deletion of the CTF