mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-17 13:33:47 +00:00
update sample config
This commit is contained in:
parent
609c6b97fc
commit
29d6d11d87
@ -13,19 +13,24 @@
|
|||||||
"dev.inmo.plaguposter.ratings.source.Plugin",
|
"dev.inmo.plaguposter.ratings.source.Plugin",
|
||||||
"dev.inmo.plaguposter.ratings.selector.Plugin",
|
"dev.inmo.plaguposter.ratings.selector.Plugin",
|
||||||
"dev.inmo.plaguposter.triggers.selector_with_timer.Plugin",
|
"dev.inmo.plaguposter.triggers.selector_with_timer.Plugin",
|
||||||
"dev.inmo.plaguposter.ratings.gc.Plugin",
|
|
||||||
"dev.inmo.plaguposter.inlines.Plugin",
|
"dev.inmo.plaguposter.inlines.Plugin",
|
||||||
"dev.inmo.plaguposter.triggers.command.Plugin"
|
"dev.inmo.plaguposter.triggers.command.Plugin",
|
||||||
|
"dev.inmo.plaguposter.posts.panel.Plugin"
|
||||||
],
|
],
|
||||||
"posts": {
|
"posts": {
|
||||||
"targetChat": 12345678,
|
"chats": {
|
||||||
"cacheChat": 12345678,
|
"targetChat": 12345678,
|
||||||
"sourceChat": 12345678
|
"cacheChat": 12345678,
|
||||||
|
"sourceChat": 12345678
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ratingsPolls": {
|
"ratingsPolls": {
|
||||||
"variants": {
|
"variants": {
|
||||||
"Ok": 1,
|
"Круть": 2,
|
||||||
"Not ok": -1
|
"Ок": 1,
|
||||||
|
"Не ок": -1,
|
||||||
|
"Совсем не ок": -2,
|
||||||
|
"Посмотреть результаты": 0
|
||||||
},
|
},
|
||||||
"autoAttach": true,
|
"autoAttach": true,
|
||||||
"ratingOfferText": "What do you think about it?"
|
"ratingOfferText": "What do you think about it?"
|
||||||
@ -35,33 +40,18 @@
|
|||||||
{
|
{
|
||||||
"time": {
|
"time": {
|
||||||
"from": "00:00",
|
"from": "00:00",
|
||||||
"to": "00:00"
|
"to": "23:59"
|
||||||
},
|
},
|
||||||
"rating": {
|
"rating": {
|
||||||
"min": 0.0,
|
"prefer": "max"
|
||||||
"max": 1.0,
|
|
||||||
"prefer": "random"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"time": {
|
"time": {
|
||||||
"from": "00:00",
|
"from": "23:59",
|
||||||
"to": "00:00"
|
"to": "00:00"
|
||||||
},
|
},
|
||||||
"rating": {
|
"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"
|
"prefer": "max"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,11 +60,13 @@
|
|||||||
"timer_trigger": {
|
"timer_trigger": {
|
||||||
"krontab": "0 30 2/4 * *"
|
"krontab": "0 30 2/4 * *"
|
||||||
},
|
},
|
||||||
"gc": {
|
"panel": {
|
||||||
"autoclear": {
|
"textPrefix": "Post management:",
|
||||||
"rating": -2,
|
"buttonsPerRow": 2,
|
||||||
"autoClearKrontab": "0 0 0 * *",
|
"parseMode": "MarkdownV2",
|
||||||
"skipPostAge": 86400
|
"deleteButtonText": "Delete"
|
||||||
}
|
},
|
||||||
|
"publish_command": {
|
||||||
|
"panelButtonText": "Publish"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user