Update regex.py
This commit is contained in:
parent
85b7d1ea4e
commit
9feaf5a0b0
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ async def _(msg: Bot.MessageSession):
|
|||
level='/'.join((str(ds) for ds in music['ds']))))])
|
||||
|
||||
|
||||
@mai_regex.handle(re.compile(r"(?:id)?(\d+)\s?有什(么别|麼別)名"), desc='{maimai.help.maimai_regex.alias}')
|
||||
@mai_regex.handle(re.compile(r"(?:id)?(\d+)\s?有什(么别|麼別)名", flags=re.I), desc='{maimai.help.maimai_regex.alias}')
|
||||
async def _(msg: Bot.MessageSession):
|
||||
sid = msg.matched_msg.groups()[0]
|
||||
music = (await total_list.get()).by_id(sid)
|
||||
|
|
Reference in a new issue