MiraiForum

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

    每日新闻速报, 每日 Bilibili 番剧速报

    插件发布
    44
    93
    18972
    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.
    • LinHeLurking
      LinHeLurking @739790797 last edited by

      @739790797 没有配置文件 QAQ,纯手写的。。。我也不太会用代码去编辑图像。。。其实图像清晰度还是比较高的,放大了看也没关系。

      1 Reply Last reply Reply Quote 0
      • 雾野良纱
        雾野良纱 摸鱼 last edited by

        好诶 更新了

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

          如果为空是不是就为不发送回复信息

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

            要自己打包jar吗

            LinHeLurking 1 Reply Last reply Reply Quote 0
            • K
              kanoucy @LinHeLurking last edited by kanoucy

              @LinHeLurking 您好 我设置了白名单,List也能看到群,但是群里无法触发/news_group指令。。请问是哪里没有操作对嘛

              LinHeLurking 1 Reply Last reply Reply Quote 0
              • A
                aspartame last edited by

                您好,我想请问一下是否可以设置不要向陌生人发送白名单相关消息,偶尔有群友聊天单独发送“新番”就会被机器人发消息,可能会造成一定困扰,谢谢!

                LinHeLurking 2 Replies Last reply Reply Quote 0
                • Y
                  yxygg last edited by

                  请问可以自定义每日自动推送的时间吗?如果可以,应该如何修改配置?

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

                    你好,我今天刚开始用这个,不管输入什么,机器人都没反应,请问是需要在chat-command设置某种权限吗?

                    CherryPeel LinHeLurking 2 Replies Last reply Reply Quote 0
                    • CherryPeel
                      CherryPeel @CherryPeel last edited by

                      @CherryPeel ![替代文字](dfe6a4d9-cb46-4c5f-a5de-2ad4aa59b313-image.png 图片地址)

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

                        @damemod 不需要,Github 上可以下载

                        1 Reply Last reply Reply Quote 0
                        • LinHeLurking
                          LinHeLurking @kanoucy last edited by

                          @kanoucy 聊天环境想要触发 console 指令的话,需要 chat-command 插件。这个播报插件本身是不需要通过 /xxx 的指令形式触发的,只需要使用关键词就行了。

                          1 Reply Last reply Reply Quote 0
                          • LinHeLurking
                            LinHeLurking @CherryPeel last edited by

                            @CherryPeel 如果是群聊,检查一下白名单甚至是否正常。可以通过和机器人私聊的方式来判断是否是群聊的错误。如果 console 没有显示任何提示(没有显示机器人发送了消息),那大概率是哪里没有配置对。

                            1 Reply Last reply Reply Quote 0
                            • LinHeLurking
                              LinHeLurking @aspartame last edited by

                              @aspartame 单独发送“新番” 应该是不会触发机器人的呀。有可能是我哪里写错了,我去检查一下。

                              1 Reply Last reply Reply Quote 0
                              • LinHeLurking
                                LinHeLurking @aspartame last edited by

                                @aspartame 你好,我检查了一下可能是我有一个地方的判断写错了。等会我在 Github 上发一个新版本 v1.4.1 应该可以解决这个问题。

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

                                  用的时候报错了,这该怎么解决
                                  新闻的报错

                                  2022-12-15 16:28:51 I/Reporter: 137 发起了新闻请求...
                                  2022-12-15 16:28:51 V/Bot.257632608: Group(569082286) <- 稍等哦 QwQ
                                  2022-12-15 16:28:52 E/Reporter: Exception in coroutine Plugin online.ruin_of_future.reporter of Reporter
                                  java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
                                  	at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
                                  	at java.desktop/java.awt.image.BufferedImage.createGraphics(Unknown Source)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.writeToImage(NewsCrawler.kt:56)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.newsToday(NewsCrawler.kt:184)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler$newsToday$1.invokeSuspend(NewsCrawler.kt)
                                  	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)
                                  
                                  > 
                                  

                                  番剧的报错

                                  137(1043098457) -> 今日番剧
                                  2022-12-15 16:26:34 I/Reporter: 137 发起了动画请求...
                                  2022-12-15 16:26:35 V/Bot.257632608: Group(569082286) <- 稍等哦 QwQ
                                  2022-12-15 16:26:35 V/Bot.257632608: Group(569082286) <- 出错啦, 等会再试试吧  ̄へ ̄
                                  2022-12-15 16:26:35 I/Reporter: java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
                                  java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
                                  	at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
                                  	at java.desktop/java.awt.image.BufferedImage.createGraphics(Unknown Source)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.buildImageByteArray(AnimeCrawler.kt:190)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.animeByDate(AnimeCrawler.kt:235)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.access$animeByDate(AnimeCrawler.kt:79)
                                  	at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler$animeByDate$1.invokeSuspend(AnimeCrawler.kt)
                                  	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)
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • devilk6666
                                    devilk6666 @laowang7z last edited by

                                    @laowang7z 在项目地址里面下载

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Muxle last edited by

                                      大佬好,之前好像有看到过在一个文档里可以更改自动播报时间,现在又找不到了,可以告诉我在哪吗?

                                      LinHeLurking 1 Reply Last reply Reply Quote 0
                                      • LinHeLurking
                                        LinHeLurking @Muxle last edited by

                                        @Muxle 一直都不能改 (捂脸)我争取下次更新让它可以配置。

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Muxle @LinHeLurking last edited by

                                          @LinHeLurking 谢谢大佬,我可能是和其它插件搞混了:}

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kevinxu last edited by

                                            作者大大,这个报错怎么办啊

                                            2023-01-22 23:12:40 I/Reporter: STF_Kevin 发起了新闻请求...
                                            2023-01-22 23:12:40 V/Bot.2259266741: STF_Kevin(2686223721) -> 今日新闻
                                            2023-01-22 23:12:40 V/Bot.2259266741: Friend(2686223721) <- 稍等哦 QwQ
                                            2023-01-22 23:12:44 V/Bot.2259266741: Friend(2686223721) <- 出错啦, 等会再 试试吧  ̄へ ̄
                                            2023-01-22 23:12:44 E/Reporter: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
                                            java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
                                                    at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
                                                    at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:105)
                                                    at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
                                                    at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64)
                                                    at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
                                                    at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:37)
                                                    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93)
                                                    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84)
                                                    at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106)
                                                    at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1182)
                                                    at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.writeToImage(NewsCrawler.kt:56)
                                                    at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.newsToday(NewsCrawler.kt:184)
                                                    at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler$newsToday$1.invokeSuspend(NewsCrawler.kt)
                                                    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)
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact