update readme
This commit is contained in:
parent
13e62e053d
commit
05d1f92ae1
|
@ -30,7 +30,8 @@ expression as such:
|
||||||
And the dicebot should reply with the result in short order.
|
And the dicebot should reply with the result in short order.
|
||||||
|
|
||||||
You can also run it yourself by creating a bot account, building the dicebot
|
You can also run it yourself by creating a bot account, building the dicebot
|
||||||
program, and creating a config file that looks like this:
|
program (either from this repo or by running `cargo install
|
||||||
|
axfive-matrix-dicebot`, and creating a config file that looks like this:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[matrix]
|
[matrix]
|
||||||
|
@ -42,9 +43,8 @@ type = 'm.login.password'
|
||||||
user = 'axfive-dicebot'
|
user = 'axfive-dicebot'
|
||||||
```
|
```
|
||||||
|
|
||||||
Of course replacing all the necessary fields. Then you can run the built
|
Of course replacing all the necessary fields. Then you can run the "dicebot"
|
||||||
"dicebot" binary pointing at that, and it will log in and hum along and do its
|
binary pointing at that, and it will log in and hum along and do its thing.
|
||||||
thing.
|
|
||||||
|
|
||||||
You can also just run it on the command line with the `dicebot-cmd` command,
|
You can also just run it on the command line with the `dicebot-cmd` command,
|
||||||
which expects you to feed it one of the command expressions as shown above, and
|
which expects you to feed it one of the command expressions as shown above, and
|
||||||
|
|
Loading…
Reference in New Issue