Update README.md

This commit is contained in:
ErrorNoInternet 2023-01-13 16:35:39 +08:00
parent c081fcf81d
commit cd0503ab06
Signed by untrusted user who does not match committer: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -10,7 +10,7 @@ cargo build --release
The compiled executable will be at `./target/release/errornowatcher` The compiled executable will be at `./target/release/errornowatcher`
## Usage ## Usage
Running the bot for the first time will create the `bot_configuration.toml` file, where you can change several options: Running the bot will create the `bot_configuration.toml` file, where you can change several options:
```toml ```toml
username = "<bot's username>" username = "<bot's username>"
server_address = "<server address>" server_address = "<server address>"
@ -36,3 +36,5 @@ alert_command = [
"<your URL here (or a service such as ntfy.sh)>", "<your URL here (or a service such as ntfy.sh)>",
] ]
``` ```
Run `/msg <bot username> help` to see a list of commands you can run.\
For example, `BotStatus` = `/msg <bot username> bot_status`