https://github.com/monsterxcn/nonebot-plugin-gscode
🤖 NoneBot2 原神前瞻直播兑换码插件
https://github.com/monsterxcn/nonebot-plugin-gscode
genshin nonebot qq redeem-code
Last synced: 11 months ago
JSON representation
🤖 NoneBot2 原神前瞻直播兑换码插件
- Host: GitHub
- URL: https://github.com/monsterxcn/nonebot-plugin-gscode
- Owner: monsterxcn
- License: mit
- Created: 2022-11-25T14:19:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T00:45:21.000Z (about 2 years ago)
- Last Synced: 2025-05-02T10:18:57.985Z (11 months ago)
- Topics: genshin, nonebot, qq, redeem-code
- Language: Python
- Homepage: https://pypi.python.org/pypi/nonebot-plugin-gscode
- Size: 71.3 KB
- Stars: 30
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NoneBot Plugin GsCode
🤖 用于查询原神前瞻直播兑换码的 NoneBot2 插件
|  |  |
|:--:|:--:|
## 安装方法
如果你正在使用 2.0.0.beta1 以上版本 NoneBot,推荐使用以下命令安装:
```bash
# 从 nb_cli 安装
nb plugin install nonebot-plugin-gscode
```
## 使用说明
插件响应 `gscode` / `兑换码`,返回一组包含兑换码信息的合并转发消息。
经测试,兑换码接口返回与前瞻直播有 2 分钟左右延迟,应为正常现象,请耐心等待。
插件依赖 [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) 的合并转发接口,如需启用私聊响应请务必安装 [v1.0.0-rc2](https://github.com/Mrs4s/go-cqhttp/releases/tag/v1.0.0-rc2) 以上版本的 go-cqhttp。
## 特别鸣谢
[@nonebot/nonebot2](https://github.com/nonebot/nonebot2/) | [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) | [@Le-niao/Yunzai-Bot](https://github.com/Le-niao/Yunzai-Bot)