MiraiForum

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

    dqfe123 创建的主题

    • D

      mirai 怎么发布到maven中央仓库
      使用交流 • • dqfe123

      2
      0
      赞同
      2
      帖子
      173
      浏览

      D

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

      一直使用的是maven 对gradle 不熟

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

    • D

      mirai 无法打包
      技术交流板块 • • dqfe123

      3
      0
      赞同
      3
      帖子
      303
      浏览

      D

      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

      升级到2.15.0-M1后找不到类
      BUG反馈 • • dqfe123

      2
      0
      赞同
      2
      帖子
      253
      浏览

      D

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

    • D

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

      23
      0
      赞同
      23
      帖子
      2960
      浏览

      D

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

      2022-08-14,调整版本号规则
      VX.X.X 第一个 大版本号 第二个 小版本号 第三个 修复bug版本号
      调整了群插件控制逻辑

      2022-08-07,集成签名功能
      加QQ群: 786310882, 群文件下载
      db9461f7-1fb6-4dfc-8f29-54d559996480-image.png

      2022-07-12,对接签名服务
      集成fix-protocol-version 1.9.3,配合unidbg-fetch-qsign 1.1.3
      45的号,可以通过账号密码登录
      不过有风险,可能会冻结账号,需要实名认知

      2022-06-07,支持扫码登录
      调整了权限和指令编写方式,更方便的编写插件

      //指令回复 “#测试” 默认群管理员以上权限可以使用 默认好友消息,群消息, 群At机器人消息回复 addCommand("测试指令", "测试指令", qqMessage -> { qqMessage.putReplyMessage("测试指令已收到"); return true; }, true);

      完整的程序可到qq群获取 : 786310882

      2022-03-12
      协议升级和设备信息完善后,几个45,235错误码的号码可以登录了
      升级协议:https://gitee.com/shr25/protocol-version-plugin

      通过命令创建(已包含升级后协议)

      mvn archetype:generate -B
      -DarchetypeGroupId=com.shr25.robot
      -DarchetypeArtifactId=qq-robot-plugin-maven
      -DarchetypeVersion=3.1.1
      -DgroupId=com.shr25.robot.plugin
      -DartifactId=fastPlugin

      ** 插件编写 **https://gitee.com/shr25/shr25-qq-robot/wikis/插件/插件编写?sort_id=5988851

      05c9e08a-17b4-4186-8f93-325b3fd1d43a-image.png
      -----------------------------2022-----------------------------
      适合于java程序猿的一款小框架,shr25-qq-robot
      有单独的启动器,lib分离,自动监测新增插件。
      采用mybatis-plugin作为数据源,目前支持sqlite,mysql
      相信会java的同学大多都了解或者使用spring boot,本项目使用了spring boot+mirai-core。可以很快上手
      可以单独调整核心插件或自定义开发插件

      项目地址:https://gitee.com/shr25/shr25-qq-robot
      启动项目:https://gitee.com/shr25/shr-qq-robot-start
      已编写部分插件:发布在:https://gitee.com/shr25

    • D

      无法判断群管理员
      BUG反馈 • • dqfe123

      6
      0
      赞同
      6
      帖子
      447
      浏览

      D

      通过 permission 获取发送群消息的 人员的 权限 只有 OWNER, MEMBER
      没办法判断是否是 管理员 ADMINISTRATOR

      是否机器人 也没有标识

      怎么设置 或那个版本 是好的 ?
      有一起学习的吗
      语言:JAVA
      QQ群:786310882

    • 1 / 1