MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Molly-Mirai 接入茉莉云聊天机器人

    插件发布
    70
    213
    45261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tsudzuki
      tsudzuki 摸鱼 @yuanbolin last edited by

      @yuanbolin 截屏2022-08-12 21.26.38.png

      K 1 Reply Last reply Reply Quote 0
      • Q
        qingfengxiu last edited by qingfengxiu

        私聊后报错,这是和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
        
        1 Reply Last reply Reply Quote 0
        • Q
          qingfengxiu last edited by

          只有纯@才会有反应,@+内容就没有任何回复,茉莉云的后台都能看到回复的内容
          e3574d41-21ce-4e7d-9584-1bc859c7d637-A3}STT6YU1UUC(00FM)V`6G.png

          F 小仙-老师 2 Replies Last reply Reply Quote 1
          • W
            w1945512171 @tsudzuki last edited by

            @tsudzuki 这个在哪我没找到

            1 Reply Last reply Reply Quote 0
            • W
              w1945512171 last edited by w1945512171

              为什么我会被封号dd4f7bf5-d36a-4e86-85b1-6430cf572e2a-image.png50698efa-1f95-4a57-a5d9-e955612f469e-image.png

              Q 1 Reply Last reply Reply Quote 0
              • Q
                qingfengxiu @w1945512171 last edited by

                @w1945512171 腾讯杀机器人,申诉一下就行

                1 Reply Last reply Reply Quote 1
                • Y
                  yuanbolin last edited by

                  最近发现,不艾特机器人,偶尔他也会自己主动进行回复哦 不清楚这是彩蛋还是bug

                  tsudzuki 南栀沁寒 2 Replies Last reply Reply Quote 1
                  • tsudzuki
                    tsudzuki 摸鱼 @yuanbolin last edited by

                    @yuanbolin 可能是喊了机器人名字吧

                    1 Reply Last reply Reply Quote 0
                    • C
                      CAB233 last edited by

                      这个本地万金油回复怎么在配置文件里写

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        firefairy @CAB233 last edited by

                        @CAB233 config里设置为local data里编辑本地回复

                        1 Reply Last reply Reply Quote 0
                        • 5
                          500岁的幼刀 last edited by

                          是不是冲突了啊

                          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

                          1 Reply Last reply Reply Quote 0
                          • A
                            a67903830 last edited by

                            image.png

                            1 Reply Last reply Reply Quote 0
                            • S
                              shangzhimingge last edited by

                              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) -> 你好

                              1 Reply Last reply Reply Quote 0
                              • 南栀沁寒
                                南栀沁寒 @yuanbolin last edited by

                                @yuanbolin 我发现的机制是 如果你在另外一个群里@机器人 那么bot会在所有群回应接下来的发言

                                Y 1 Reply Last reply Reply Quote 0
                                • Y
                                  yuanbolin @南栀沁寒 last edited by

                                  @南栀沁寒 那估计是这样,我群太多不好排查

                                  1 Reply Last reply Reply Quote 0
                                  • 月
                                    月夜紫罗兰 last edited by

                                    为啥我设置了但官网看有回复但mirai上没显示

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tukongdao last edited by

                                      @tsudzuki 会考虑加入多个名称都能触发机器人的功能吗。就是我发现设置里的名称与官网不同也可以触发机器人,如果能同时存在2个名称都能触发机器人就好了,不同群用起来会更有趣,靴靴~

                                      1 Reply Last reply Reply Quote 0
                                      • siscleaire
                                        siscleaire @siscleaire last edited by

                                        @siscleaire 在 Molly-Mirai 接入茉莉云聊天机器人 中说:

                                        可以给不同的群设置独立开关吗

                                        欧捏该😫

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          koitoyuu @tsudzuki last edited by

                                          @tsudzuki 呼唤机器人后机器人持续回复的次数是单个群的次数还是所有群的次数啊。希望能加个持续回复的超时时间

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            DianJiu last edited by

                                            大佬能不能添加一个bot名字的正则匹配?)想要直接在消息里带bot名字就触发而不用@

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 9 / 11
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact