initial commit
This commit is contained in:
commit
f83fded289
15 changed files with 6084 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Shift bot
|
||||
|
||||
A bot for handling shifts.
|
||||
|
||||
## Build
|
||||
|
||||
Build with
|
||||
|
||||
```bash
|
||||
> cargo build --release
|
||||
[...]
|
||||
# executable is here
|
||||
> ls target/release/shift_bot
|
||||
target/release/shift_bot
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Make sure `shift_bot` is in your path for what follows. Alternatively, you can replace command
|
||||
`shift_bot` with `cargo run --release --` in the instructions below, assuming you are at the root
|
||||
of this repository.
|
||||
|
||||
```bash
|
||||
shift_bot --username shift_bot --homeserver interhacker.space --password SO_SECRET --grist_api_key SECRET_TOO
|
||||
# alternatively
|
||||
shift_bot -u neko -s interhacker.space -p SO_SECRET --grist_api_key SECRET_TOO
|
||||
# or, if the homeserver is `matrix.org`
|
||||
shift_bot -u neko -p SO_SECRET --GRIST_API_KEY SECRET_TOO
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue