Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-07-14 14:18:05 +08:00 committed by GitHub
parent b0afc3d6a1
commit becc7c3b57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ async def get_alias(msg, input, get_music=False):
file_path = os.path.join(assets_path, "mai_alias.json")
if not os.path.exists(file_path):
msg.finish(msg.locale.t("maimai.message.alias.file_not_found", prefix=msg.prefixes[0]))
await msg.finish(msg.locale.t("maimai.message.alias.file_not_found", prefix=msg.prefixes[0]))
with open(file_path, 'r') as file:
data = json.load(file)