MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. Koreyoshi
    3. Topics
    • Profile
    • Following 0
    • Followers 9
    • Topics 3
    • Posts 440
    • Best 21
    • Controversial 0
    • Groups 1

    Topics created by Koreyoshi

    • Koreyoshi

      让python语言更方便的使用mirai-api-http
      其他项目发布 • • Koreyoshi

      3
      1
      Votes
      3
      Posts
      691
      Views

      Koreyoshi

      这是我在写插件的时候自己写的一套Python函数封装,用来访问mirai-api-http,拿出来分享一下
      有需要可自取:SimuseApi

    • Koreyoshi

      ChatLearning——让bot学会你的群聊
      插件发布 • • Koreyoshi

      818
      3
      Votes
      818
      Posts
      319591
      Views

      Koreyoshi

      项目地址:ChatLearning
      下载地址:ChatLearningReleases
      官方网站:官网
      交流QQ群:734450830 可在群内提出遇到的问题,bug和改进建议

      使用ChatLearning前请先安装并配置好mirai-api-http插件,为避免出错,mirai-api-http插件请尽量使用2.3.3版本

      完成配置后打开ChatLearning目录下的data.json文件填入配置信息:

      { "Key": "xxxxx", //在mirai-api-http中设置的密钥 "host": "127.0.0.1:8080", //mirai-api-http中设置的地址(若设置成0.0.0.0,请填写127.0.0.1) "port": "8080", //mirai-api-httpmirai-api-http中设置的端口 "qq": "xxx", //所登录mirai的QQ号 "session": "xxx" //任意,由程序自动获取 }

      以上步骤完成后,Windows用户点击Chatmain.exe运行

      Linux用户则使用python运行Chatmain.py脚本 (python版本需为3.5以上)

      输入help来查看命令列表

      详细说明请见README

      来自@daisy524 提供的创意点子
      感谢@FuYon 制作的网站

      以下是ChatLearning的效果图(收集了大约一天的词库,图中绿牌是bot,甚至还能斗图)
      73126921-7ddf-4140-8b78-5c0d3e69242c-IMG_20220223_021125.png
      905df16e-90ae-4b80-ae81-7b97b3d7eb0c-IMG_20220223_021144.png 8ede119a-7ba5-4d0b-bbb9-26a33c26a65a-IMG_20220223_021230.png 048d36f2-2c25-4a4e-8624-e91564f0c59f-IMG_20220223_021250.png

      欢迎提出bug和提供后续更新意见!

    • Koreyoshi

      [mirai-api-http]梗查询插件——GengSearch
      插件发布 • python mirai-api-http • • Koreyoshi

      182
      2
      Votes
      182
      Posts
      45391
      Views

      Koreyoshi

      该插件目前不可用!!!

      项目地址:GengSearch
      下载地址:GengSearchReleases

      使用本插件前请先安装并配置好mirai-api-http插件

      完成配置后打开本插件目录下的data.json文件填入配置信息:

      { "Key": "xxxxx", //在mirai-api-http中设置的密钥 "host": "127.0.0.1:8080", //mirai-api-http中设置的地址(若设置成0.0.0.0,请填写127.0.0.1) "port": "8080", //mirai-api-httpmirai-api-http中设置的端口 "qq": "xxx", //所登录mirai的QQ号 "session": "xxx" //任意,由程序自动获取 }

      由于小鸡词典在访问次数过多后需要登录,请先至官网注册并登录后获取cookie字符串填入cookie.txt文件中,没有cookie插件将无法运行

      登录完成后按F12,点击Console
      输入document.cookie即可获取cookie字符串,请完整复制下来

      以上步骤完成后点击GengSearch.exe文件即可启动插件
      Linux用户通过运行GengSearch.py脚本启动插件(在此之前请先阅读README中对linux的安装说明)

      触发指令:

      梗查询 xxx -------->以图片形式回复

      来点梗 -------->回复随机一个梗

      效果图:
      QQ截图20220121020251.png
      QQ图片20220121020257.jpg
      QQ截图20220121020314.png
      QQ图片20220121020319.jpg

      欢迎提出任何bug和问题

    • 1 / 1