GithubHelp home page GithubHelp logo

Comments (7)

SinoAHpx avatar SinoAHpx commented on June 15, 2024 1

这个库已经重构完成,欢迎品鉴!

from mirai.net.

SinoAHpx avatar SinoAHpx commented on June 15, 2024

请上代码,以供复现

from mirai.net.

ca1e avatar ca1e commented on June 15, 2024

c#侧只有demo代码:

Bot.Session = new MiraiSession
{
    Host = "localhost",
    Port = "8080",
    Key = "INITKEY0O2AUHqh",
    QQ = "xxxxxxxx",
};
var ver = await Bot.GetPluginVersion();
await Bot.Launch();

mirai-api-http config:

adapters: 
  - http
  - ws
debug: false
enableVerify: true
verifyKey: INITKEY0O2AUHqh
debug: true
singleMode: true
cacheSize: 4096
adapterSettings: {}

from mirai.net.

SinoAHpx avatar SinoAHpx commented on June 15, 2024

你用的是2.x版本(((
而这个库基于v1.11.0 编写((

from mirai.net.

ca1e avatar ca1e commented on June 15, 2024

Ok好的吧:(有适配更新的计划吗?或者说目前推荐使用何种方式呢?

from mirai.net.

SinoAHpx avatar SinoAHpx commented on June 15, 2024

明天看看文档,如果改动不是很大的话尽量进行新版本适配

from mirai.net.

SinoAHpx avatar SinoAHpx commented on June 15, 2024

等我重写吧(
说实话,这个项目本身的设计就比较糟糕,刚开始其实只是写了玩的(
异常处理一塌糊涂,现在我根本维护不了(
所以请等我重写一下
或者你可以使用1.x版本的mirai-api-http插件,这也是一个暂行之策。

from mirai.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.