From 9adcbf9a5d750de0f48addadea81575057f562c3 Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Sat, 23 Jul 2022 20:46:12 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix`=E6=B7=BB=E5=8A=A0stoken`=E6=97=A0?= =?UTF-8?q?=E5=93=8D=E5=BA=94bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Paimon_Info/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Paimon_Info/__init__.py b/Paimon_Info/__init__.py index 60946c9..82ee820 100644 --- a/Paimon_Info/__init__.py +++ b/Paimon_Info/__init__.py @@ -825,6 +825,7 @@ async def get_mys_coin_handler(event: MessageEvent, msg: Message = CommandArg()) if not cookie: await get_mys_coin.finish('你的该uid还没绑定cookie哦,先用ysb绑定吧') stoken = sk[0][4] + await get_mys_coin.send('开始执行米游社获取,请稍等哦~') get_coin_task = MihoyoBBSCoin(stoken) data = await get_coin_task.task_run() msg = "米游币获取完成\n" + data @@ -887,4 +888,4 @@ async def add_stoken_handler(event: MessageEvent, msg: Message = CommandArg()): msg = f'stoken绑定成功啦!' if event.message_type != 'private': msg += '\n当前是在群聊里绑定,建议旅行者把stoken撤回哦!' - await ysb.finish(MsgBd.Text(msg), at_sender=True) + await add_stoken.finish(MsgBd.Text(msg), at_sender=True)