PlaguPoster/runner/config.json

66 lines
1.3 KiB
JSON
Raw Normal View History

2022-08-19 18:52:31 +00:00
{
"database": {
2022-09-04 07:27:35 +00:00
"url": "jdbc:postgresql://127.0.0.1:8091/test",
"username": "test",
"password": "test",
"driver": "org.postgresql.Driver"
2022-08-19 18:52:31 +00:00
},
"botToken": "1234567890:ABCDEFGHIJKLMNOP_qrstuvwxyz12345678",
"plugins": [
"dev.inmo.plaguposter.posts.Plugin",
2022-09-04 07:27:35 +00:00
"dev.inmo.plaguposter.posts.registrar.Plugin",
"dev.inmo.plaguposter.ratings.Plugin",
"dev.inmo.plaguposter.ratings.source.Plugin"
2022-08-19 18:52:31 +00:00
],
"posts": {
"targetChat": 12345678,
2022-09-04 07:27:35 +00:00
"cacheChat": 12345678,
2022-08-19 18:52:31 +00:00
"sourceChat": 12345678
2022-09-04 07:27:35 +00:00
},
"ratingsPolls": {
"variants": {
"Ok": 1,
"Not ok": -1
},
"autoAttach": true,
"ratingOfferText": "What do you think about it?"
2022-09-06 17:56:58 +00:00
},
"selector": {
"items": [
{
"time": {
"from": "00:00",
"to": "00:00"
},
"rating": {
"min": 0.0,
"max": 1.0,
"prefer": "random"
}
},
{
"time": {
"from": "00:00",
"to": "00:00"
},
"rating": {
"min": 0.0,
"max": 1.0,
"prefer": "min"
}
},
{
"time": {
"from": "00:00",
"to": "00:00"
},
"rating": {
"min": 0.0,
"max": 1.0,
"prefer": "max"
}
}
]
2022-08-19 18:52:31 +00:00
}
}