mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-06 11:43:44 +08:00
🎨 修改艾特查询头像错误 (#60)
This commit is contained in:
parent
11c66a2f8a
commit
336ccbb481
@ -29,7 +29,7 @@ async def send_srabyss_info(bot: Bot, ev: Event):
|
|||||||
return
|
return
|
||||||
|
|
||||||
await bot.logger.info('开始执行[sr查询深渊信息]')
|
await bot.logger.info('开始执行[sr查询深渊信息]')
|
||||||
uid = await get_uid(bot, ev)
|
uid, user_id = await get_uid(bot, ev, True)
|
||||||
if uid is None:
|
if uid is None:
|
||||||
return await bot.send(UID_HINT)
|
return await bot.send(UID_HINT)
|
||||||
await bot.logger.info('[sr查询深渊信息]uid: {}'.format(uid))
|
await bot.logger.info('[sr查询深渊信息]uid: {}'.format(uid))
|
||||||
@ -64,5 +64,5 @@ async def send_srabyss_info(bot: Bot, ev: Event):
|
|||||||
# data = GsCookie()
|
# data = GsCookie()
|
||||||
# raw_abyss_data = await data.get_spiral_abyss_data(uid, schedule_type)
|
# raw_abyss_data = await data.get_spiral_abyss_data(uid, schedule_type)
|
||||||
# print(raw_abyss_data)
|
# print(raw_abyss_data)
|
||||||
im = await draw_abyss_img(ev.user_id, uid, floor, schedule_type)
|
im = await draw_abyss_img(user_id, uid, floor, schedule_type)
|
||||||
await bot.send(im)
|
await bot.send(im)
|
||||||
|
@ -32,7 +32,7 @@ async def send_srabyss_info(bot: Bot, ev: Event):
|
|||||||
return
|
return
|
||||||
|
|
||||||
await bot.logger.info('开始执行[sr查询模拟宇宙信息]')
|
await bot.logger.info('开始执行[sr查询模拟宇宙信息]')
|
||||||
uid = await get_uid(bot, ev)
|
uid, user_id = await get_uid(bot, ev, True)
|
||||||
if uid is None:
|
if uid is None:
|
||||||
return await bot.send(UID_HINT)
|
return await bot.send(UID_HINT)
|
||||||
await bot.logger.info('[sr查询模拟宇宙信息]uid: {}'.format(uid))
|
await bot.logger.info('[sr查询模拟宇宙信息]uid: {}'.format(uid))
|
||||||
@ -63,5 +63,5 @@ async def send_srabyss_info(bot: Bot, ev: Event):
|
|||||||
# data = GsCookie()
|
# data = GsCookie()
|
||||||
# raw_rogue_data = await data.get_rogue_data(uid, schedule_type)
|
# raw_rogue_data = await data.get_rogue_data(uid, schedule_type)
|
||||||
# print(raw_rogue_data)
|
# print(raw_rogue_data)
|
||||||
im = await draw_rogue_img(ev.user_id, uid, floor, schedule_type)
|
im = await draw_rogue_img(user_id, uid, floor, schedule_type)
|
||||||
await bot.send(im)
|
await bot.send(im)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user