flagbot

command module
v0.0.0-...-e4852f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2019 License: GPL-3.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

CTF Flagbot

This is a bot created for managing CTF Discord guilds by Helithumper. The bot automatically removes CTF flags. In CTF competitions, the ability to block all flags from being sent in messages is crucial to running a fair competition. This bot will remove messages containing flag patterns and send a witty GIF in response.

Usage

> flagbot -t <bot token> -c <configuration path>
<bot token> is the Discord bot's api token as given by the [developer console](https://discordapp.com/developers).
<configuration path> is the path to the configuration directory. The configuration directory contains the following

configuration
|> responses.txt is a plaintext file containing possible responses the bot will say upon a flag match
|> gifs.txt      is a plaintext file containing links to GIFs the bot will post after removing a flag
|> patterns.txt  is a plaintext file containing Regex patterns to match flags

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL