3
0

🐛 修复缺失的 await

This commit is contained in:
Xtao_dada 2022-02-20 11:00:35 +08:00 committed by GitHub
parent 1589f79c72
commit 6c677d1d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ async def set_fortunate_img(client: Client, message: Message):
if name == '':
name = 'random'
else:
name, temp = get_character(name)
name, temp = await get_character(name)
if not temp:
await message.reply(name, quote=True)
return