Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
rel
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Bolt

A Discord guild moderation bot for managing large servers.

Running locally

Initial setup:

  • Set the environment variable BOT_TOKEN to your bot token
  • Set the environment variable PGSQL_URL to your PostgreSQL database URL, e.g. postgres://user:pass@host/dbname
  • mix deps.get
  • mix 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 Prometheus metrics endpoint on port 8081, which supplies live BEAM runtime statistics along with application metrics from Bolt.

About

A Discord guild moderation bot for managing large servers.

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.