MiraiForum

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

    [壶言2]HuYanSession2——壶言会话2

    插件发布
    jvm 自定义回复 群管 自定义 定时任务
    57
    165
    42982
    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.
    • D
      damemod last edited by

      回流怎么用

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

        还有能否直接定位上一条添加,用便捷的指令删除,每次删除好痛苦

        D Moyuyanli 2 Replies Last reply Reply Quote 0
        • V
          vynoca last edited by

          请问正则表达式匹配的【触发内容】里怎么表达 "@"某个用户的内容呢?

          V 1 Reply Last reply Reply Quote 0
          • D
            damemod @damemod last edited by

            还有同一个问题在不同群,想要生效不同的答法,但是并不能。

            Moyuyanli 1 Reply Last reply Reply Quote 0
            • V
              vynoca @vynoca last edited by vynoca

              @vynoca

              感谢 @ 放空
              这个是在这个插件的讨论群中问到时,@ 放空 提供的解决办法:

              • 单独使用时 / 两侧或有一侧没有 其他部分的正则表达式的结构时,可以:
              \[mirai:at:123479\]
              \[mirai:at:123479\].*
              .*\[mirai:at:123479\]
              
              • 两侧均有 其他部分的正则表达式的结构时,可以:
              .*\[mirai:at:123479\].*
              .*at:123479.*
              

              大概是这样,建议大家自己再测试一下~~

              1 Reply Last reply Reply Quote 0
              • X
                xuefeng last edited by

                问一下权限ID

                Moyuyanli 1 Reply Last reply Reply Quote 0
                • Moyuyanli
                  Moyuyanli 摸鱼 @damemod last edited by

                  @damemod 这个,可以考虑添加一下,估计得往后面排

                  1 Reply Last reply Reply Quote 0
                  • Moyuyanli
                    Moyuyanli 摸鱼 @damemod last edited by

                    @damemod 这个目前的结构没办法做到哦

                    1 Reply Last reply Reply Quote 0
                    • Moyuyanli
                      Moyuyanli 摸鱼 @xuefeng last edited by

                      @xuefeng 那个id?

                      1 Reply Last reply Reply Quote 0
                      • Moyuyanli
                        Moyuyanli 摸鱼 @GBLW22 last edited by

                        @GBLW22 小柚子厨

                        1 Reply Last reply Reply Quote 0
                        • ChenyunCatcats
                          ChenyunCatcats last edited by

                          能用转义符添加词条吗

                          蔚 1 Reply Last reply Reply Quote 0
                          • 蔚
                            蔚蓝621 @ChenyunCatcats last edited by 蔚蓝621

                            @Moyuyanli 输入dct:指令报错

                            net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
                                    at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:147)
                                    at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:1)
                                    at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:154)
                                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
                                    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
                                    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)
                            Caused by: java.lang.reflect.InvocationTargetException
                                    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
                                    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
                                    at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:140)
                                    ... 10 more
                            
                            2023-01-07 17:52:03 E/Bot.2102678059: java.lang.IllegalStateException: Exception while broadcasting event 'GroupMessageEvent'
                            java.lang.IllegalStateException: Exception while broadcasting event 'GroupMessageEvent'
                                    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:104)
                                    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$1.invokeSuspend(EventDispatcher.kt)
                                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                    at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
                                    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
                                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                                    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                                    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)
                            Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: bound must be greater than origin
                                    at HuYanSession-2.3.1.mirai2.jar//cn.chahuyun.event.MessageEventListener.handleException(MessageEventListener.java:62)
                                    at net.mamoe.mirai.event.SimpleListenerHost$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:111)
                                    at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:75)
                                    at net.mamoe.mirai.internal.event.SafeListener$onEvent$1.invokeSuspend(SafeListener.kt)
                                    ... 9 more
                            Caused by: java.lang.IllegalArgumentException: bound must be greater than origin
                                    at java.base/jdk.internal.util.random.RandomSupport.checkRange(RandomSupport.java:232)
                                    at java.base/java.util.random.RandomGenerator.nextInt(RandomGenerator.java:679)
                                    at java.base/java.util.concurrent.ThreadLocalRandom.nextInt(ThreadLocalRandom.java:458)
                                    at HuYanSession-2.3.1.mirai2.jar[private]//cn.hutool.core.util.RandomUtil.randomInt(RandomUtil.java:184)
                                    at HuYanSession-2.3.1.mirai2.jar//cn.chahuyun.event.MessageEventListener.handleException(MessageEventListener.java:56)
                                    ... 12 more
                            
                            ChenyunCatcats 蔚 2 Replies Last reply Reply Quote 0
                            • ChenyunCatcats
                              ChenyunCatcats @蔚蓝621 last edited by

                              @蔚蓝621 那你找我干嘛()

                              蔚 1 Reply Last reply Reply Quote 0
                              • 蔚
                                蔚蓝621 @ChenyunCatcats last edited by

                                @ChenyunCatcats 这个回复错了~

                                1 Reply Last reply Reply Quote 0
                                • 蔚
                                  蔚蓝621 @蔚蓝621 last edited by

                                  @蔚蓝621 顺便说一下我的操作导致的bug,同样的一个关键词,我第二次%xx的时候,关了一个参数,把全局改成指定群,所以出错了,现在时删除也找不到,查询就报错,g

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

                                    请问回流如何使用

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

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xiaochenmisty last edited by

                                        多词条添加不了语音吗,这边添加完成后查询多词条在聊天记录外面能看到语音,点进去只有编号

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          NoNameGMM last edited by

                                          请问一下...权限id是什么awa

                                          Moyuyanli 1 Reply Last reply Reply Quote 0
                                          • J
                                            jgc9527 last edited by

                                            能写一个动态消息的示例吗

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