MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. dqfe123
    3. 帖子
    D
    • 资料
    • 关注 0
    • 粉丝 1
    • 主题 9
    • 帖子 49
    • 最佳 1
    • 有争议的 0
    • 群组 0

    dqfe123 发布的帖子

    • RE: spring boot+mirai-core快速开发机器人

      编译了mirai
      群员属性添加了活跃等级
      群信息添加了 群最大人数
      功能:群批量踢人 刷新群员信息

      发布在 其他项目发布
      D
      dqfe123
    • mirai 怎么发布到maven中央仓库

      中央仓库的 账号,密码已有 不知道怎么配置

      一直使用的是maven 对gradle 不熟

      有知道的同学可以教一下吗?

      发布在 使用交流
      D
      dqfe123
    • RE: mirai 无法打包

      @MrXiaoM 感觉也是没有更新文档

      发布在 技术交流板块
      D
      dqfe123
    • mirai 无法打包

      idea: 2022.3.1
      jdk: OpenJdk17
      gradle: 8.0
      kotlin-plugin: 223-1.8.0-release-345-AS8836.35.2231.10406996
      branch:dev

      ./gradlew publishMiraiArtifactsToMavenLocal "-Dmirai.build.project.version=2.99.0-local" "-Porg.gradle.parallel=false"
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Task 'publishMiraiArtifactsToMavenLocal' not found in root project 'mirai' and its subprojects.
      
      * Try:
      > Run gradlew tasks to get a list of available tasks.
      > Run with --stacktrace option to get the stack trace.
      > Run with --info or --debug option to get more log output.
      > Run with --scan to get full insights.
      
      * Get more help at https://help.gradle.org
      
      Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
      
      You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
      
      See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings
      
      BUILD FAILED in 2s
      10 actionable tasks: 10 up-to-date
      
      ./gradlew --warning-mode all
      
      > Configure project :mirai-console-compiler-annotations
      The TestReport.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the destinationDirectory property instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.tasks.testing.TestReport.html#org.gradle.api.tasks.testing.TestReport:destinationDir for more details.
              at Build_gradle$1.execute(build.gradle.kts:24)
              (Run with --stacktrace to get the full stack trace of this deprecation warning.)
      The TestReport.reportOn(Object...) method has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the testResults method instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.tasks.testing.TestReport.html#org.gradle.api.tasks.testing.TestReport:testResults for more details.
              at Build_gradle$1.execute(build.gradle.kts:24)
              (Run with --stacktrace to get the full stack trace of this deprecation warning.)
      The Report.destination property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the outputLocation property instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination for more details.
              at Build_gradle.<init>(build.gradle.kts:19)
              (Run with --stacktrace to get the full stack trace of this deprecation warning.)
      
      > Task :help
      
      Welcome to Gradle 8.0.
      
      To run a build, run gradlew <task> ...
      
      To see a list of available tasks, run gradlew tasks
      
      To see more detail about a task, run gradlew help --task <task>
      
      To see a list of command-line options, run gradlew --help
      
      For more detail on using Gradle, see https://docs.gradle.org/8.0/userguide/command_line_interface.html
      
      For troubleshooting, visit https://help.gradle.org
      
      BUILD SUCCESSFUL in 10s
      11 actionable tasks: 1 executed, 10 up-to-date
      
      
      发布在 技术交流板块
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      协议升级插件,集成了签名功能,不需要另启服务

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      集成签名功能
      加QQ群: 786310882, 群文件下载

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      已集成fix-protocol-version 1.9.3,配合unidbg-fetch-qsign 1.1.3
      45的号,可以通过账号密码登录
      不过有风险,可能会冻结账号,需要实名认知
      Q群: 786310882
      群文件有完整的 启动包

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      已升级框架版本为2.0.4,升级了maven模板

      添加处理其他消息的方法

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      已升级框架版本为2.0.1,可以扫码登录
      完善了指令和权限编写方式,更直观的编写插件

      //指令回复  “#测试”  默认群管理员以上权限可以使用  默认好友消息,群消息, 群At机器人消息回复
              addCommand("测试指令", "测试指令", qqMessage -> {
                  qqMessage.putReplyMessage("测试指令已收到");
                  return true;
              },  true);
      
      发布在 其他项目发布
      D
      dqfe123
    • 升级到2.15.0-M1后找不到类

      使用的是mirai-core-jvm
      升级之后:
      bcb24c63-7bd0-41fe-841a-210aeacbaf1a-image.png
      5d55e5c1-3c5f-403a-abc0-09ac2e6599c9-image.png 93effcb1-9bf7-41ac-b835-12773d475e41-image.png

      发布在 BUG反馈
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      使用 java 的同学加群

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      优化定时早安消息发布,解决消息不足3次,停止定时器问题

      <dependency>
              <groupId>com.shr25.robot.plugin</groupId>
                <artifactId>group-morning-plugin</artifactId>
                <version>1.0.4</version>       
                <scope>provided</scope>
      </dependency>
      
      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      定时早安插件:https://gitee.com/shr25/group-morning-plugin

      <dependency>
              <groupId>com.shr25.robot.plugin</groupId>
                <artifactId>group-morning-plugin</artifactId>
                <version>1.0.2</version>       
                <scope>provided</scope>
      </dependency>
      

      调整了随机图片、早安语的逻辑。
      增加了群消息数记录,当积累的消息数大于等于3时,才重复发送早安消息,防止连续发送

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      添加摸鱼日历插件 :https://gitee.com/shr25/loafers-calendar-plugin.git

          <dependency>
              <groupId>com.shr25.robot.plugin</groupId>
              <artifactId>loafers-calendar-plugin</artifactId>
              <version>1.0.0</version>
              <scope>provided</scope>
          </dependency>
      
      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      @Creeper_awa 这个不是mirai-console的插件 mirai-console要看:https://mirai.mamoe.net/topic/223

      发布在 其他项目发布
      D
      dqfe123
    • RE: spring boot+mirai-core快速开发机器人

      方法一:直接下载
      maven中央仓库地址:https://repo1.maven.org/maven2/com/shr25/robot/plugin/protocol-version-plugin/1.0.3/

      方法二:

            <dependency>
                  <groupId>com.shr25.robot.plugin</groupId>
                  <artifactId>protocol-version-plugin</artifactId>
                  <version>1.0.3</version>
                  <scope>provided</scope>
              </dependency>
      

      不过这个是shr25-qq-robot的 插件
      源码:https://gitee.com/shr25/protocol-version-plugin

      发布在 其他项目发布
      D
      dqfe123
    • 1
    • 2
    • 3
    • 1 / 3