Compare commits

...

25 Commits

Author SHA1 Message Date
7b14343cc5 update gradle wrapper 2023-02-28 11:41:29 +06:00
62c1f87e95 Update libs.versions.toml 2023-02-27 23:49:19 +06:00
317f15bbb8 start 4.0.0 2023-02-27 23:47:53 +06:00
34c0c05715 Merge pull request #65 from InsanusMokrassar/3.5.0
3.5.0
2023-02-17 15:58:32 +06:00
d23bde75b5 update dependencies 2023-02-17 14:08:36 +06:00
46e48efe52 start 3.5.0 2023-02-17 14:07:28 +06:00
1bf59c20d4 Merge pull request #64 from InsanusMokrassar/3.4.1
3.4.1
2023-02-12 01:35:21 +06:00
3592a5907c setupBotPlugin now works synchronously 2023-02-12 01:29:45 +06:00
328a8b215c start 3.4.1 2023-02-12 01:28:35 +06:00
57ba6411e4 Merge pull request #63 from InsanusMokrassar/3.4.0
3.4.0
2023-02-06 15:27:10 +06:00
4d53d2dc63 update dependencies 2023-02-06 14:12:23 +06:00
2671794f22 start 3.4.0 2023-02-06 14:10:34 +06:00
9eff09ca68 Merge pull request #62 from InsanusMokrassar/3.3.1
3.3.1
2023-01-19 00:23:12 +06:00
7f1d972105 Update CHANGELOG.md 2023-01-19 00:22:25 +06:00
d05413a54e Update libs.versions.toml 2023-01-19 00:15:29 +06:00
2342bd9a38 Update gradle.properties 2023-01-19 00:02:22 +06:00
c9a6df5614 Merge pull request #61 from InsanusMokrassar/3.3.0
3.3.0
2023-01-01 02:28:52 +06:00
295f1ce7ab Update CHANGELOG.md 2023-01-01 02:27:56 +06:00
4ca97546b5 Update libs.versions.toml 2023-01-01 02:26:42 +06:00
166dc4b729 Update gradle.properties 2023-01-01 02:25:30 +06:00
f09929648e Merge pull request #60 from InsanusMokrassar/3.2.3
3.2.3
2022-12-28 12:41:51 +06:00
7d906e0c9c Update CHANGELOG.md 2022-12-28 09:27:55 +06:00
dc32a4eb7f Update libs.versions.toml 2022-12-28 09:27:38 +06:00
5b5f95e0ec start 3.2.3 2022-12-28 09:27:04 +06:00
a0fd9012d2 Merge pull request #59 from InsanusMokrassar/3.2.2
3.2.2
2022-12-20 09:19:12 +06:00
5 changed files with 56 additions and 22 deletions

View File

@@ -1,5 +1,41 @@
# Changelog
## 3.5.0
* `Versions`:
* `tgbotapi`: `5.2.0`
* `microutils`: `0.16.10`
* `koin`: `3.3.2`
## 3.4.1
* `setupBotPlugin` now works synchronously
## 3.4.0
* `Versions`:
* `tgbotapi`: `5.1.0`
* `microutils`: `0.16.8`
* `ktor`: `2.2.3`
## 3.3.1
* `Versions`:
* `tgbotapi`: `5.0.1`
* `microutils`: `0.16.6`
* `ktor`: `2.2.2`
## 3.3.0
* `Versions`:
* `tgbotapi`: `5.0.0`
## 3.2.3
* `Versions`:
* `tgbotapi`: `4.2.3`
* `microutils`: `0.16.4`
## 3.2.2
* `Versions`:

View File

@@ -63,20 +63,18 @@ data class PlaguBot(
}
override suspend fun BehaviourContextWithFSM<State>.setupBotPlugin(koin: Koin) {
config.plugins.map { plugin ->
launch {
runCatchingSafely {
logger.i("Start loading of $plugin")
with(plugin) {
setupBotPlugin(koin)
}
}.onFailure { e ->
logger.w("Unable to load bot part of $plugin", e)
}.onSuccess {
logger.i("Complete loading of $plugin")
config.plugins.forEach { plugin ->
runCatchingSafely {
logger.i("Start loading of $plugin")
with(plugin) {
setupBotPlugin(koin)
}
}.onFailure { e ->
logger.w("Unable to load bot part of $plugin", e)
}.onSuccess {
logger.i("Complete loading of $plugin")
}
}.joinAll()
}
}
/**

View File

@@ -5,4 +5,4 @@ kotlin.js.generate.externals=true
kotlin.incremental=true
group=dev.inmo
version=3.2.2
version=4.0.0

View File

@@ -1,12 +1,12 @@
[versions]
kt = "1.7.22"
kt-serialization = "1.4.1"
kt = "1.8.10"
kt-serialization = "1.5.0"
kt-coroutines = "1.6.4"
microutils = "0.16.2"
tgbotapi = "4.2.2"
kslog = "0.5.4"
microutils = "0.17.0"
tgbotapi = "6.0.0"
kslog = "1.0.0"
jb-exposed = "0.41.1"
jb-dokka = "1.7.20"
@@ -14,13 +14,13 @@ jb-dokka = "1.7.20"
sqlite = "3.40.0.0"
klock = "3.4.0"
uuid = "0.6.0"
uuid = "0.7.0"
ktor = "2.2.1"
ktor = "2.2.3"
gh-release = "2.4.1"
koin = "3.2.2"
koin = "3.3.2"
[libraries]

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists