mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-07 20:45:49 +08:00
12 lines
367 B
Python
12 lines
367 B
Python
from gsuid_core.sv import SV
|
|
from gsuid_core.bot import Bot
|
|
from gsuid_core.models import Event
|
|
|
|
from .import_data import import_v3_data
|
|
|
|
|
|
@SV('数据备份恢复', pm=2).on_fullmatch(('导入v3数据'))
|
|
async def send_import_data_msg(bot: Bot, ev: Event):
|
|
await bot.send('开始导入v3数据...可能会比较久...')
|
|
await bot.send(await import_v3_data())
|