Update best50.py
This commit is contained in:
parent
b37eef5ebd
commit
3f28da170d
1 changed files with 4 additions and 1 deletions
|
@ -411,6 +411,9 @@ async def generate(msg, payload) -> Tuple[Optional[Image.Image], bool]:
|
|||
else:
|
||||
await msg.finish(msg.locale.t("maimai.message.user_not_found"))
|
||||
elif str(e).startswith('403'):
|
||||
if "qq" in payload:
|
||||
await msg.finish(msg.locale.t("maimai.message.forbidden.eula"))
|
||||
else:
|
||||
await msg.finish(msg.locale.t("maimai.message.forbidden"))
|
||||
else:
|
||||
raise
|
||||
|
|
Reference in a new issue