From 6c677d1d8e47c3666694b2a0da2cf1da881a2601 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Sun, 20 Feb 2022 11:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E7=9A=84=20await?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/fortunate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fortunate.py b/plugins/fortunate.py index 6977683..bcdc20c 100644 --- a/plugins/fortunate.py +++ b/plugins/fortunate.py @@ -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