add LP keywoard to recognize launchpad bugs
This commit is contained in:
parent
8ab903a4c7
commit
25a6ea400c
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class Ubottu(Plugin):
|
|||
return True
|
||||
return False
|
||||
|
||||
@command.passive("bug #?(\d+)|https?:\/\/bugs\.launchpad\.net\/[^\d]*(\d+)")
|
||||
@command.passive("LP.? #?(\d+)|bug #?(\d+)|https?:\/\/bugs\.launchpad\.net\/[^\d]*(\d+)")
|
||||
async def command_launchpad_bug(self, evt: MessageEvent, match: Tuple[str]) -> None:
|
||||
if match:
|
||||
if match[1]:
|
||||
|
|
Loading…
Add table
Reference in a new issue