<!-- markdownlint-disable MD033 MD041 -->
<p align="center">
<a href="https://github.com/benx1n/HikariBot"><img src="https://s2.loli.net/2022/05/28/SFsER8m6TL7jwJ2.png" alt="Hikari " style="width:200px; height:200px" ></a>
</p>
<div align="center">
# Hikari
<!-- prettier-ignore-start -->
<!-- markdownlint-disable-next-line MD036 -->
战舰世界水表BOT
<!-- prettier-ignore-end -->
<p align="center">
<a href="https://pypi.python.org/pypi/hikari-bot">
<img src="https://img.shields.io/pypi/v/hikari-bot" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.8.0+-blue" alt="python">
<a href="http://hits.dwyl.com/benx1n/HikariBot">
<img src="https://hits.dwyl.com/benx1n/HikariBot.svg?style=flat-square" alt="hits">
</a>
<a href="https://github.com/benx1n/HikariBot/stargazers"><img src="https://img.shields.io/github/stars/benx1n/HikariBot" alt="GitHub stars"style="max-width: 100%;">
</a>
<br/>
<a href="https://jq.qq.com/?_wv=1027&k=S2WcTKi5">
<img src="https://img.shields.io/badge/QQ%E7%BE%A4-967546463-orange?style=flat-square" alt="QQ Chat Group">
</a>
<a href="https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&appChannel=share&inviteCode=1W4NX2S&from=181074&biz=ka#/pc">
<img src="https://img.shields.io/badge/QQ%E9%A2%91%E9%81%93-yuyuko助手-5492ff?style=flat-square" alt="QQ Channel">
</a>
# 💘您不打算给可爱的Hikari点个Star吗QAQ
</p>
</div>
## 简介
战舰世界水表BOT,基于Nonebot2,适配QQ官方机器人
水表人,出击!wws me recent!!!
## 特色
- [x] 账号总体、单船、近期战绩
- [x] 全指令支持参数乱序
- [x] 快速切换绑定账号
- [x] 实时推送对局信息
- [x] 支持@快速查询
- [x] 全异步,高并发下性能更优
- [x] 适配官方BOT
<details>
<summary>点我查看功能列表</summary>
- 绑定账号:wws bind/set/绑定 [服务器+游戏昵称]:
- 查询账号绑定列表:wws [查询/查]绑定/绑定列表 [me/@群友]:
- 切换删除绑定账号:wws [切换/删除]绑定 [序号]
- 查询账号总体战绩:wws [(服务器+游戏昵称)/@群友/me]
- 查询账号历史记录:wws [(服务器+游戏昵称)/@群友/me] record
- 查询账号近期战绩:wws [(服务器+游戏昵称)/@群友/me] recent [日期]
- 查询单船总体战绩:wws [(服务器+游戏昵称)/@群友/me] ship [船名]
- 查询单船近期战绩:wws [(服务器+游戏昵称)/@群友/me] ship [船名] recent [日期]
- 查询服务器排行榜:wws [服务器+战舰名] rank/ship.rank
- 查询军团详细信息:wws [(服务器+军团名)/@群友/me] clan
- 查询军团历史记录:wws [(服务器+军团名)/@群友/me] clan record
- 查询舰船中英文名:wws [搜/查船名] [国家][等级][类型]
- 添加游戏战绩监控: wws [添加监控] [服务器] [游戏昵称] [备注名]
- 查询游戏战绩监控: wws [查询监控]
- 删除游戏战绩监控: wws [删除监控] [监控序号]
- 重置全部战绩监控: wws [重置监控](该指令仅限superuser使用)
- 检查版本更新:wws 检查更新
- 更新:wws 更新Hikari
- 查看帮助:wws help
- 噗噗:一言
</details>
## 在Windows系统上快速部署
`windows安装python版本请勿大于3.11,建议版本3.10`
1. 下载Hikari的最新Release并解压到合适文件夹
2. 复制一份`.env.prod-example`文件,并将其重命名为`.env.prod`,打开并按其中注释编辑
>只显示了.env,没有后面的后缀?请百度`windows如何显示文件后缀名`
```
id = xxxx
token = xxxxx
secret = xxxxx
API_TOKEN = xxxxxxxx #无需引号,TOKEN即回复您的邮件所带的一串由[数字+冒号+英文/数字]组成的字符串
SUPERUSERS=["唯一ID"]
```
- 最后TOKEN应该长这样 `API_TOKEN = 123764323:ba1f2511fc30423bdbb183fe33`
- SUPERUSERS请在首次启动BOT后发送test,BOT将会回复你的USER_ID,再填入配置文件中重启即可
3. 如果在服务器上部署保持`UPLOAD_IMAGE = local`即可,如需在无公网IP的环境上部署,请将该项修改为`oss`或`smms`
- 如使用`smms`,请前往[SMMS](https://smms.app/)注册账号后进入[API页面](https://smms.app/home/apitoken)获取Token并填入`SMMS_KEY`
- 如使用`oss`,请前往阿里云OSS创建对应存储库,将EndPoint和Bucket名分别填入`OSS_ENDPOINT`和`OSS_BUCKET`,并创建可读写Access令牌,将ID和Key分别填入`OSS_ID`和`OSS_KEY`
4. 双击`启动.bat`
## 更新
实验性更新指令:`wws 更新Hikari`
请确保在能登录上服务器的情况下使用
以下是旧更新方法
1. 按不同版本
- Windows一键包:下载最新一键包,复制旧版本中`accounts`文件夹和`env.prod`文件替换至新版文件夹中即可
- 完整版:以管理员身份运行`更新.bat`或执行`./manage.sh update`
>等效于在cmd中执行如下代码
```
pip install --upgrade hikari-bot
git pull
```
- 插件版:在cmd中执行如下代码
```
pip install --upgrade hikari-bot
```
2. **对比`.env.prod-example`中新增的配置项,并同步至你本地的`env.prod`**
- install结束后会打印当前版本
- 您也可以通过`pip show hikari-bot`查看当前Hikari版本
- 如果没有更新到最新版请等待一会儿,镜像站一般每五分钟同步
- 从0.3.2.2版本开始,您没有填写的配置将按.env文件中的默认配置执行,具体逻辑为
- 私聊、频道默认禁用
- 群聊默认开启,默认屏蔽官方交流群
## 可能会遇到的问题
### 出现ZoneInfoNotFoundError报错
>
>您可以在[这里](https://github.com/nonebot/nonebot2/issues/78)找到相关解决办法
>
### Recent和绑定提示'鉴权失败'
1. 检查Token是否配置正确,token格式为`XXXXX:XXXXXX`
2. 如果配置正确可能是Token失效了,请重新申请
### Ubuntu系统下部署字体不正常(针对一些云服务器的Ubuntu镜像,不保证成功,只是提供一个解决方案)
1. 执行以下命令,完善字体库并将中文设置成默认语言(部分Ubuntu可能不需要该步骤,可直接从第二步开始)
```
sudo apt install fonts-noto
sudo locale-gen zh_CN zh_CN.UTF-8
sudo update-locale LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8
sudo fc-cache -fv
```
2. 在你的Windows电脑上打开`C:\Windows\fonts`文件夹,找到里面的微软雅黑字体,将其复制出来,放在任意目录,应该会得到`msyh.ttc`,`mshybd.ttc`,`msyhl.ttc`三个文件。(不会有人还用Win7吧?)
3. 进入到`/usr/share/fonts`文件夹下,创建一个文件夹命名为`msyh`,然后进入其中
```
cd /usr/share/fonts
sudo mkdir msyh
cd msyh
```
4. 将三个字体文件上传到`msyh`文件夹中(过程中遇到的问题请自行解决)
5. 执行以下命令(此时你应该是在`msyh`文件夹下),加载字体
```
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
```
6. (可选,若不正常可尝试)重启Hikari。
## 贡献代码
请向dev分支提交PR
## 鸣谢
感谢以下开发者及项目做出的贡献与支持
<a href="https://github.com//benx1n/HikariBot/graphs/contributors">
<img src="https://contrib.rocks/image?repo=benx1n/HikariBot" />
</a>
[Nonebot2](https://github.com/nonebot/nonebot2)
[go-cqhttp](https://github.com/Mrs4s/go-cqhttp)
[战舰世界API平台](https://wows.shinoaki.com/)
## 开源相关
MIT
修改、分发代码时请保留原作者相关信息
## 赞助
<p align="left">
<a href="https://afdian.net/a/JustOneSummer?tab=home"><img src="https://hikari-resource.oss-cn-shanghai.aliyuncs.com/%E7%88%B1%E5%8F%91%E7%94%B5.png" alt="afdian" ></a>
</p>
Raw data
{
"_id": null,
"home_page": "https://github.com/benx1n/HikariBot-Official",
"name": "hikari-bot-official",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.0,<4.0.0",
"maintainer_email": "",
"keywords": "nonebot,nonebot2,qqbot,wows,wws,bot,stats",
"author": "benx1n",
"author_email": "shirakamikanade@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ee/a2/75dc6291f6b08e49d380e05078ffe2d69b5cad079e83f7952d86ae601793/hikari_bot_official-0.2.9.tar.gz",
"platform": null,
"description": "<!-- markdownlint-disable MD033 MD041 -->\n<p align=\"center\">\n <a href=\"https://github.com/benx1n/HikariBot\"><img src=\"https://s2.loli.net/2022/05/28/SFsER8m6TL7jwJ2.png\" alt=\"Hikari \" style=\"width:200px; height:200px\" ></a>\n</p>\n\n<div align=\"center\">\n\n# Hikari\n\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable-next-line MD036 -->\n\u6218\u8230\u4e16\u754c\u6c34\u8868BOT\n<!-- prettier-ignore-end -->\n\n<p align=\"center\">\n <a href=\"https://pypi.python.org/pypi/hikari-bot\">\n <img src=\"https://img.shields.io/pypi/v/hikari-bot\" alt=\"pypi\">\n </a>\n <img src=\"https://img.shields.io/badge/python-3.8.0+-blue\" alt=\"python\">\n <a href=\"http://hits.dwyl.com/benx1n/HikariBot\">\n <img src=\"https://hits.dwyl.com/benx1n/HikariBot.svg?style=flat-square\" alt=\"hits\">\n </a>\n <a href=\"https://github.com/benx1n/HikariBot/stargazers\"><img src=\"https://img.shields.io/github/stars/benx1n/HikariBot\" alt=\"GitHub stars\"style=\"max-width: 100%;\">\n </a>\n <br/>\n <a href=\"https://jq.qq.com/?_wv=1027&k=S2WcTKi5\">\n <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-967546463-orange?style=flat-square\" alt=\"QQ Chat Group\">\n </a>\n <a href=\"https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&appChannel=share&inviteCode=1W4NX2S&from=181074&biz=ka#/pc\">\n <img src=\"https://img.shields.io/badge/QQ%E9%A2%91%E9%81%93-yuyuko\u52a9\u624b-5492ff?style=flat-square\" alt=\"QQ Channel\">\n </a>\n\n# \ud83d\udc98\u60a8\u4e0d\u6253\u7b97\u7ed9\u53ef\u7231\u7684Hikari\u70b9\u4e2aStar\u5417QAQ\n</p>\n</div>\n\n## \u7b80\u4ecb\n\n\u6218\u8230\u4e16\u754c\u6c34\u8868BOT\uff0c\u57fa\u4e8eNonebot2\uff0c\u9002\u914dQQ\u5b98\u65b9\u673a\u5668\u4eba\n\u6c34\u8868\u4eba\uff0c\u51fa\u51fb\uff01wws me recent\uff01\uff01\uff01 \n\n\n## \u7279\u8272\n\n- [x] \u8d26\u53f7\u603b\u4f53\u3001\u5355\u8239\u3001\u8fd1\u671f\u6218\u7ee9\n- [x] \u5168\u6307\u4ee4\u652f\u6301\u53c2\u6570\u4e71\u5e8f\n- [x] \u5feb\u901f\u5207\u6362\u7ed1\u5b9a\u8d26\u53f7\n- [x] \u5b9e\u65f6\u63a8\u9001\u5bf9\u5c40\u4fe1\u606f\n- [x] \u652f\u6301@\u5feb\u901f\u67e5\u8be2\n- [x] \u5168\u5f02\u6b65\uff0c\u9ad8\u5e76\u53d1\u4e0b\u6027\u80fd\u66f4\u4f18\n- [x] \u9002\u914d\u5b98\u65b9BOT\n\n <details>\n <summary>\u70b9\u6211\u67e5\u770b\u529f\u80fd\u5217\u8868</summary>\n\n - \u7ed1\u5b9a\u8d26\u53f7\uff1awws bind/set/\u7ed1\u5b9a [\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0]\uff1a\n - \u67e5\u8be2\u8d26\u53f7\u7ed1\u5b9a\u5217\u8868\uff1awws [\u67e5\u8be2/\u67e5]\u7ed1\u5b9a/\u7ed1\u5b9a\u5217\u8868 [me/@\u7fa4\u53cb]\uff1a\n - \u5207\u6362\u5220\u9664\u7ed1\u5b9a\u8d26\u53f7\uff1awws [\u5207\u6362/\u5220\u9664]\u7ed1\u5b9a [\u5e8f\u53f7]\n - \u67e5\u8be2\u8d26\u53f7\u603b\u4f53\u6218\u7ee9\uff1awws [(\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0)/@\u7fa4\u53cb/me]\n - \u67e5\u8be2\u8d26\u53f7\u5386\u53f2\u8bb0\u5f55\uff1awws [(\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0)/@\u7fa4\u53cb/me] record\n - \u67e5\u8be2\u8d26\u53f7\u8fd1\u671f\u6218\u7ee9\uff1awws [(\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0)/@\u7fa4\u53cb/me] recent [\u65e5\u671f]\n - \u67e5\u8be2\u5355\u8239\u603b\u4f53\u6218\u7ee9\uff1awws [(\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0)/@\u7fa4\u53cb/me] ship [\u8239\u540d]\n - \u67e5\u8be2\u5355\u8239\u8fd1\u671f\u6218\u7ee9\uff1awws [(\u670d\u52a1\u5668+\u6e38\u620f\u6635\u79f0)/@\u7fa4\u53cb/me] ship [\u8239\u540d] recent [\u65e5\u671f]\n - \u67e5\u8be2\u670d\u52a1\u5668\u6392\u884c\u699c\uff1awws [\u670d\u52a1\u5668+\u6218\u8230\u540d] rank/ship.rank\n - \u67e5\u8be2\u519b\u56e2\u8be6\u7ec6\u4fe1\u606f\uff1awws [(\u670d\u52a1\u5668+\u519b\u56e2\u540d)/@\u7fa4\u53cb/me] clan\n - \u67e5\u8be2\u519b\u56e2\u5386\u53f2\u8bb0\u5f55\uff1awws [(\u670d\u52a1\u5668+\u519b\u56e2\u540d)/@\u7fa4\u53cb/me] clan record\n - \u67e5\u8be2\u8230\u8239\u4e2d\u82f1\u6587\u540d\uff1awws [\u641c/\u67e5\u8239\u540d] [\u56fd\u5bb6][\u7b49\u7ea7][\u7c7b\u578b]\n - \u6dfb\u52a0\u6e38\u620f\u6218\u7ee9\u76d1\u63a7: wws [\u6dfb\u52a0\u76d1\u63a7] [\u670d\u52a1\u5668] [\u6e38\u620f\u6635\u79f0] [\u5907\u6ce8\u540d]\n - \u67e5\u8be2\u6e38\u620f\u6218\u7ee9\u76d1\u63a7: wws [\u67e5\u8be2\u76d1\u63a7]\n - \u5220\u9664\u6e38\u620f\u6218\u7ee9\u76d1\u63a7: wws [\u5220\u9664\u76d1\u63a7] [\u76d1\u63a7\u5e8f\u53f7]\n - \u91cd\u7f6e\u5168\u90e8\u6218\u7ee9\u76d1\u63a7: wws [\u91cd\u7f6e\u76d1\u63a7](\u8be5\u6307\u4ee4\u4ec5\u9650superuser\u4f7f\u7528)\n - \u68c0\u67e5\u7248\u672c\u66f4\u65b0\uff1awws \u68c0\u67e5\u66f4\u65b0\n - \u66f4\u65b0\uff1awws \u66f4\u65b0Hikari\n - \u67e5\u770b\u5e2e\u52a9\uff1awws help\n - \u5657\u5657\uff1a\u4e00\u8a00\n\n </details>\n## \u5728Windows\u7cfb\u7edf\u4e0a\u5feb\u901f\u90e8\u7f72\n\n `windows\u5b89\u88c5python\u7248\u672c\u8bf7\u52ff\u5927\u4e8e3.11,\u5efa\u8bae\u7248\u672c3.10`\n\n1. \u4e0b\u8f7dHikari\u7684\u6700\u65b0Release\u5e76\u89e3\u538b\u5230\u5408\u9002\u6587\u4ef6\u5939\n2. \u590d\u5236\u4e00\u4efd`.env.prod-example`\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u91cd\u547d\u540d\u4e3a`.env.prod`,\u6253\u5f00\u5e76\u6309\u5176\u4e2d\u6ce8\u91ca\u7f16\u8f91\n >\u53ea\u663e\u793a\u4e86.env\uff0c\u6ca1\u6709\u540e\u9762\u7684\u540e\u7f00\uff1f\u8bf7\u767e\u5ea6`windows\u5982\u4f55\u663e\u793a\u6587\u4ef6\u540e\u7f00\u540d`\n ```\n id = xxxx\n token = xxxxx\n secret = xxxxx\n API_TOKEN = xxxxxxxx #\u65e0\u9700\u5f15\u53f7\uff0cTOKEN\u5373\u56de\u590d\u60a8\u7684\u90ae\u4ef6\u6240\u5e26\u7684\u4e00\u4e32\u7531[\u6570\u5b57+\u5192\u53f7+\u82f1\u6587/\u6570\u5b57]\u7ec4\u6210\u7684\u5b57\u7b26\u4e32\n SUPERUSERS=[\"\u552f\u4e00ID\"]\n ```\n - \u6700\u540eTOKEN\u5e94\u8be5\u957f\u8fd9\u6837 `API_TOKEN = 123764323:ba1f2511fc30423bdbb183fe33`\n - SUPERUSERS\u8bf7\u5728\u9996\u6b21\u542f\u52a8BOT\u540e\u53d1\u9001test\uff0cBOT\u5c06\u4f1a\u56de\u590d\u4f60\u7684USER_ID\uff0c\u518d\u586b\u5165\u914d\u7f6e\u6587\u4ef6\u4e2d\u91cd\u542f\u5373\u53ef\n3. \u5982\u679c\u5728\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4fdd\u6301`UPLOAD_IMAGE = local`\u5373\u53ef\uff0c\u5982\u9700\u5728\u65e0\u516c\u7f51IP\u7684\u73af\u5883\u4e0a\u90e8\u7f72\uff0c\u8bf7\u5c06\u8be5\u9879\u4fee\u6539\u4e3a`oss`\u6216`smms`\n - \u5982\u4f7f\u7528`smms`\uff0c\u8bf7\u524d\u5f80[SMMS](https://smms.app/)\u6ce8\u518c\u8d26\u53f7\u540e\u8fdb\u5165[API\u9875\u9762](https://smms.app/home/apitoken)\u83b7\u53d6Token\u5e76\u586b\u5165`SMMS_KEY`\n - \u5982\u4f7f\u7528`oss`\uff0c\u8bf7\u524d\u5f80\u963f\u91cc\u4e91OSS\u521b\u5efa\u5bf9\u5e94\u5b58\u50a8\u5e93\uff0c\u5c06EndPoint\u548cBucket\u540d\u5206\u522b\u586b\u5165`OSS_ENDPOINT`\u548c`OSS_BUCKET`\uff0c\u5e76\u521b\u5efa\u53ef\u8bfb\u5199Access\u4ee4\u724c\uff0c\u5c06ID\u548cKey\u5206\u522b\u586b\u5165`OSS_ID`\u548c`OSS_KEY`\n4. \u53cc\u51fb`\u542f\u52a8.bat`\n\n\n## \u66f4\u65b0\n\u5b9e\u9a8c\u6027\u66f4\u65b0\u6307\u4ee4\uff1a`wws \u66f4\u65b0Hikari`\n\u8bf7\u786e\u4fdd\u5728\u80fd\u767b\u5f55\u4e0a\u670d\u52a1\u5668\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\n\u4ee5\u4e0b\u662f\u65e7\u66f4\u65b0\u65b9\u6cd5\n1. \u6309\u4e0d\u540c\u7248\u672c\n - Windows\u4e00\u952e\u5305\uff1a\u4e0b\u8f7d\u6700\u65b0\u4e00\u952e\u5305\uff0c\u590d\u5236\u65e7\u7248\u672c\u4e2d`accounts`\u6587\u4ef6\u5939\u548c`env.prod`\u6587\u4ef6\u66ff\u6362\u81f3\u65b0\u7248\u6587\u4ef6\u5939\u4e2d\u5373\u53ef\n - \u5b8c\u6574\u7248\uff1a\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c`\u66f4\u65b0.bat`\u6216\u6267\u884c`./manage.sh update`\n >\u7b49\u6548\u4e8e\u5728cmd\u4e2d\u6267\u884c\u5982\u4e0b\u4ee3\u7801\n ```\n pip install --upgrade hikari-bot\n git pull\n ```\n - \u63d2\u4ef6\u7248\uff1a\u5728cmd\u4e2d\u6267\u884c\u5982\u4e0b\u4ee3\u7801\n ```\n pip install --upgrade hikari-bot\n ```\n2. **\u5bf9\u6bd4`.env.prod-example`\u4e2d\u65b0\u589e\u7684\u914d\u7f6e\u9879\uff0c\u5e76\u540c\u6b65\u81f3\u4f60\u672c\u5730\u7684`env.prod`**\n - install\u7ed3\u675f\u540e\u4f1a\u6253\u5370\u5f53\u524d\u7248\u672c\n - \u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7`pip show hikari-bot`\u67e5\u770b\u5f53\u524dHikari\u7248\u672c\n - \u5982\u679c\u6ca1\u6709\u66f4\u65b0\u5230\u6700\u65b0\u7248\u8bf7\u7b49\u5f85\u4e00\u4f1a\u513f\uff0c\u955c\u50cf\u7ad9\u4e00\u822c\u6bcf\u4e94\u5206\u949f\u540c\u6b65\n - \u4ece0.3.2.2\u7248\u672c\u5f00\u59cb\uff0c\u60a8\u6ca1\u6709\u586b\u5199\u7684\u914d\u7f6e\u5c06\u6309.env\u6587\u4ef6\u4e2d\u7684\u9ed8\u8ba4\u914d\u7f6e\u6267\u884c\uff0c\u5177\u4f53\u903b\u8f91\u4e3a\n - \u79c1\u804a\u3001\u9891\u9053\u9ed8\u8ba4\u7981\u7528\n - \u7fa4\u804a\u9ed8\u8ba4\u5f00\u542f\uff0c\u9ed8\u8ba4\u5c4f\u853d\u5b98\u65b9\u4ea4\u6d41\u7fa4\n\n\n\n## \u53ef\u80fd\u4f1a\u9047\u5230\u7684\u95ee\u9898\n\n### \u51fa\u73b0ZoneInfoNotFoundError\u62a5\u9519\n>\n>\u60a8\u53ef\u4ee5\u5728[\u8fd9\u91cc](https://github.com/nonebot/nonebot2/issues/78)\u627e\u5230\u76f8\u5173\u89e3\u51b3\u529e\u6cd5\n>\n### Recent\u548c\u7ed1\u5b9a\u63d0\u793a'\u9274\u6743\u5931\u8d25'\n1. \u68c0\u67e5Token\u662f\u5426\u914d\u7f6e\u6b63\u786e\uff0ctoken\u683c\u5f0f\u4e3a`XXXXX:XXXXXX`\n2. \u5982\u679c\u914d\u7f6e\u6b63\u786e\u53ef\u80fd\u662fToken\u5931\u6548\u4e86\uff0c\u8bf7\u91cd\u65b0\u7533\u8bf7\n\n\n\n### Ubuntu\u7cfb\u7edf\u4e0b\u90e8\u7f72\u5b57\u4f53\u4e0d\u6b63\u5e38(\u9488\u5bf9\u4e00\u4e9b\u4e91\u670d\u52a1\u5668\u7684Ubuntu\u955c\u50cf\uff0c\u4e0d\u4fdd\u8bc1\u6210\u529f\uff0c\u53ea\u662f\u63d0\u4f9b\u4e00\u4e2a\u89e3\u51b3\u65b9\u6848)\n 1. \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5b8c\u5584\u5b57\u4f53\u5e93\u5e76\u5c06\u4e2d\u6587\u8bbe\u7f6e\u6210\u9ed8\u8ba4\u8bed\u8a00\uff08\u90e8\u5206Ubuntu\u53ef\u80fd\u4e0d\u9700\u8981\u8be5\u6b65\u9aa4\uff0c\u53ef\u76f4\u63a5\u4ece\u7b2c\u4e8c\u6b65\u5f00\u59cb\uff09\n ```\n sudo apt install fonts-noto \n sudo locale-gen zh_CN zh_CN.UTF-8 \n sudo update-locale LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8 \n sudo fc-cache -fv\n ```\n \n 2. \u5728\u4f60\u7684Windows\u7535\u8111\u4e0a\u6253\u5f00`C:\\Windows\\fonts`\u6587\u4ef6\u5939\uff0c\u627e\u5230\u91cc\u9762\u7684\u5fae\u8f6f\u96c5\u9ed1\u5b57\u4f53\uff0c\u5c06\u5176\u590d\u5236\u51fa\u6765\uff0c\u653e\u5728\u4efb\u610f\u76ee\u5f55\uff0c\u5e94\u8be5\u4f1a\u5f97\u5230`msyh.ttc`\uff0c`mshybd.ttc`\uff0c`msyhl.ttc`\u4e09\u4e2a\u6587\u4ef6\u3002\uff08\u4e0d\u4f1a\u6709\u4eba\u8fd8\u7528Win7\u5427\uff1f\uff09\n\n 3. \u8fdb\u5165\u5230`/usr/share/fonts`\u6587\u4ef6\u5939\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u547d\u540d\u4e3a`msyh`\uff0c\u7136\u540e\u8fdb\u5165\u5176\u4e2d\n ```\n cd /usr/share/fonts \n sudo mkdir msyh \n cd msyh\n ```\n \n 4. \u5c06\u4e09\u4e2a\u5b57\u4f53\u6587\u4ef6\u4e0a\u4f20\u5230`msyh`\u6587\u4ef6\u5939\u4e2d(\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u8bf7\u81ea\u884c\u89e3\u51b3)\n\n 5. \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff08\u6b64\u65f6\u4f60\u5e94\u8be5\u662f\u5728`msyh`\u6587\u4ef6\u5939\u4e0b\uff09\uff0c\u52a0\u8f7d\u5b57\u4f53\n ```\n sudo mkfontscale \n sudo mkfontdir \n sudo fc-cache -fv\n ```\n \n 6. \uff08\u53ef\u9009\uff0c\u82e5\u4e0d\u6b63\u5e38\u53ef\u5c1d\u8bd5\uff09\u91cd\u542fHikari\u3002\n\n\n## \u8d21\u732e\u4ee3\u7801\n\n\u8bf7\u5411dev\u5206\u652f\u63d0\u4ea4PR\n\n## \u9e23\u8c22\n\n\u611f\u8c22\u4ee5\u4e0b\u5f00\u53d1\u8005\u53ca\u9879\u76ee\u505a\u51fa\u7684\u8d21\u732e\u4e0e\u652f\u6301\n\n<a href=\"https://github.com//benx1n/HikariBot/graphs/contributors\">\n <img src=\"https://contrib.rocks/image?repo=benx1n/HikariBot\" />\n</a>\n\n[Nonebot2](https://github.com/nonebot/nonebot2) \n[go-cqhttp](https://github.com/Mrs4s/go-cqhttp) \n[\u6218\u8230\u4e16\u754cAPI\u5e73\u53f0](https://wows.shinoaki.com/) \n\n## \u5f00\u6e90\u76f8\u5173\nMIT\n\u4fee\u6539\u3001\u5206\u53d1\u4ee3\u7801\u65f6\u8bf7\u4fdd\u7559\u539f\u4f5c\u8005\u76f8\u5173\u4fe1\u606f\n\n## \u8d5e\u52a9\n<p align=\"left\">\n <a href=\"https://afdian.net/a/JustOneSummer?tab=home\"><img src=\"https://hikari-resource.oss-cn-shanghai.aliyuncs.com/%E7%88%B1%E5%8F%91%E7%94%B5.png\" alt=\"afdian\" ></a>\n</p>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Nonebot2 HikariBot For QQ-Official,\u652f\u6301\u6218\u8230\u4e16\u754c\u6c34\u8868\u67e5\u8be2",
"version": "0.2.9",
"project_urls": {
"Homepage": "https://github.com/benx1n/HikariBot-Official",
"Repository": "https://github.com/benx1n/HikariBot-Official"
},
"split_keywords": [
"nonebot",
"nonebot2",
"qqbot",
"wows",
"wws",
"bot",
"stats"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "75863f3d8ba13be5f495a9466b3a24d7ba0dcc2a663846708b309fef200dd704",
"md5": "26631a2ba3da0c2a46fa8cb9096149e2",
"sha256": "9d059583ac89d71c15d4eda27aee1e0046bf04681144786277e7bf1c23372e00"
},
"downloads": -1,
"filename": "hikari_bot_official-0.2.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26631a2ba3da0c2a46fa8cb9096149e2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.0,<4.0.0",
"size": 15026,
"upload_time": "2023-12-06T04:41:17",
"upload_time_iso_8601": "2023-12-06T04:41:17.234823Z",
"url": "https://files.pythonhosted.org/packages/75/86/3f3d8ba13be5f495a9466b3a24d7ba0dcc2a663846708b309fef200dd704/hikari_bot_official-0.2.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eea275dc6291f6b08e49d380e05078ffe2d69b5cad079e83f7952d86ae601793",
"md5": "4918d61c8f330094d308b0b4c7cb11b9",
"sha256": "738d8ab5c384b58a49ccffa68b0ed7277e62038f917e00ee78e7221201ebb604"
},
"downloads": -1,
"filename": "hikari_bot_official-0.2.9.tar.gz",
"has_sig": false,
"md5_digest": "4918d61c8f330094d308b0b4c7cb11b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0,<4.0.0",
"size": 18042,
"upload_time": "2023-12-06T04:41:19",
"upload_time_iso_8601": "2023-12-06T04:41:19.103073Z",
"url": "https://files.pythonhosted.org/packages/ee/a2/75dc6291f6b08e49d380e05078ffe2d69b5cad079e83f7952d86ae601793/hikari_bot_official-0.2.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-06 04:41:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "benx1n",
"github_project": "HikariBot-Official",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hikari-bot-official"
}