mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-31 12:40:38 +08:00
修复:Readme
This commit is contained in:
parent
93eba1e036
commit
d3c69bf2b1
@ -60,6 +60,8 @@ $ pip3 install -r requirements.txt
|
||||
|
||||
新增:`角色xx`命令的类型匹配,例如`角色长柄武器`,可以查看所有长柄武器的角色,例如`角色火`,`角色火元素伤害加成`,`角色琉璃袋`,`角色燃愿玛瑙`等等……
|
||||
|
||||
新增:`材料xx`命令,例如`材料可莉`,可以查看可莉的材料列表。
|
||||
|
||||
新增:`活动列表`命令,第一次使用可能输出时间略久,需等待一段时间。
|
||||
|
||||
新增:`御神签`命令,随机抽签。
|
||||
@ -257,6 +259,7 @@ $ pip3 install -r requirements.txt
|
||||
| 角色 | | 查询角色简略信息 | 角色可莉 | |
|
||||
| 角色 | \d | 查询角色某个等级的属性 | 角色可莉64 | |
|
||||
| 角色 | <某种类型> | 匹配一整类角色 | 角色燃愿玛瑙 | |
|
||||
| 材料 | | 输出角色材料列表 | 材料可莉 | |
|
||||
| 查询词云 | | 查询绑定角色的词云 | 查询词云 | 必须绑定过UID/MYSID |
|
||||
|
||||
### 深渊查询:
|
||||
|
@ -117,7 +117,11 @@ async def _(bot:HoshinoBot, ev: CQEvent):
|
||||
img_path = os.path.join(FILE2_PATH,"event.jpg")
|
||||
while(1):
|
||||
if os.path.exists(img_path):
|
||||
im = f'[CQ:image,file=file://{img_path}]'
|
||||
f=open(img_path,'rb')
|
||||
ls_f = base64.b64encode(f.read()).decode()
|
||||
imgmes = 'base64://' + ls_f
|
||||
f.close()
|
||||
im = f"[CQ:image,file={imgmes}]"
|
||||
break
|
||||
else:
|
||||
await draw_event_pic()
|
||||
|
Loading…
x
Reference in New Issue
Block a user