PlaguPoster/runner/config.json

77 lines
1.9 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",
2022-09-06 18:23:14 +00:00
"dev.inmo.plaguposter.ratings.source.Plugin",
"dev.inmo.plaguposter.ratings.selector.Plugin",
2022-09-09 11:27:11 +00:00
"dev.inmo.plaguposter.triggers.selector_with_timer.Plugin",
2022-12-14 06:10:21 +00:00
"dev.inmo.plagubot.plugins.inline.queries.Plugin",
2022-09-14 20:27:06 +00:00
"dev.inmo.plaguposter.triggers.command.Plugin",
2022-12-14 06:10:21 +00:00
"dev.inmo.plaguposter.posts.panel.Plugin",
"dev.inmo.plaguposter.common.CommonPlugin",
"dev.inmo.plaguposter.triggers.timer.Plugin",
"dev.inmo.plaguposter.triggers.timer.disablers.ratings.Plugin",
"dev.inmo.plaguposter.triggers.timer.disablers.autoposts.Plugin"
2022-08-19 18:52:31 +00:00
],
"posts": {
2022-09-14 20:27:06 +00:00
"chats": {
"targetChat": 12345678,
"cacheChat": 12345678,
"sourceChat": 12345678
}
2022-09-04 07:27:35 +00:00
},
"ratingsPolls": {
"variants": {
2022-09-14 20:27:06 +00:00
"Круть": 2,
"Ок": 1,
"Не ок": -1,
"Совсем не ок": -2,
"Посмотреть результаты": 0
2022-09-04 07:27:35 +00:00
},
"autoAttach": true,
"ratingOfferText": "What do you think about it?"
2022-09-06 17:56:58 +00:00
},
"selector": {
"items": [
{
"time": {
"from": "00:00",
2022-09-14 20:27:06 +00:00
"to": "23:59"
2022-09-06 17:56:58 +00:00
},
"rating": {
2022-09-14 20:27:06 +00:00
"prefer": "max"
2022-09-06 17:56:58 +00:00
}
},
{
"time": {
2022-09-14 20:27:06 +00:00
"from": "23:59",
2022-09-06 17:56:58 +00:00
"to": "00:00"
},
"rating": {
"prefer": "max"
}
}
]
2022-09-06 18:23:14 +00:00
},
"timer_trigger": {
"krontab": "0 30 2/4 * *"
2022-09-09 11:27:11 +00:00
},
2022-09-14 20:27:06 +00:00
"panel": {
"textPrefix": "Post management:",
"buttonsPerRow": 2,
"parseMode": "MarkdownV2",
"deleteButtonText": "Delete"
},
"publish_command": {
"panelButtonText": "Publish"
2022-08-19 18:52:31 +00:00
}
}