chore: bump rob

This commit is contained in:
2024-10-27 11:02:06 +08:00
parent 7e851e831a
commit c3dc3fa4e5
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[versions] [versions]
kotlinVersion = "2.0.20" kotlinVersion = "2.0.20"
ronebotVersion = "2.1.3" ronebotVersion = "2.1.4"
shadowVersion = "8.3.0" shadowVersion = "8.3.0"
okhttpVersion = "5.0.0-alpha.14" okhttpVersion = "5.0.0-alpha.14"
exposedVersion = "0.53.0" exposedVersion = "0.53.0"
@@ -201,9 +201,9 @@ class FancyBot : OneBotListener {
if (event.targetId == configManager.selfId) { if (event.targetId == configManager.selfId) {
val msg = MessageChain.Builder() val msg = MessageChain.Builder()
.addAt(event.userId) .addAt(event.userId)
.addText("${event.action.first()}牛魔呢") .addText("${event.pokeAction.first()}牛魔呢")
.build() .build()
event.onebotAction.sendGroupMessage(event.groupId!!, msg) event.action.sendGroupMessage(event.groupId!!, msg)
} }
} }