小白一个对onebot的疑问

为什么onebot与qq的连接会有那么多玄学的方法和报错呢?
论坛里也是也是问连接报错的帖子最多
—(ps:我的寄气人刚被腾讯扬了)

2 个赞

因为在你所能接触到的世界范围内,腾讯是唯一一家不愿意提供正统连接方法的聊天平台公司。

8 个赞

相比于Discord或Telegram甚至Line,腾讯没有为常规聊天群中的机器人提供官方 API。虽然有 AI 客服机器人或 QQ 公会机器人 API,但要么价格昂贵,要么只提供有限的功能(或两者兼而有之)。
目前的mirai或者go-cqhttp方式是一种逆向工程的方案,也就是说腾讯自己是绝对不支持的。而且腾讯这边每次改协议,我们都要重新做一次逆向工程。就像这次腾讯的NT客户端有了新的协议,然后他们就会放弃旧的方式(目前使用的是mirai或者go-cqhttp),所以我们必须马上想出新的方式,就是就像解谜一样。

Unlike Discord or Telegram or even Line, Tencent didn’t provides an official API for bots in a regular chat group. While there are AI customer service bot or QQ guild bot API, but either expensive or only limited functions provided (or both).
The current mirai or go-cqhttp way is a reverse-engineering solution, which means this would never be supported by Tencent themselves. Also every time Tencent side changed their protocol, we should do the reverse-engineering work again. Just like this time Tencent has their NT client with a new protocol, and then they would abandon the old way (which is currently used by mirai or go-cqhttp), so we’ll have to figure out the new one immediately, which is just like solving a puzzle.

8 个赞

Discord,Telegram: :rofl: :point_right:

1 个赞