mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-18 05:53:47 +00:00
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
||
"database": {
|
||
"url": "jdbc:postgresql://127.0.0.1:8091/test",
|
||
"username": "test",
|
||
"password": "test",
|
||
"driver": "org.postgresql.Driver"
|
||
},
|
||
"botToken": "1234567890:ABCDEFGHIJKLMNOP_qrstuvwxyz12345678",
|
||
"plugins": [
|
||
"dev.inmo.plaguposter.posts.Plugin",
|
||
"dev.inmo.plaguposter.posts.registrar.Plugin",
|
||
"dev.inmo.plaguposter.ratings.Plugin",
|
||
"dev.inmo.plaguposter.ratings.source.Plugin",
|
||
"dev.inmo.plaguposter.ratings.selector.Plugin",
|
||
"dev.inmo.plaguposter.triggers.selector_with_timer.Plugin",
|
||
"dev.inmo.plaguposter.inlines.Plugin",
|
||
"dev.inmo.plaguposter.triggers.command.Plugin",
|
||
"dev.inmo.plaguposter.posts.panel.Plugin"
|
||
],
|
||
"posts": {
|
||
"chats": {
|
||
"targetChat": 12345678,
|
||
"cacheChat": 12345678,
|
||
"sourceChat": 12345678
|
||
}
|
||
},
|
||
"ratingsPolls": {
|
||
"variants": {
|
||
"Круть": 2,
|
||
"Ок": 1,
|
||
"Не ок": -1,
|
||
"Совсем не ок": -2,
|
||
"Посмотреть результаты": 0
|
||
},
|
||
"autoAttach": true,
|
||
"ratingOfferText": "What do you think about it?"
|
||
},
|
||
"selector": {
|
||
"items": [
|
||
{
|
||
"time": {
|
||
"from": "00:00",
|
||
"to": "23:59"
|
||
},
|
||
"rating": {
|
||
"prefer": "max"
|
||
}
|
||
},
|
||
{
|
||
"time": {
|
||
"from": "23:59",
|
||
"to": "00:00"
|
||
},
|
||
"rating": {
|
||
"prefer": "max"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"timer_trigger": {
|
||
"krontab": "0 30 2/4 * *"
|
||
},
|
||
"panel": {
|
||
"textPrefix": "Post management:",
|
||
"buttonsPerRow": 2,
|
||
"parseMode": "MarkdownV2",
|
||
"deleteButtonText": "Delete"
|
||
},
|
||
"publish_command": {
|
||
"panelButtonText": "Publish"
|
||
}
|
||
}
|