Improve readme
This commit is contained in:
parent
7adf21fe65
commit
ab94b056b9
|
@ -7,7 +7,11 @@ Remplissez le fichier `secrets/secrets.txt` et remplissez le avec les code que v
|
||||||
|
|
||||||
## Configure it
|
## Configure it
|
||||||
|
|
||||||
Copy `config.sample.txt` to `config.txt` and replace data by your data
|
Copy `config.sample.txt` to `config.txt` and replace data by your data.
|
||||||
|
|
||||||
|
If you don't want any "spoiler text", just leave the line empty.
|
||||||
|
|
||||||
|
Actually, bot limit request at 4 per minute per person. Later, a make it configurable on config file.
|
||||||
|
|
||||||
## Use it
|
## Use it
|
||||||
|
|
||||||
|
@ -25,10 +29,10 @@ optional arguments:
|
||||||
`--img` option send image.
|
`--img` option send image.
|
||||||
`--stream` option send image on mention
|
`--stream` option send image on mention
|
||||||
|
|
||||||
|
|
||||||
## Create a systemd service
|
## Create a systemd service
|
||||||
|
|
||||||
On `/etc/systemd/system/bot.service` copy paste code behind
|
On `/etc/systemd/system/bot.service` copy paste code behind
|
||||||
|
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Image bot Mastodon
|
Description=Image bot Mastodon
|
||||||
|
|
Reference in a new issue