MiraiForum

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

    WordCloudPlugin 群词云生成器

    插件发布
    19
    34
    6991
    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.
    • gsycl2004
      gsycl2004 摸鱼 @DrLai12club last edited by

      @DrLai12club 2.11更改了原先的插件加载方式,我得打包一个新的了

      1 Reply Last reply Reply Quote 0
      • DrLai12club
        DrLai12club @gsycl2004 last edited by

        @gsycl2004 亲测2.11.0-M1上是可用的,不知道RC2改了什么,我现在把框架降级之后就好了

        1 Reply Last reply Reply Quote 0
        • Tio Yae
          Tio Yae last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Tio Yae
            Tio Yae last edited by

            大佬,请教一下,我给了一个过滤URL的正则,但是一运行就被截断了;还有就是想问一下过滤的对象是什么类型的文本,纯文本还是mirai码呢

            1652971694(1).png

            1 Reply Last reply Reply Quote 0
            • H
              hadesmercy last edited by

              请问可以添加一个导出所有聊天记录的功能吗?

              1 Reply Last reply Reply Quote 0
              • S
                saratoga-no-one last edited by

                image.png
                请问一下这个背景图片的设置是填写绝对路径吗?我把图片(长方形的)放在这个路径下,得到的词云背景还是纯白的(但是形状变成了正方形)。还有“图片中填充文字之外的部分需用透明色表示”这句话不太理解,是要对背景图片提前做什么处理么(比如修改图片整体alpha为半透明)?

                gsycl2004 1 Reply Last reply Reply Quote 0
                • gsycl2004
                  gsycl2004 摸鱼 @saratoga-no-one last edited by

                  @saratoga-no-one 这个不是背景图片,是通过透明和不透明来控制词的排布位置

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    saratoga-no-one @gsycl2004 last edited by

                    @gsycl2004 明白了,感谢解答!(如果您有时间和精力的话,可以考虑一下弄个背景图片的功能?)

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sanze2000 @bic-potato last edited by

                      @bic-potato 在 WordCloudPlugin 群词云生成器 中说:

                      使用命令/WordCloud 本日词云的时候报错:
                      2022-03-14 19:58:02 V/Bot. /WordCloud 本日词云
                      2022-03-14 19:58:02 W/WordCloudPlugin: Exception in executing command [mirai:source:[502291],[1446865950]]/WordCloud 本日词云
                      java.lang.reflect.InvocationTargetException
                      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                      at java.base/java.lang.reflect.Method.invoke(Unknown Source)
                      at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
                      at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
                      at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
                      at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
                      at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
                      at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:329)
                      at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
                      at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
                      at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88)
                      at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
                      at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:168)
                      at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt:130)
                      at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
                      at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:125)
                      at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:86)
                      at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69)
                      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:571)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
                      Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
                      at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
                      at WordCloudPlugin-0.0.5.mirai.jar//com.kennycason.kumo.font.KumoFont.registerFont(KumoFont.java:57)
                      at WordCloudPlugin-0.0.5.mirai.jar//com.kennycason.kumo.font.KumoFont.buildAndRegisterFont(KumoFont.java:48)
                      at WordCloudPlugin-0.0.5.mirai.jar//com.kennycason.kumo.font.KumoFont.<init>(KumoFont.java:31)
                      at WordCloudPlugin-0.0.5.mirai.jar//com.github.WordCloudUtils.generateWordCloud(WordCloudUtils.kt:30)
                      at WordCloudPlugin-0.0.5.mirai.jar//com.github.WordCloudCommand.todayWordCloud(WordCloudCommand.kt:26)
                      ... 26 more
                      系统为Ubuntu 20.0.4,JRE为Adopt OpenJDK 11
                      请问是因为什么原因呢?

                      遇到同样的问题,请问有解决办法吗?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        JustinHuangber @Sanze2000 last edited by

                        输出的文字只有横向的
                        R0B0VJ3BHCKYS_0JHVX}25E.png

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

                          7NPGUDX68O7RT9$BUKXW%1T.png
                          使用最新版的0.0.8的插件,mcl命令行中有大量debug信息,每一天聊天记录都会跟着一条,请问如何屏蔽掉?

                          1 Reply Last reply Reply Quote 1
                          • jswnlinyu
                            jswnlinyu last edited by

                            请问大佬能不能让词云回复的时候带上词云的信息呢(属于谁的词云,用户还是群,不然大量人查就根本分不清楚

                            1 Reply Last reply Reply Quote 0
                            • Q
                              qinghemuyu last edited by

                              ![%E_)78M4ZW%LNNDR]LDXUQN.png](/assets/uploads/files/1680234825468-be7d584c-c400-48ba-aff0-18b53cb680eb-e_-78m4zw-lnndr-ldxuqn.png)
                              请问我这个是缺少了前置插件么?

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

                                @qinghemuyu 2a1effb0-9208-4c53-8337-445dcb30fbb5-image.png

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