Update __init__.py

This commit is contained in:
HibiKier 2022-08-22 20:39:03 +08:00 committed by GitHub
parent 1dc8cb2a98
commit 09ce812faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ async def _(event: MessageEvent, cmd: Tuple[str, ...] = Command(), arg: Message
cookie_json = json.loads(cookie)
print(cookie_json)
if 'login_ticket' not in cookie_json:
await bind.finish("请发送正确的cookie")
await bind.finish("请发送正确完整的cookie")
login_ticket = cookie_json['login_ticket']
# try:
res = await AsyncHttpx.get(url=bbs_Cookie_url.format(login_ticket))