Updated readme with json info

This commit is contained in:
Neshura 2023-06-19 22:10:37 +02:00
parent 8c7ec97637
commit 63652ca090
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -1 +1,52 @@
# ascendance-of-a-bookworm-bot
# ascendance-of-a-bookworm-bot
**secrets.json**
```json
{
"lemmy": {
"username": "string",
"password": "string"
},
"reddit": {
"app_id": "string",
"app_secret": "string",
"refresh_token": "string",
"redirect_uri": "string"
},
"discord": {}
}
```
**config.json**
```json
{
"instance": "string",
"reddit_config": {
"user_agent": "string",
"subreddit": "string"
},
"feeds": [
{
"feed_url": "string",
"communities": {
"chapter": "string",
"volume": "string"
},
"reddit": {
"enabled": bool,
"flair": "string"
},
"discord": bool
}
]
}
```
posts.json
```json
[
{
"title",
"last_post_url": "string"
}
]