<p align="center">
<a href="https://nonebot.dev/"><img src="https://raw.githubusercontent.com/nonebot/adapter-qqguild/master/assets/logo.png" width="200" height="200" alt="nonebot-adapter-qqguild"></a>
</p>
<div align="center">
# NoneBot-Adapter-QQGuild
_✨ QQ 频道协议适配 ✨_
</div>
## 配置
修改 NoneBot 配置文件 `.env` 或者 `.env.*`。
### Driver
参考 [driver](https://nonebot.dev/docs/appendices/config#driver) 配置项,添加 `ForwardDriver` 支持。
如:
```dotenv
DRIVER=~httpx+~websockets
DRIVER=~aiohttp
```
### QQGUILD_IS_SANDBOX
是否为沙盒模式,默认为 `False`。
```dotenv
QQGUILD_IS_SANDBOX=true
```
### QQGUILD_BOTS
配置机器人帐号,如:
```dotenv
QQGUILD_BOTS='
[
{
"id": "xxx",
"token": "xxx",
"secret": "xxx",
"intent": {
"guild_messages": true,
"at_messages": false
}
}
]
'
```
Raw data
{
"_id": null,
"home_page": "https://github.com/nonebot/adapter-qqguild",
"name": "nonebot-adapter-qqguild",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "bot,qq,qqbot,qqguild",
"author": "yanyongyu",
"author_email": "yyy@nonebot.dev",
"download_url": "https://files.pythonhosted.org/packages/5b/ce/00c343a99b692295bc02abb5c3c2a05c8e5dccbc7b2b71a8660f733e3efa/nonebot_adapter_qqguild-0.3.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://nonebot.dev/\"><img src=\"https://raw.githubusercontent.com/nonebot/adapter-qqguild/master/assets/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot-adapter-qqguild\"></a>\n</p>\n\n<div align=\"center\">\n\n# NoneBot-Adapter-QQGuild\n\n_\u2728 QQ \u9891\u9053\u534f\u8bae\u9002\u914d \u2728_\n\n</div>\n\n## \u914d\u7f6e\n\n\u4fee\u6539 NoneBot \u914d\u7f6e\u6587\u4ef6 `.env` \u6216\u8005 `.env.*`\u3002\n\n### Driver\n\n\u53c2\u8003 [driver](https://nonebot.dev/docs/appendices/config#driver) \u914d\u7f6e\u9879\uff0c\u6dfb\u52a0 `ForwardDriver` \u652f\u6301\u3002\n\n\u5982\uff1a\n\n```dotenv\nDRIVER=~httpx+~websockets\nDRIVER=~aiohttp\n```\n\n### QQGUILD_IS_SANDBOX\n\n\u662f\u5426\u4e3a\u6c99\u76d2\u6a21\u5f0f\uff0c\u9ed8\u8ba4\u4e3a `False`\u3002\n\n```dotenv\nQQGUILD_IS_SANDBOX=true\n```\n\n### QQGUILD_BOTS\n\n\u914d\u7f6e\u673a\u5668\u4eba\u5e10\u53f7\uff0c\u5982\uff1a\n\n```dotenv\nQQGUILD_BOTS='\n[\n {\n \"id\": \"xxx\",\n \"token\": \"xxx\",\n \"secret\": \"xxx\",\n \"intent\": {\n \"guild_messages\": true,\n \"at_messages\": false\n }\n }\n]\n'\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "QQ Guild adapter for nonebot2",
"version": "0.3.0",
"project_urls": {
"Documentation": "https://github.com/nonebot/adapter-qqguild#readme",
"Homepage": "https://github.com/nonebot/adapter-qqguild",
"Repository": "https://github.com/nonebot/adapter-qqguild"
},
"split_keywords": [
"bot",
"qq",
"qqbot",
"qqguild"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ffba9bcbe5d0cc63c64a47f40a8c4232596608cfb6f21826cf78faa1ae936314",
"md5": "c6984e37154a351782f10247a7674467",
"sha256": "31fffc36c1f2e936592e0e92cefe64c5ebfb19a4b9b339fbb8144fedcc8cfe38"
},
"downloads": -1,
"filename": "nonebot_adapter_qqguild-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c6984e37154a351782f10247a7674467",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 26303,
"upload_time": "2023-09-23T04:06:38",
"upload_time_iso_8601": "2023-09-23T04:06:38.120290Z",
"url": "https://files.pythonhosted.org/packages/ff/ba/9bcbe5d0cc63c64a47f40a8c4232596608cfb6f21826cf78faa1ae936314/nonebot_adapter_qqguild-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5bce00c343a99b692295bc02abb5c3c2a05c8e5dccbc7b2b71a8660f733e3efa",
"md5": "f4ed25e0511a6d93e25407f4431d76e2",
"sha256": "c78d9935f5f7c6129c7bc4a531c1da9b02947be2859c20fc61ed6899c2d96fe3"
},
"downloads": -1,
"filename": "nonebot_adapter_qqguild-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "f4ed25e0511a6d93e25407f4431d76e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 21460,
"upload_time": "2023-09-23T04:06:39",
"upload_time_iso_8601": "2023-09-23T04:06:39.679171Z",
"url": "https://files.pythonhosted.org/packages/5b/ce/00c343a99b692295bc02abb5c3c2a05c8e5dccbc7b2b71a8660f733e3efa/nonebot_adapter_qqguild-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-23 04:06:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nonebot",
"github_project": "adapter-qqguild",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nonebot-adapter-qqguild"
}