karma: karmaweb command + web-board link on top lists, via configurable karma_url
All checks were successful
ci / check (push) Successful in 47s
All checks were successful
ci / check (push) Successful in 47s
This commit is contained in:
parent
739fc8ad94
commit
7f6327270b
6 changed files with 92 additions and 7 deletions
|
|
@ -68,7 +68,7 @@ lists them at runtime and `help <command>` describes one.
|
|||
|---|---|
|
||||
| `ping` / `echo <text>` / `hello` | basics |
|
||||
| `roll [NdM]` | roll dice (default `1d6`) |
|
||||
| `karma [thing]` / `karmabottom` (bump with `thing++ [reason]` / `thing--`) | karma + rank + last reason, or top/bottom; milestones announced |
|
||||
| `karma [thing]` / `karmabottom` / `karmaweb` (bump with `thing++ [reason]` / `thing--`) | karma + rank + last reason, or top/bottom (with a link to the web board when `karma_url` is set); `karmaweb` prints that link; milestones announced |
|
||||
| `md5` / `sha1` / `sha256` / `hash <text>` | hex digests |
|
||||
| `add <location>` then `w [location]` | weather (wttr.in), per-user location |
|
||||
| `crypto <sym>` | coin price in USD (Bitstamp) |
|
||||
|
|
@ -124,7 +124,9 @@ RUSTBOT_CONFIG=/etc/rustbot.conf cargo run
|
|||
Config file keys: `server`, `port`, `tls`, `nick`, `user`, `realname`,
|
||||
`channels` (comma/space-separated), `prefix`, `verbose` (wire logging, default
|
||||
on), `password`, `sasl_user`, `sasl_pass`, `name` (a network's log label), and
|
||||
`locale` (`en`/`es`/`fr`, default `en`). Whole-line `#`/`;` comments only —
|
||||
`locale` (`en`/`es`/`fr`, default `en`), and `karma_url` (public web board —
|
||||
enables the `karmaweb` command and a link on the `karma`/`karmabottom` top
|
||||
lists; empty disables both). Whole-line `#`/`;` comments only —
|
||||
inline comments would clash with channel `#`s.
|
||||
|
||||
### Locales
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue