clove/proxyBot
README.md
# proxyBot
Build the Rust bot with `cargo build --release --locked`. Run
`target/release/proxybot` from the repository root, where it reads `.env` and
`data/settings.jp`. The existing JPCL v2 settings file works with this build.
The bot requires `DISCORD_TOKEN` and `OWNER_ID`. Set `SITE_TOKEN` to enable
`d$switch`. Install ImageMagick 7 and put `magick` on the service's PATH for
merged avatars. If merging fails, the bot uses its own avatar.
The runit launcher expects the release binary under
`/srv/bot/proxyBot/target/release/`. Build it before restarting the service.