takayama-lily / Oicq
Licence: apache-2.0
Node.js实现的安卓协议QQ机器人
Stars: ✭ 258
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Oicq
mirai-class-notice
🥳 这是一款基于 mirai 的班级 QQ 群课程通知机器人,拥有简单的 web 管理页面,尽量实现一键安装简易操作等功能。
Stars: ✭ 25 (-90.31%)
Mutual labels: qqbot
FG
基于Nonebot的QQ群机器人🤖️,特色功能是利用机器学习算法,基于每日聊天记录生成每日总结。可在酷Q/Mirai平台上运行
Stars: ✭ 74 (-71.32%)
Mutual labels: qqbot
Go-Mirai-Client
基于MiraiGo的客户端,使用反向 websocket 收发私聊、群聊消息,消息格式类似onebot。支持多账号,很稳定
Stars: ✭ 90 (-65.12%)
Mutual labels: qqbot
mirai-cpp-template
mirai-cpp-template, mirai-cpp的模板项目, 快速上手mirai-cpp。
Stars: ✭ 16 (-93.8%)
Mutual labels: qqbot
oicq
- QQ(安卓)协议的nodejs实现。也参考了一些其他开源仓库如mirai、miraiGo等。
- 以高效和稳定为第一目的,在此基础上不断完善,将会逐步支持手机协议的大部分功能。
- 使用 酷Q和CQHTTP 风格的API、事件和参数,原生支持经典的CQ码。
- 请使用
Nodejs 12.16
以上版本。有bug请告诉我。
Install:
# npm i oicq
Example:
const { createClient } = require("oicq");
const uin = 123456789; // your account
const bot = createClient(uin);
//监听并输入滑动验证码ticket
bot.on("system.login.slider", () => {
process.stdin.once("data", (input) => {
bot.sliderLogin(input);
});
});
//回复消息
bot.on("message", (data) => data.reply("hello world"));
bot.login("password"); // your password or password_md5
如何获得滑动验证码ticket
更详细的例子可以参考 demo.js
API简洁友好,开箱即用,熟悉Nodejs者建议直接引入依赖进行开发。
其他语言的使用者可以用 http-api 搭建环境。
相关文档:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].