Giter Site home page Giter Site logo

kamenomi-dev / onebot-client-next Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 597 KB

A QQ bot library supports onebot v11 protocol based on LLOneBot

Home Page: https://kamenomi-dev.github.io/Onebot-Client-Next/

License: MIT License

TypeScript 61.43% JavaScript 38.57%
onebot-sdk onebot11

onebot-client-next's Introduction

Onebot Client Next

一个基于 Onebot v11 协议开发的客户端 SDK 本仓库参考自 Onebot-Client 架构

目录

[toc]

注意事项

Important

本项目主要对 LLOnebot 的 Onebot v11 协议接口进行封装,不保证提供的数据是否真实。

Caution

在本项目或其衍生、依赖项目等有依赖于 QQNTLiteLoader 的项目出现问题、需要反馈时,请勿在简中互联网中的平台上(例如 QQ、哔哩哔哩、知乎 等服务平台)进行以包含但不止截图、文本的形式反馈。

Caution

请勿将本项目或其衍生、依赖项目等传播在简中互联网的平台上。本项目本意在为个人开发者提供便利。

安装方式

使用 npm 包管理器:

npm i onebot-client-next

简单例子

import { Client } from "onebot-client-next"

const client = new Client(114514, {
    websocket_address: "ws://127.0.0.1:8080",
    access_token: "452AFF0CC359C86C"
})

client.Start().then(() => {
   // 在成功连接后做点什么... 
});

client.on("message.group", (message) => {
    // 处理消息。
});

特别感谢

  1. 感谢 LLOneBot 提供的 Onebot v11 接口支持
  2. 感谢 凉菜Onebot-Client SDK架构支持

onebot-client-next's People

Contributors

kamenomi-dev avatar

Stargazers

 avatar 原罪_超凡 avatar Particle_G avatar GreenYoshi (Wang Han) avatar

Watchers

 avatar

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.