# nonebot_plugin_xiuxian_GCDI
修仙模拟器--QQ-群与QQ频道数据互通
## 简介
本插件主要为实现群聊修仙功能,最近经常封号,请自行判断后再使用,已默认转成图片模式,如需关闭,可在config.py处调整img字段为false
并适配了频道与群聊数据互通
## 设定征集中,有好的想法可以推送给我哦~~~
## 安装
1、下载插件文件
- 使用github处拉取源码使用
无镜像:
```
git clone https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI
```
镜像:https://ghproxy.com/
```
git clone https://ghproxy.com/https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI
```
2、下载数据文件
使用git clone后,进入插件目录,把data文件夹中的全部内容移动到bot的数据文件夹中<br>
3、安装频道补丁:
```
频道补丁
pip install nonebot_plugin_guild_patch -i https://pypi.tuna.tsinghua.edu.cn/simple/
```
4、如果遇到问题,请先百度和查看下方的 【一些问题】
5、如解决不了进交流群:588907147 提问,提问请贴上完整的日志
## 配置文件
1、配置文件一般在data/xiuxian文件夹下,自行按照json格式修改即可,一些字段的含义可以进群交流<br>
2、子插件的配置会在插件运行后在子插件文件中生成config.json文件,该文件字段含义在同级目录的xxxconfig.py有备注。注意:修改配置只需要修改json即可,修改.py文件的话需要删除json文件才会生效,任何修改都需要重启bot
## 更新
使用github处拉取源码使用的
进入插件目录执行命令:
```
git pull
```
## 群聊与频道部分功能展示
![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E7%BE%A4%E8%81%8A%E7%B4%A0%E6%9D%901.png)
![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E7%BE%A4%E8%81%8A%E7%B4%A0%E6%9D%902.png)
![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E9%A2%91%E9%81%93%E7%B4%A0%E6%9D%901.png)
![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E9%A2%91%E9%81%93%E7%B4%A0%E6%9D%902.png)
## 一些问题
- 当前首次使用,未自动创建json文件及sql文件,请在[github](https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI)处,目录data -> xiuxian
处下载的文件,放置于bot目录,data -> xiuxian文件夹处
- 当为放置为plugins目录使用时,请修改根目录下__init__.py文件中的42行:src=''中的内容,填写的是存放插件的目录,一般情况下 src='src.plugins.' 如有不同请按照格式修改
## 特别感谢
- [NoneBot2](https://github.com/nonebot/nonebot2):本插件实装的开发框架,NB天下第一可爱。
- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp):稳定完善的 CQHTTP 实现。
- [nonebot_plugin_xiuxian](https://github.com/s52047qwas/nonebot_plugin_xiuxian):原版修仙
## 插件依赖
- nonebot2
- nonebot-adapter-onebot
- go-cqhttp
## 支持
大家喜欢的话可以给这个项目点个star
有bug、意见和建议都欢迎提交 [Issues](https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI/issues)
或者联系进入QQ交流群:588907147
## 许可证
本项目使用 [MIT](https://choosealicense.com/licenses/mit/) 作为开源许可证
Raw data
{
"_id": null,
"home_page": "https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI",
"name": "nonebot-plugin-xiuxian-GCDI",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "pip,nonebot2,\u6587\u6e38,\u4fee\u4ed9",
"author": "QingmuCat",
"author_email": "1242550160@qq.com",
"download_url": "https://files.pythonhosted.org/packages/f9/43/d03146508d8e5a2380750f39ad6641a44d472f951073a75baac69f641e99/nonebot_plugin_xiuxian_GCDI-1.0.3.tar.gz",
"platform": "any",
"description": "# nonebot_plugin_xiuxian_GCDI\r\n\u4fee\u4ed9\u6a21\u62df\u5668--QQ-\u7fa4\u4e0eQQ\u9891\u9053\u6570\u636e\u4e92\u901a\r\n## \u7b80\u4ecb\r\n\r\n\u672c\u63d2\u4ef6\u4e3b\u8981\u4e3a\u5b9e\u73b0\u7fa4\u804a\u4fee\u4ed9\u529f\u80fd,\u6700\u8fd1\u7ecf\u5e38\u5c01\u53f7\uff0c\u8bf7\u81ea\u884c\u5224\u65ad\u540e\u518d\u4f7f\u7528\uff0c\u5df2\u9ed8\u8ba4\u8f6c\u6210\u56fe\u7247\u6a21\u5f0f\uff0c\u5982\u9700\u5173\u95ed\uff0c\u53ef\u5728config.py\u5904\u8c03\u6574img\u5b57\u6bb5\u4e3afalse\r\n\u5e76\u9002\u914d\u4e86\u9891\u9053\u4e0e\u7fa4\u804a\u6570\u636e\u4e92\u901a\r\n\r\n## \u8bbe\u5b9a\u5f81\u96c6\u4e2d\uff0c\u6709\u597d\u7684\u60f3\u6cd5\u53ef\u4ee5\u63a8\u9001\u7ed9\u6211\u54e6~~~\r\n\r\n## \u5b89\u88c5\r\n1\u3001\u4e0b\u8f7d\u63d2\u4ef6\u6587\u4ef6\r\n\r\n- \u4f7f\u7528github\u5904\u62c9\u53d6\u6e90\u7801\u4f7f\u7528\r\n\u65e0\u955c\u50cf\uff1a\r\n```\r\ngit clone https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI\r\n```\r\n\u955c\u50cf\uff1ahttps://ghproxy.com/\r\n```\r\ngit clone https://ghproxy.com/https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI\r\n```\r\n\r\n2\u3001\u4e0b\u8f7d\u6570\u636e\u6587\u4ef6\r\n\r\n\u4f7f\u7528git clone\u540e\uff0c\u8fdb\u5165\u63d2\u4ef6\u76ee\u5f55\uff0c\u628adata\u6587\u4ef6\u5939\u4e2d\u7684\u5168\u90e8\u5185\u5bb9\u79fb\u52a8\u5230bot\u7684\u6570\u636e\u6587\u4ef6\u5939\u4e2d<br>\r\n\r\n3\u3001\u5b89\u88c5\u9891\u9053\u8865\u4e01\uff1a\r\n\r\n```\r\n\u9891\u9053\u8865\u4e01\r\npip install nonebot_plugin_guild_patch -i https://pypi.tuna.tsinghua.edu.cn/simple/\r\n```\r\n\r\n4\u3001\u5982\u679c\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u5148\u767e\u5ea6\u548c\u67e5\u770b\u4e0b\u65b9\u7684 \u3010\u4e00\u4e9b\u95ee\u9898\u3011\r\n\r\n5\u3001\u5982\u89e3\u51b3\u4e0d\u4e86\u8fdb\u4ea4\u6d41\u7fa4\uff1a588907147 \u63d0\u95ee\uff0c\u63d0\u95ee\u8bf7\u8d34\u4e0a\u5b8c\u6574\u7684\u65e5\u5fd7\r\n\r\n## \u914d\u7f6e\u6587\u4ef6\r\n1\u3001\u914d\u7f6e\u6587\u4ef6\u4e00\u822c\u5728data/xiuxian\u6587\u4ef6\u5939\u4e0b\uff0c\u81ea\u884c\u6309\u7167json\u683c\u5f0f\u4fee\u6539\u5373\u53ef\uff0c\u4e00\u4e9b\u5b57\u6bb5\u7684\u542b\u4e49\u53ef\u4ee5\u8fdb\u7fa4\u4ea4\u6d41<br>\r\n2\u3001\u5b50\u63d2\u4ef6\u7684\u914d\u7f6e\u4f1a\u5728\u63d2\u4ef6\u8fd0\u884c\u540e\u5728\u5b50\u63d2\u4ef6\u6587\u4ef6\u4e2d\u751f\u6210config.json\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u5b57\u6bb5\u542b\u4e49\u5728\u540c\u7ea7\u76ee\u5f55\u7684xxxconfig.py\u6709\u5907\u6ce8\u3002\u6ce8\u610f\uff1a\u4fee\u6539\u914d\u7f6e\u53ea\u9700\u8981\u4fee\u6539json\u5373\u53ef\uff0c\u4fee\u6539.py\u6587\u4ef6\u7684\u8bdd\u9700\u8981\u5220\u9664json\u6587\u4ef6\u624d\u4f1a\u751f\u6548\uff0c\u4efb\u4f55\u4fee\u6539\u90fd\u9700\u8981\u91cd\u542fbot\r\n\r\n## \u66f4\u65b0\r\n\u4f7f\u7528github\u5904\u62c9\u53d6\u6e90\u7801\u4f7f\u7528\u7684\r\n\u8fdb\u5165\u63d2\u4ef6\u76ee\u5f55\u6267\u884c\u547d\u4ee4\uff1a\r\n```\r\ngit pull\r\n```\r\n\r\n\r\n## \u7fa4\u804a\u4e0e\u9891\u9053\u90e8\u5206\u529f\u80fd\u5c55\u793a\r\n\r\n![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E7%BE%A4%E8%81%8A%E7%B4%A0%E6%9D%901.png)\r\n![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E7%BE%A4%E8%81%8A%E7%B4%A0%E6%9D%902.png)\r\n![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E9%A2%91%E9%81%93%E7%B4%A0%E6%9D%901.png)\r\n![image](https://raw.githubusercontent.com/QingMuCat/qm/master/xiuxian/%E9%A2%91%E9%81%93%E7%B4%A0%E6%9D%902.png)\r\n## \u4e00\u4e9b\u95ee\u9898\r\n\r\n- \u5f53\u524d\u9996\u6b21\u4f7f\u7528\uff0c\u672a\u81ea\u52a8\u521b\u5efajson\u6587\u4ef6\u53casql\u6587\u4ef6\uff0c\u8bf7\u5728[github](https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI)\u5904\uff0c\u76ee\u5f55data -> xiuxian\r\n\u5904\u4e0b\u8f7d\u7684\u6587\u4ef6\uff0c\u653e\u7f6e\u4e8ebot\u76ee\u5f55\uff0cdata -> xiuxian\u6587\u4ef6\u5939\u5904\r\n- \u5f53\u4e3a\u653e\u7f6e\u4e3aplugins\u76ee\u5f55\u4f7f\u7528\u65f6\uff0c\u8bf7\u4fee\u6539\u6839\u76ee\u5f55\u4e0b__init__.py\u6587\u4ef6\u4e2d\u768442\u884c\uff1asrc=''\u4e2d\u7684\u5185\u5bb9\uff0c\u586b\u5199\u7684\u662f\u5b58\u653e\u63d2\u4ef6\u7684\u76ee\u5f55\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b src='src.plugins.' \u5982\u6709\u4e0d\u540c\u8bf7\u6309\u7167\u683c\u5f0f\u4fee\u6539\r\n## \u7279\u522b\u611f\u8c22\r\n\r\n- [NoneBot2](https://github.com/nonebot/nonebot2)\uff1a\u672c\u63d2\u4ef6\u5b9e\u88c5\u7684\u5f00\u53d1\u6846\u67b6\uff0cNB\u5929\u4e0b\u7b2c\u4e00\u53ef\u7231\u3002\r\n- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp)\uff1a\u7a33\u5b9a\u5b8c\u5584\u7684 CQHTTP \u5b9e\u73b0\u3002\r\n- [nonebot_plugin_xiuxian](https://github.com/s52047qwas/nonebot_plugin_xiuxian)\uff1a\u539f\u7248\u4fee\u4ed9\r\n\r\n## \u63d2\u4ef6\u4f9d\u8d56\r\n\r\n- nonebot2\r\n- nonebot-adapter-onebot\r\n- go-cqhttp\r\n\r\n## \u652f\u6301\r\n\r\n\u5927\u5bb6\u559c\u6b22\u7684\u8bdd\u53ef\u4ee5\u7ed9\u8fd9\u4e2a\u9879\u76ee\u70b9\u4e2astar\r\n\r\n\u6709bug\u3001\u610f\u89c1\u548c\u5efa\u8bae\u90fd\u6b22\u8fce\u63d0\u4ea4 [Issues](https://github.com/QingMuCat/nonebot_plugin_xiuxian_GCDI/issues) \r\n\u6216\u8005\u8054\u7cfb\u8fdb\u5165QQ\u4ea4\u6d41\u7fa4\uff1a588907147\r\n\r\n## \u8bb8\u53ef\u8bc1\r\n\u672c\u9879\u76ee\u4f7f\u7528 [MIT](https://choosealicense.com/licenses/mit/) \u4f5c\u4e3a\u5f00\u6e90\u8bb8\u53ef\u8bc1\r\n",
"bugtrack_url": null,
"license": "",
"summary": "\u4fee\u4ed9\u63d2\u4ef6\uff0cQQ\u7fa4\u4e0eQQ\u9891\u9053\u5747\u53ef\u4f7f\u7528\uff0c\u5e76\u4e14\u6570\u636e\u4e92\u901a",
"version": "1.0.3",
"split_keywords": [
"pip",
"nonebot2",
"\u6587\u6e38",
"\u4fee\u4ed9"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c3e642da7425d6f9b75efca35818d719fe1976892d2078c8636eeb542b0f9b0",
"md5": "11370fb1619472d195d0b3a867f2a935",
"sha256": "02acfbb086e5a35f450316b9fb96fab7b2ad0a842226e33af1d940e5a795203a"
},
"downloads": -1,
"filename": "nonebot_plugin_xiuxian_GCDI-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11370fb1619472d195d0b3a867f2a935",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6366882,
"upload_time": "2023-02-04T02:58:40",
"upload_time_iso_8601": "2023-02-04T02:58:40.151475Z",
"url": "https://files.pythonhosted.org/packages/4c/3e/642da7425d6f9b75efca35818d719fe1976892d2078c8636eeb542b0f9b0/nonebot_plugin_xiuxian_GCDI-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f943d03146508d8e5a2380750f39ad6641a44d472f951073a75baac69f641e99",
"md5": "1035c50fbf72d91674a5787d35c26157",
"sha256": "a2cdb15923bcdf9600d96deeaab715e8ede5b7b646ef6cfc6caf9911a21807e2"
},
"downloads": -1,
"filename": "nonebot_plugin_xiuxian_GCDI-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "1035c50fbf72d91674a5787d35c26157",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3230611,
"upload_time": "2023-02-04T02:58:46",
"upload_time_iso_8601": "2023-02-04T02:58:46.146955Z",
"url": "https://files.pythonhosted.org/packages/f9/43/d03146508d8e5a2380750f39ad6641a44d472f951073a75baac69f641e99/nonebot_plugin_xiuxian_GCDI-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-04 02:58:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "QingMuCat",
"github_project": "nonebot_plugin_xiuxian_GCDI",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-xiuxian-gcdi"
}