mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-01 13:09:56 +08:00
引号问题
This commit is contained in:
parent
3a0c6c44af
commit
9e33e21f5b
@ -20,7 +20,7 @@ Texture_PATH = os.path.join(FILE_PATH, 'texture2d')
|
|||||||
@sv.on_fullmatch('gs帮助')
|
@sv.on_fullmatch('gs帮助')
|
||||||
async def send_help_pic(bot: HoshinoBot, ev: CQEvent):
|
async def send_help_pic(bot: HoshinoBot, ev: CQEvent):
|
||||||
try:
|
try:
|
||||||
help_path = os.path.join(INDEX_PATH,"help.png")
|
help_path = os.path.join(INDEX_PATH,'help.png')
|
||||||
f = open(help_path, 'rb')
|
f = open(help_path, 'rb')
|
||||||
ls_f = b64encode(f.read()).decode()
|
ls_f = b64encode(f.read()).decode()
|
||||||
img_mes = 'base64://' + ls_f
|
img_mes = 'base64://' + ls_f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user