Updated readme with json info
This commit is contained in:
parent
8c7ec97637
commit
63652ca090
1 changed files with 52 additions and 1 deletions
53
README.md
53
README.md
|
@ -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"
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue