Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Nov 10, 2024
1 parent 8c23ae5 commit 17fc91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bugtracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def bugtracker(msg: Bot.MessageSession, mojiraid: str):
await msg.finish(msg.locale.t('bugtracker.message.invalid_mojira_id'))


@bug.regex(r'\b((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d+)\b', mode='A', flags=re.I,
@bug.regex(r'((?:BDS|MCPE|MCD|MCL|MCLG|REALMS|MC|WEB)-\d+)', mode='A', flags=re.I,
desc='{bugtracker.help.regex.desc}')
async def regex_bugtracker(msg: Bot.MessageSession):
titles = list(set(msg.matched_msg))[:5]
Expand Down

0 comments on commit 17fc91f

Please sign in to comment.