Skip to content

Releases: nonebot/adapter-red

Adapter Red 0.1.0

29 Aug 15:43
Compare
Choose a tag to compare

已支持功能

  • 发送消息,包括文字,图片,表情
  • 获取好友列表、群组列表,群员列表
  • 撤回消息
  • 拉取历史消息
  • 踢人,开启全员禁言,获取群公告

使用

首先按照 Chronocat 的指引安装 Chronocat (或者是 betterqqnt)

然后配置文件中如下填入:

DRIVER=~httpx+~websockets
DRIVER=~aiohttp

RED_BOTS='
[
  {
    "port": "xxx",
    "token": "xxx",
    "host": "xxx"
  }
]
'

其中 driver 只要支持 ForwardDriver 并能同时使用 http + websocket 即可

port 暂时一律为 16530

token 被默认存储在 %AppData%/BetterUniverse/QQNT/RED_PROTOCOL_TOKEN 或 ~/BetterUniverse/QQNT/RED_PROTOCOL_TOKEN 中,
首次启动 Chronocat 时会自动生成,并保持不变。

host 为运行 QQNT 的设备主机,默认为 localhost

Pre Release 0.1.0rc1

04 Aug 09:55
Compare
Choose a tag to compare
Pre Release 0.1.0rc1 Pre-release
Pre-release

Pre Release RedProtocol Adapter v0.1.0rc1 for NoneBot2