Discord bot for snipe.sulej.net (osu! Switzerland national #1 tracker)
- Rust 98.9%
- Dockerfile 1.1%
| .forgejo/workflows | ||
| assets | ||
| src | ||
| .gitignore | ||
| .releaserc.cjs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
| renovate.json | ||
| rust-toolchain.toml | ||
snipe-bot
Discord bot for snipe.sulej.net, the osu! Switzerland national #1 tracker. Every command reads the site's public API; nothing talks to osu! directly, so boards go past osu!'s top 100 and every snipe the site knows about is one command away.
Prefix < (or a mention) and slash commands. <help lists them.
Env: DISCORD_TOKEN (required), SNIPE_API (default https://snipe.sulej.net), SNIPE_API_KEY (optional, from the site's account page: names the bot in the api's metering), DATA_DIR (default /data, holds the Discord-to-osu! link and board-preference database), EMOTE_<GRADE> (optional custom grade emotes, e.g. EMOTE_XH=<:XH:123>), RUST_LOG.
Run: cargo run. Gates: cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test.