nonebot_dcqq_relay_plugin
✨ 使用Nonebot2让Discord和QQ群实现互相通信 ✨
| 介绍 - 支援功能 - 安装 - 感谢 |
|---|
| Q&A - BUG列表 - (务必查看) env配置 - TODO |
介绍
使用Onebot V11适配器和Discord适配器来实现对Discord与QQ群互相交流的插件。
理论支持所有使用Onebot V11的框架, 只不过有些框架可能会遇到问题,请自行测试。
目前只支持普通的文字频道,不支持帖子频道 (也不打算支持)
语音频道也许后面会支持,但看看有没有这个需求。
如果你嫌这个项目不够好用,可以尝试Autuamn大大的nonebot-plugin-dcqq-relay插件!!!
如果你寻找的是discord和qq频道互相通信,请使用Autuamn大大的nonebot-plugin-dcqg-relay插件!!!
功能
ARK消息和Embed消息暂不打算支持
目前支持的消息:
- 文字
- 图片
- 表情 (表情超市或QQ默认表情(除了高级表情)基本都支持)
- 回复消息
- 文件
- 撤回消息 (如果你使用的是Lagrange.Onebot那么可能会失效)
尚未支持的消息:
- 语音
- 视频
安装
目前此插件还在早期开发阶段,还有许多问题!!!
然后这是我的python初作品(此前没写过任何一个python语言的东西),所以可能代码层面不太理想,请见谅。 :(
如果遇到问题还请务必提 issue。
使用包管理器安装(目前推荐)
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-dcqq-relay-plugin
pdm (未测试)
pdm add nonebot-dcqq-relay-plugin
poetry
poetry add nonebot-dcqq-relay-plugin
打开 nonebot2 项目的 bot.py 文件, 在其中写入
如果你没有bot.py文件,请使用nb-cli生成bot文件
nonebot.load_plugin('nonebot_dcqq_relay_plugin')
从 github 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库git clone https://github.com/PawTeamClub/nonebot_dcqq_relay_plugin.git
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('src.plugins.nonebot_dcqq_relay_plugin')
感谢
- nonebot/nonebot2: 跨平台 Python 异步聊天机器人框架
- koishijs/koishi-plugin-dcqq-relay: 使用koishi实现同步Discord与QQ间的消息
- Autuamn/nonebot-plugin-dcqg-relay: 在QQ频道与 Discord 之间同步消息的 nonebot2 插件 (抄了初始化的部分)
Metadata
Release files for nonebot-dcqq-relay-plugin 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_dcqq_relay_plugin-1.1.3.tar.gz | 20.2 kB | Without provenance | Details for nonebot_dcqq_relay_plugin-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_dcqq_relay_plugin-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_dcqq_relay_plugin-1.1.3-py3-none-any.whl |
Total release size: 42.3 kB
Release files / nonebot_dcqq_relay_plugin-1.1.3.tar.gz
| Download URL | nonebot_dcqq_relay_plugin-1.1.3.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1266f4396cfd43f9e3f672395415142863fd131fd3623042348bd9072226cac
|
|
BLAKE2b-256 checksum How to use checksums |
50b2e19ac232aee0460c90d465c3f115ed1b61c959e40a97eb9a16a234e3b2ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / nonebot_dcqq_relay_plugin-1.1.3-py3-none-any.whl
| Download URL | nonebot_dcqq_relay_plugin-1.1.3-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2995ae166e947c9a8127977189cf841ffb3be2a03cfba72b0c09ed9b43ea5c39
|
|
BLAKE2b-256 checksum How to use checksums |
1d06f97519a120e24dacae11c729b0ac932f63438d6c219815bbad99f2134181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for nonebot-dcqq-relay-plugin 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.