fix minor problem
This commit is contained in:
parent
8b94b20d1a
commit
6bc3784259
1 changed files with 2 additions and 2 deletions
|
@ -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())])
|
||||
|
|
Reference in a new issue