Molly-Mirai 接入茉莉云聊天机器人
-
@tsudzuki 大佬,replyTimes好像有bug,我设置的几十条,但机器人回复几条就不回复了
-
![6WOYMXBZ1M7{X_YH5%9}LU.png
佬 这个该怎么解决 -
大佬我的茉莉云上有但群里面不显示
-
佬 请问这是个什么情况
-
-
希望解决空格问题,有些回复不太对
-
此回复已被删除! -
此回复已被删除! -
大佬,可以看看这是什么问题吗
2022-11-15 01:07:05 E/Molly: Exception in coroutine Plugin org.laolittle.plugin.molly.Molly of Molly
java.lang.NoSuchMethodError: 'void io.ktor.client.request.HttpRequestKt.url$default(io.ktor.client.request.HttpRequestBuilder, java.lang.String, java.lang.String, int, java.lang.String, kotlin.jvm.functions.Function1, int, java.lang.Object)'
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.utils.KtorOkHttp.post(KtorOkHttp.kt:80)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.model.MollyApiService.request(MollyApiService.kt:39)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invokeSuspend(FriendMessageListener.kt:19)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invoke(FriendMessageListener.kt)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invoke(FriendMessageListener.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:255)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:506)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invokeSuspend(EventChannel.kt:524)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invoke(EventChannel.kt)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58)
at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:120)
at net.mamoe.mirai.internal.event.EventListeners.access$process(EventListeners.kt:28)
at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)之前一直都正常使用的,最近mcl更新后就出现了问题,私聊报错,群聊里@机器人,有反应,但调用不了茉莉云
-
@A-n-k-a 暂未适配新版本
-
@tsudzuki 请问未来有计划适配新版本吗
-
@yuanbolin 看情况咯
-
@tsudzuki 啊这,升级版本需要改业务代码吗。如果只需要改版本号的话我自己就行了哦
-
@yuanbolin 在gradle项目内添加ktor依赖即可
-
此回复已被删除! -
@tsudzuki 在 Molly-Mirai 接入茉莉云聊天机器人 中说:
在gradle项目内添加ktor依赖即可
我加了core 和okhttp的1.6.7版本依赖打包成功,但使用依然报上面的错
-
-
设置完成后,@机器人在控制台能看到回复消息,但是群里无机器人回复?
-
@Noloafing 都没有
-
@Srkm JDK问题?