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

View file

@ -36,7 +36,7 @@ async def regex_bugtracker(msg: Bot.MessageSession):
@bug.regex(re.compile(r'https?://bugs\.mojang\.com/(?:browse/((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d*)' @bug.regex(re.compile(r'https?://bugs\.mojang\.com/(?:browse/((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d*)'
r'|projects/.*?/issues/((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d*))', flags=re.I), r'|projects/.*?/issues/((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d*))', flags=re.I),
mode='M', desc='{bugtracker.help.regex.url}') mode='A', desc='{bugtracker.help.regex.url}')
async def _(msg: Bot.MessageSession): async def _(msg: Bot.MessageSession):
async def bgtask(msg: Bot.MessageSession): async def bgtask(msg: Bot.MessageSession):
for title in msg.matched_msg: for title in msg.matched_msg: