Fix formatting

This commit is contained in:
ErrorNoInternet 2023-01-13 17:00:29 +08:00
parent 87a6df6b37
commit dce1ac5b52
Signed by untrusted user who does not match committer: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -10,6 +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
### Configuration
Running the bot 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>"
@ -36,28 +37,16 @@ alert_command = [
"<your URL here (or a service such as ntfy.sh)>", "<your URL here (or a service such as ntfy.sh)>",
] ]
``` ```
### Example commands
Example commands: - `/msg ErrorNoWatcher help 1` - list the first page of commands
- `/msg ErrorNoWatcher help 1` - list the first page of commands - `/msg ErrorNoWatcher bot_status` - display the bot's health, food/saturation, etc
- `/msg ErrorNoWatcher goto 20 64 10` - go to x: 20, y: 64, z: 10 (using the pathfinder)
- `/msg ErrorNoWatcher bot_status` - display the bot's health, food/saturation, etc - `/msg ErrorNoWatcher script sleep.txt` - run all commands in the file `sleep.txt`
- `/msg ErrorNoWatcher attack ErrorNoInternet` - attack the player named ErrorNoInternet
- `/msg ErrorNoWatcher goto 20 64 10` - go to x: 20, y: 64, z: 10 (using the pathfinder) - `/msg ErrorNoWatcher look 180 0` - look at 180 0 (rotation values)
- `/msg ErrorNoWatcher whitelist_add Notch` - temporarily add Notch to the whitelist
- `/msg ErrorNoWatcher script sleep.txt` - run all commands in the file `sleep.txt` - `/msg ErrorNoWatcher sprint forward 5000` - sprint forward for 5 seconds
- `/msg ErrorNoWatcher drop_item` - drop the current held item (or `drop_stack`)
- `/msg ErrorNoWatcher attack ErrorNoInternet` - attack the player named ErrorNoInternet - `/msg ErrorNoWatcher last_location ErrorNoInternet` - display the last seen location
- `/msg ErrorNoWatcher follow_player ErrorNoInternet` - start following ErrorNoInternet
- `/msg ErrorNoWatcher look 180 0` - look at 180 0 (rotation values) - `/msg ErrorNoWatcher slot 0` - switch to the first slot (0 - 8 = slots 1 - 9)
- `/msg ErrorNoWatcher whitelist_add Notch` - temporarily add Notch to the whitelist
- `/msg ErrorNoWatcher sprint forward 5000` - sprint forward for 5 seconds
- `/msg ErrorNoWatcher drop_item` - drop the current held item (or `drop_stack`)
- `/msg ErrorNoWatcher last_location ErrorNoInternet` - display the last seen location
- `/msg ErrorNoWatcher follow_player ErrorNoInternet` - start following ErrorNoInternet
- `/msg ErrorNoWatcher slot 0` - switch to the first slot (0 - 8 = slots 1 - 9)