mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 07:07:46 +00:00
🐛 修复绑定 cookies
异常
This commit is contained in:
parent
9261232c56
commit
77c02e03d8
@ -87,7 +87,7 @@ class AddUser(BasePlugins):
|
|||||||
await update.message.reply_text("退出任务", reply_markup=ReplyKeyboardRemove())
|
await update.message.reply_text("退出任务", reply_markup=ReplyKeyboardRemove())
|
||||||
return ConversationHandler.END
|
return ConversationHandler.END
|
||||||
elif update.message.text == "米游社":
|
elif update.message.text == "米游社":
|
||||||
add_user_command_data.service = RegionEnum.HYPERION
|
add_user_command_data.region = RegionEnum.HYPERION
|
||||||
bbs_url = "https://bbs.mihoyo.com/ys/"
|
bbs_url = "https://bbs.mihoyo.com/ys/"
|
||||||
bbs_name = "米游社"
|
bbs_name = "米游社"
|
||||||
if user_info is not None:
|
if user_info is not None:
|
||||||
@ -95,7 +95,7 @@ class AddUser(BasePlugins):
|
|||||||
elif update.message.text == "HoYoLab":
|
elif update.message.text == "HoYoLab":
|
||||||
bbs_url = "https://www.hoyolab.com/home"
|
bbs_url = "https://www.hoyolab.com/home"
|
||||||
bbs_name = "HoYoLab"
|
bbs_name = "HoYoLab"
|
||||||
add_user_command_data.service = RegionEnum.HOYOLAB
|
add_user_command_data.region = RegionEnum.HOYOLAB
|
||||||
if user_info is not None:
|
if user_info is not None:
|
||||||
await update.message.reply_text("警告,你已经绑定Cookie,如果继续操作会覆盖当前Cookie。")
|
await update.message.reply_text("警告,你已经绑定Cookie,如果继续操作会覆盖当前Cookie。")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user