Skip to content

Commit

Permalink
chore: fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KurenaiRyu committed Aug 27, 2024
1 parent 11cf43f commit 48f68b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@file:Suppress("UnstableApiUsage")

rootProject.name = "im-sync-bot"

pluginManagement {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/kurenai/imsyncbot/utils/BotUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ object BotUtil {
internalId(entity.messageId)
fromId = entity.fromId
targetId = entity.targetId
time = entity.time.atZone(ZoneOffset.ofHours(8)).toEpochSecond().toIntOrFail()
time = entity.time.atZone(ZoneOffset.ofHours(8)).toEpochSecond().toInt()

}.build(entity.botId, entity.type)
}
Expand Down

0 comments on commit 48f68b5

Please sign in to comment.