mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-11-22 07:33:46 +00:00
fill changelog
This commit is contained in:
parent
bb1856de90
commit
6b2b0b07f5
16
CHANGELOG.md
16
CHANGELOG.md
@ -2,6 +2,22 @@
|
|||||||
|
|
||||||
## 1.0.0
|
## 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
|
## 0.5.1
|
||||||
|
|
||||||
* `Versions`
|
* `Versions`
|
||||||
|
@ -22,8 +22,8 @@ interface Plugin {
|
|||||||
fun Module.setupDI(
|
fun Module.setupDI(
|
||||||
database: Database,
|
database: Database,
|
||||||
params: JsonObject
|
params: JsonObject
|
||||||
)
|
) {}
|
||||||
suspend fun BehaviourContext.setupBotPlugin(
|
suspend fun BehaviourContext.setupBotPlugin(
|
||||||
koin: Koin
|
koin: Koin
|
||||||
)
|
) {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user