1 unstable release

0.1.0 Oct 31, 2022

#4 in #moderation

29 downloads per month

AGPL-3.0-or-later

39KB
755 lines

Gavel, a matrix moderation bot

Setup

  1. Copy config.toml.example to ~/.config/gavel/config.toml
  2. Adjust the config according to requirements
  3. Run gavel setup [--homeserver-url URL] USERNAME to authenticate the bot using password authentication
  4. Run gavel to start the bot

Using it

The bot accepts commands in the management room (as set in the config). Make sure no unauthorized access is possible to this room!

As development is still in its early stages and change is constant, use !mod help (or whatever prefix you set up in the config) to get a list of commands.


lib.rs:

The Gavel matrix moderation bot

Dependencies

~22–38MB
~610K SLoC