mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2026-05-24 09:17:26 +00:00
Compare commits
26 Commits
v2.3.4
...
f7cce657a8
| Author | SHA1 | Date | |
|---|---|---|---|
| f7cce657a8 | |||
| a4ca827a5c | |||
| 224107e35e | |||
| 9efebd027d | |||
| 841156e8b5 | |||
| ab4d06a44c | |||
| 0766bf7d76 | |||
| f7c7e338e2 | |||
| 6a4fed07ee | |||
| 88f5fbfd18 | |||
| f644817c04 | |||
| 8a8eb3c3b7 | |||
| 8cb68495c9 | |||
| 6f2c922edf | |||
| 5895335031 | |||
| 5f25250bcc | |||
| f0d2a6d39d | |||
| 3e4dc1fdb0 | |||
| 55012eacec | |||
| c64314fa11 | |||
| f0b7ae7325 | |||
| 4ade949593 | |||
| 2a9342e4c7 | |||
| 7d57ceafaa | |||
| 823a53d5aa | |||
| c1889ceff0 |
48
CHANGELOG.md
48
CHANGELOG.md
@@ -1,5 +1,53 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.1.2
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `microutils`: `0.14.2`
|
||||||
|
* `exposed`: `0.41.1`
|
||||||
|
|
||||||
|
## 3.1.1
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `tgbotapi`: `4.1.1`
|
||||||
|
|
||||||
|
## 3.1.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `1.7.21`
|
||||||
|
* `microutils`: `0.14.1`
|
||||||
|
* `tgbotapi`: `4.1.0`
|
||||||
|
* `klock`: `3.4.0`
|
||||||
|
* `uuid`: `0.6.0`
|
||||||
|
|
||||||
|
## 3.0.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `microutils`: `0.14.0`
|
||||||
|
* `tgbotapi`: `4.0.0`
|
||||||
|
* `kslog`: `0.5.3`
|
||||||
|
* `exposed`: `0.40.1`
|
||||||
|
* `klock`: `3.3.1`
|
||||||
|
|
||||||
|
## 2.4.1
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `microutils`: `0.13.2`
|
||||||
|
* `tgbotapi`: `3.3.1`
|
||||||
|
* `klock`: `3.3.0`
|
||||||
|
* `ktor`: `2.1.3`
|
||||||
|
* `koin`: `3.2.2`
|
||||||
|
|
||||||
|
## 2.4.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `1.7.20`
|
||||||
|
* `serialization`: `1.4.1`
|
||||||
|
* `tgbotapi`: `3.3.0`
|
||||||
|
* `microutils`: `0.13.1`
|
||||||
|
* `klock`: `3.2.0`
|
||||||
|
* `ktor`: `2.1.2`
|
||||||
|
|
||||||
## 2.3.4
|
## 2.3.4
|
||||||
|
|
||||||
* `Versions`:
|
* `Versions`:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitText
|
|||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitTextMessage
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitTextMessage
|
||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onCommand
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onCommand
|
||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onUnhandledCommand
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onUnhandledCommand
|
||||||
import dev.inmo.tgbotapi.types.ChatId
|
import dev.inmo.tgbotapi.types.IdChatIdentifier
|
||||||
import kotlinx.coroutines.flow.first
|
import kotlinx.coroutines.flow.first
|
||||||
import kotlinx.serialization.SerialName
|
import kotlinx.serialization.SerialName
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
@@ -38,9 +38,9 @@ object HelloPlugin : Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private sealed interface InternalFSMState : State {
|
private sealed interface InternalFSMState : State {
|
||||||
override val context: ChatId
|
override val context: IdChatIdentifier
|
||||||
data class DidntSaidHello(override val context: ChatId) : InternalFSMState
|
data class DidntSaidHello(override val context: IdChatIdentifier) : InternalFSMState
|
||||||
data class SaidHelloOnce(override val context: ChatId) : InternalFSMState
|
data class SaidHelloOnce(override val context: IdChatIdentifier) : InternalFSMState
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun BehaviourContextWithFSM<State>.setupBotPlugin(koin: Koin) {
|
override suspend fun BehaviourContextWithFSM<State>.setupBotPlugin(koin: Koin) {
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ kotlin.js.generate.externals=true
|
|||||||
kotlin.incremental=true
|
kotlin.incremental=true
|
||||||
|
|
||||||
group=dev.inmo
|
group=dev.inmo
|
||||||
version=2.3.4
|
version=3.1.2
|
||||||
|
|||||||
@@ -1,28 +1,26 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
kt = "1.7.10"
|
kt = "1.7.21"
|
||||||
kt-serialization = "1.4.0"
|
kt-serialization = "1.4.1"
|
||||||
kt-coroutines = "1.6.4"
|
kt-coroutines = "1.6.4"
|
||||||
|
|
||||||
microutils = "0.12.16"
|
microutils = "0.14.2"
|
||||||
tgbotapi = "3.2.7"
|
tgbotapi = "4.1.1"
|
||||||
kslog = "0.5.2"
|
kslog = "0.5.3"
|
||||||
|
|
||||||
jb-exposed = "0.39.2"
|
jb-exposed = "0.41.1"
|
||||||
jb-dokka = "1.7.10"
|
jb-dokka = "1.7.20"
|
||||||
|
|
||||||
sqlite = "3.39.3.0"
|
sqlite = "3.39.3.0"
|
||||||
|
|
||||||
klock = "3.1.0"
|
klock = "3.4.0"
|
||||||
uuid = "0.5.0"
|
uuid = "0.6.0"
|
||||||
|
|
||||||
ktor = "2.1.1"
|
ktor = "2.1.3"
|
||||||
|
|
||||||
gh-release = "2.4.1"
|
gh-release = "2.4.1"
|
||||||
|
|
||||||
android-gradle = "7.2.2"
|
koin = "3.2.2"
|
||||||
dexcount = "3.1.0"
|
|
||||||
koin = "3.2.0"
|
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user