Skip to content

Commit 141b5a2

Browse files
committed
version to 0.1.0
1 parent 98e9363 commit 141b5a2

File tree

4 files changed

+3
-6
lines changed
  • buildSrc/src/main/kotlin
  • simbot-component-telegram-core/src/commonMain/kotlin/love/forte/simbot/component/telegram/core/actor/internal
  • simbot-component-telegram-stdlib/src/commonMain/kotlin/love/forte/simbot/telegram/stdlib/bot

4 files changed

+3
-6
lines changed

buildSrc/src/main/kotlin/P.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ object P {
4444
override val homepage: String get() = HOMEPAGE
4545

4646

47-
private val baseVersion = v(0, 0, 4)
47+
private val baseVersion = v(0, 1, 0)
4848

4949
val snapshotVersion = baseVersion - Version.SNAPSHOT
5050
override val version = if (isSnapshot()) snapshotVersion else baseVersion

simbot-component-telegram-core/src/commonMain/kotlin/love/forte/simbot/component/telegram/core/actor/internal/AbstractTelegramChatGroupActor.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package love.forte.simbot.component.telegram.core.actor.internal
1919

2020
import love.forte.simbot.common.collectable.Collectable
21+
import love.forte.simbot.common.collectable.emptyCollectable
2122
import love.forte.simbot.common.id.ID
2223
import love.forte.simbot.common.id.toInt
2324
import love.forte.simbot.component.telegram.core.actor.TelegramChatGroupActor
@@ -43,7 +44,7 @@ internal abstract class AbstractTelegramChatGroupActor : TelegramChatGroupActor
4344
abstract override val source: Chat
4445

4546
override val roles: Collectable<Role>
46-
get() = TODO("Not yet implemented")
47+
get() = emptyCollectable() // TODO("Not yet implemented")
4748

4849
override suspend fun botAsMember(): TelegramMember {
4950
return bot.queryUserInfo().toTelegramMember(bot)

simbot-component-telegram-stdlib/src/commonMain/kotlin/love/forte/simbot/telegram/stdlib/bot/Bot.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@ public class BotConfiguration {
322322
*/
323323
public var longPolling: LongPolling? = null
324324

325-
// TODO exception handler?
326-
327325
public companion object {
328326
/**
329327
* Default value for long polling timeout: 30 minutes.

simbot-component-telegram-stdlib/src/commonMain/kotlin/love/forte/simbot/telegram/stdlib/bot/BotFactory.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ import kotlin.jvm.JvmOverloads
2222
import kotlin.jvm.JvmStatic
2323
import kotlin.jvm.JvmSynthetic
2424

25-
// TODO Doc
26-
2725
/**
2826
* A [Bot] factory.
2927
*/

0 commit comments

Comments
 (0)