mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-08 04:55:47 +08:00
add return
This commit is contained in:
parent
4b5d3bdd85
commit
50707a8373
@ -12,8 +12,8 @@ sv_sr_download_config = SV('sr下载资源', pm=1)
|
||||
@sv_sr_download_config.on_fullmatch(f'{PREFIX}下载全部资源')
|
||||
async def send_download_resource_msg(bot: Bot, ev: Event):
|
||||
await bot.send('sr正在开始下载~可能需要较久的时间!')
|
||||
await check_use()
|
||||
await bot.send('sr全部资源下载完成!')
|
||||
im = await check_use()
|
||||
await bot.send(im)
|
||||
|
||||
|
||||
async def startup():
|
||||
|
@ -104,6 +104,7 @@ async def check_use():
|
||||
)
|
||||
if tag == '[cos]':
|
||||
await download_all_file_from_cos()
|
||||
return 'sr全部资源下载完成!'
|
||||
|
||||
|
||||
async def download_all_file_from_cos():
|
||||
|
Loading…
x
Reference in New Issue
Block a user