This commit is contained in:
2022-09-09 17:27:11 +06:00
parent 53675ca598
commit 6d8bc0326f
13 changed files with 126 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ dependencies {
api project(":plaguposter.ratings")
api project(":plaguposter.ratings.source")
api project(":plaguposter.ratings.selector")
api project(":plaguposter.ratings.gc")
api libs.psql
}

View File

@@ -12,7 +12,8 @@
"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.triggers.selector_with_timer.Plugin",
"dev.inmo.plaguposter.ratings.gc.Plugin"
],
"posts": {
"targetChat": 12345678,
@@ -66,5 +67,12 @@
},
"timer_trigger": {
"krontab": "0 30 2/4 * *"
},
"gc": {
"autoclear": {
"rating": -2,
"autoClearKrontab": "0 0 0 * *",
"skipPostAge": 86400
}
}
}