mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-11-25 00:48:42 +00:00
fill changelog
This commit is contained in:
parent
77ba1d686c
commit
a5e7ac180d
16
CHANGELOG.md
16
CHANGELOG.md
@ -2,6 +2,22 @@
|
||||
|
||||
## 1.0.0
|
||||
|
||||
* `Versions`
|
||||
* `kotlin`: `1.6.21`
|
||||
* `coroutines`: `1.6.1`
|
||||
* `serialization`: `1.3.3`
|
||||
* `exposed`: `0.38.2`
|
||||
* `tgbotapi`: `1.1.0`
|
||||
* `microutils`: `0.10.4`
|
||||
* `Common`:
|
||||
* ___ALL THE SDI/KLASSINDEX FUNCTIONALITY HAS BEEN REMOVED___
|
||||
* `Plugin`:
|
||||
* Now plugins must have empty constructor
|
||||
* Now plugins may provide realization of two methods: `setupDI` and `setupBotPlugin`
|
||||
* `PlaguBot`:
|
||||
* `Config` now is simple serializable `data class`
|
||||
* `PlaguBot` now is more simple as a plugin
|
||||
|
||||
## 0.5.1
|
||||
|
||||
* `Versions`
|
||||
|
@ -22,8 +22,8 @@ interface Plugin {
|
||||
fun Module.setupDI(
|
||||
database: Database,
|
||||
params: JsonObject
|
||||
)
|
||||
) {}
|
||||
suspend fun BehaviourContext.setupBotPlugin(
|
||||
koin: Koin
|
||||
)
|
||||
) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user