Molly-Mirai 接入茉莉云聊天机器人
-
-
私聊后报错,这是和onebot冲突了么
2022-08-15 15:40:18 W/Molly: Linked class io.ktor.client.engine.okhttp.OkHttp in onebot-kotlin-0.3.4-all.jar but plugin not depend on it. 2022-08-15 15:40:18 W/Molly: Class loading logic may change in feature. 2022-08-15 15:40:18 E/Molly: Exception in coroutine Plugin org.laolittle.plugin.molly.Molly of Molly java.lang.NoSuchMethodError: 'java.lang.Object io.ktor.client.call.HttpClientCall.receive(io.ktor.util.reflect.TypeInfo, kotlin.coroutines.Continuation)' at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.utils.KtorOkHttp.post(KtorOkHttp.kt:96) at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.utils.KtorOkHttp$post$1.invokeSuspend(KtorOkHttp.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at onebot-kotlin-0.3.4-all.jar//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2022-08-15 15:40:23 W/arknights-helper: Downloader Ignore java.net.ConnectException: Failed to connect to raw.fastgit.org/89.31.125.6:443
-
只有纯@才会有反应,@+内容就没有任何回复,茉莉云的后台都能看到回复的内容
-
@tsudzuki 这个在哪我没找到
-
为什么我会被封号
-
@w1945512171 腾讯杀机器人,申诉一下就行
-
最近发现,不艾特机器人,偶尔他也会自己主动进行回复哦 不清楚这是彩蛋还是bug
-
@yuanbolin 可能是喊了机器人名字吧
-
这个本地万金油回复怎么在配置文件里写
-
@CAB233 config里设置为local data里编辑本地回复
-
是不是冲突了啊
2022-08-23 12:48:03 W/Molly: Linked class io.ktor.client.engine.HttpClientEngineFactory in mirai-api-http-v2.3.3.mirai.jar but plugin not depend on it.
2022-08-23 12:48:03 W/Molly: Class loading logic may change in feature.
2022-08-23 12:48:03 E/Molly: Exception in coroutine Plugin org.laolittle.plugin.molly.Molly of Molly
java.lang.ExceptionInInitializerError
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:253)
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:511)
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:747)
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:166)
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:125)
at net.mamoe.mirai.internal.event.EventListeners.access$process(EventListeners.kt:33)
at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:90)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.ClassCastException: class io.ktor.client.engine.okhttp.OkHttp cannot be cast to class io.ktor.client.engine.HttpClientEngineFactory (io.ktor.client.engine.okhttp.OkHttp is in unnamed module of loader 'app'; io.ktor.client.engine.HttpClientEngineFactory is in unnamed module of loader 'mirai-api-http-v2.3.3.mirai.jar' @47311277)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.utils.KtorOkHttp.<clinit>(KtorOkHttp.kt:13)
... 29 more -
-
2022-09-05 17:15:02 V/Bot.2154611483: [SCP基金会(303/500)(870650842)] 【透皇派】殇之冥歌(1832874089) -> [mirai:at:2154611483] 你好
2022-09-05 17:15:02 W/Molly: Linked class io.ktor.client.engine.HttpClientEngineFactory in mirai-api-http-v2.4.0.mirai.jar but plugin not depend on it.
2022-09-05 17:15:03 W/Molly: Class loading logic may change in feature.2022-09-05 17:21:00 E/Molly: Exception in coroutine Plugin org.laolittle.plugin.molly.Molly of Molly
java.lang.NoClassDefFoundError: Could not initialize class org.laolittle.plugin.molly.utils.KtorOkHttp
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:253)
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:511)
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:747)
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:166)
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:125)
at net.mamoe.mirai.internal.event.EventListeners.access$process(EventListeners.kt:33)
at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:90)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)2022-09-05 17:21:00 V/Bot.2154611483: 殇之冥歌(1832874089) -> 你好
-
@yuanbolin 我发现的机制是 如果你在另外一个群里@机器人 那么bot会在所有群回应接下来的发言
-
@南栀沁寒 那估计是这样,我群太多不好排查
-
为啥我设置了但官网看有回复但mirai上没显示
-
@tsudzuki 会考虑加入多个名称都能触发机器人的功能吗。就是我发现设置里的名称与官网不同也可以触发机器人,如果能同时存在2个名称都能触发机器人就好了,不同群用起来会更有趣,靴靴~
-
-
@tsudzuki 呼唤机器人后机器人持续回复的次数是单个群的次数还是所有群的次数啊。希望能加个持续回复的超时时间
-
大佬能不能添加一个bot名字的正则匹配?)想要直接在消息里带bot名字就触发而不用@