mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2025-11-27 08:35:40 +00:00
add selector
This commit is contained in:
@@ -15,6 +15,7 @@ dependencies {
|
||||
api project(":plaguposter.triggers.command")
|
||||
api project(":plaguposter.ratings")
|
||||
api project(":plaguposter.ratings.source")
|
||||
api project(":plaguposter.ratings.selector")
|
||||
|
||||
api libs.psql
|
||||
}
|
||||
|
||||
@@ -24,5 +24,42 @@
|
||||
},
|
||||
"autoAttach": true,
|
||||
"ratingOfferText": "What do you think about it?"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user