mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2025-09-15 13:09:29 +00:00
fixes
This commit is contained in:
@@ -109,7 +109,7 @@ data class RatingConfig(
|
||||
}
|
||||
|
||||
companion object {
|
||||
val values = arrayOf(Max, Min, Random)
|
||||
val values: Array<Prefer> = arrayOf(Max, Min, Random)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -197,14 +197,14 @@ object Plugin : Plugin {
|
||||
addTemplate(
|
||||
OfferTemplate(
|
||||
"Enable ratings for post",
|
||||
listOf(Format("attach_ratings")),
|
||||
listOf(Format("/attach_ratings")),
|
||||
"Require reply on post message"
|
||||
)
|
||||
)
|
||||
addTemplate(
|
||||
OfferTemplate(
|
||||
"Disable ratings for post",
|
||||
listOf(Format("detach_ratings")),
|
||||
listOf(Format("/detach_ratings")),
|
||||
"Require reply on post message"
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user