bolt
bolt copied to clipboard
A Discord guild moderation bot for managing large servers, based on Nostrum.
Bolt
A Discord guild moderation bot for managing large servers.
Project status
Due to highly questionable privacy practices from Discord's side, bolt, in its Discord bot form, is no longer actively maintained.
Running locally
Initial setup:
- Set the environment variable
BOT_TOKENto your bot token - Set the environment variable
PGSQL_URLto your PostgreSQL database URL, e.g.postgres://user:pass@host/dbname mix deps.getmix ecto.migrate --all
Running with iex:
iex -S mix
Deployment
I deploy via Ansible, see ansible/README.md for details.
Configuration
You can configure the prefix used by using the environment variable
BOT_PREFIX. If you want to, you can set up a bot log channel with the
BOTLOG_CHANNEL environment variable - set this to the channel ID that you
want bot events logged in.
To configure the users able to use the sudo commands, set the SUPERUSERS
environment variable to a colon (:) separated list of user IDs that can use
these commands.
Monitoring
Bolt runs a Munin node on port 4950. Metrics can be seen here: https://munin.jchri.st/jchri.st/spock/bolt/index.html