GenshinUID/README.md
KimigaiiWuyi 035152568d readme
2021-08-02 23:58:06 +08:00

58 lines
1.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# GenshinUID
一个HoshinoBot插件用于查询原神UID信息。
已完成:角色排序(星级>等级>好感),背景图自定义(通过传参形式)
未完成:深渊数据导出,角色详细信息列表(包括武器信息,和全角色)
示例: ![1](C:\Users\44483\Desktop\1.PNG)
- [安装](#安装)
- [指令](#指令)
- [相关仓库](#相关仓库)
- [使用许可](#使用许可)
- [其他](#其他)
## 安装
基于[Mrs4s](https://github.com/Mrs4s) / [go-cqhttp](https://github.com/Mrs4s/go-cqhttp) 和 [HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot) 的插件请确保你知晓HoshinoBot的插件安装方法和go-cqhttp的使用方法。
1、在hoshino/modules目录下执行
```sh
$ git clone https://github.com/KimigaiiWuyi/GenshinUID.git
```
2、进入GenshinUID文件夹内安装依赖库
```sh
$ pip3 install -r requirements.txt
```
3、在GenshinUID的文件夹下打开getData.py修改其中三条cookies的值改成自己的
4、在hoshino/config的`__bot__.py`文件中添加GenshinUID
## 指令
1、触发词uid后面跟九位uid即可。
![Snipaste_2021-08-02_23-06-56](C:\Users\44483\Desktop\Snipaste_2021-08-02_23-06-56.png)
2、触发词后跟九位uid后跟一张任意大小的图片不能是GIF可以自定义背景
![Snipaste_2021-08-02_22-46-55](C:\Users\44483\Desktop\Snipaste_2021-08-02_22-46-55.png)
![Snipaste_2021-08-02_23-06-45](C:\Users\44483\Desktop\Snipaste_2021-08-02_23-06-45.png)
## 相关仓库
- [PaimonBot](https://github.com/XiaoMiku01/PaimonBot) - 插件原始代码来自于它
## 其他
代码写的很烂勿喷有问题可以发issues~
顺便求个star~