campmaster-constantine

Crates.iocampmaster-constantine
lib.rscampmaster-constantine
version0.2.1
sourcesrc
created_at2020-04-29 15:57:06.663868
updated_at2020-05-15 13:43:52.474553
descriptionA General-Purpose Discord bot
homepage
repositoryhttps://git.sr.ht/~muirrum/campmasterconstantine
max_upload_size
id235386
size186,747
Owen Salter (Muirrum)

documentation

README

Campmaster Constantine

builds.sr.ht status

The Campmaster is designed to be a general-purpose Discord bot, that brings a message points/leveling system and a strike system to make moderation easier.

Features

  • Points gain based on messages
    • Levels based on slow exponential (1.3x) cost to next level
    • Level-based role rewarads*
  • Moderation
    • Strikes as warnings
    • Modification of a strike's reason
    • Withdrawal of strikes
    • Automatic banning/kicking of users based on strike count*
    • Global and local message filter
    • Moderation log for strikes and wordfilter matches
  • Question of the Day
    • Suggestions
    • Automatic ping of a role

Running

Make sure that you have the latest stable Rust. Make a copy of .env.example and name it .env, filling out the variables as appropriate.

Make sure that you have an updated version of PostgreSQL. The database and role should already exist.

Run cargo install campmaster-constantine to download and install the latest stable version of the bot. Then, run campmaster-constantine in the same directory as your .env file.

Building

  • Install latest stable Rust
  • Clone this repository with git clone https://git.sr.ht/~muirrum/campmasterconstantine
  • Go into the new project directory and run cargo build

Submitting patches

Send an email with the patch file to ~muirrum/campmaster-constantine-devel@lists.sr.ht, preferably following the instructions here.

Commit count: 0

cargo fmt