Archived
1
0
Fork 0

fix minor problem

This commit is contained in:
多羅狼 2024-01-12 01:58:15 +08:00 committed by GitHub
parent 8b94b20d1a
commit 6bc3784259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ async def _(msg: Bot.MessageSession, plate: str, username: str = None):
await query_plate(msg, plate, username)
@mai_regex.regex(re.compile(r"(.?)([極极将舞神者]舞?)[进進]度\s?(.+)?"), desc='{maimai.help.maimai_regex.plate}')
@mai_regex.regex(re.compile(r"(.?)([極极将舞神者]舞?)[进進]度\s?(.+)?"), desc='{maimai.help.maimai_regex.plate}')
async def _(msg: Bot.MessageSession):
plate = msg.matched_msg.groups()[0] + msg.matched_msg.groups()[1]
username = msg.matched_msg.groups()[2]
@ -199,4 +199,4 @@ async def _(msg: Bot.MessageSession, level: str, page: str, username: str = None
img = await msgchain2image([Plain(res)])
await msg.finish([BImage(img)])
else:
await msg.finish([Plain(res.strip())])
await msg.finish([Plain(res.strip())])