Archived
1
0
Fork 0

Add special msg

This commit is contained in:
多羅狼 2023-06-30 22:31:08 +08:00 committed by GitHub
parent 504a7cfae4
commit 70a042c72d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,10 @@ if api:
Image(os.path.abspath('./assets/aof.jpg'))])
elif get_['status'] == -33:
await msg.sendMessage(msg.locale.t("arcaea.message.b30.wait.cached"))
if msg.target.targetFrom not in ['Discord|Channel', 'Telegram|group', 'Telegram|supergroup']:
await msg.sendMessage([Plain(msg.locale.t("arcaea.message.sb616")),
Image(os.path.abspath('./assets/noc.jpg')),
Image(os.path.abspath('./assets/aof.jpg'))])
elif get_['status'] == -23:
await msg.finish(msg.locale.t("arcaea.message.b30.low_potential"))
else: