From 25a6ea400c2a4dde639ce62e65cb9daaa24ebb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20B=C3=BCchner?= Date: Fri, 14 Feb 2025 16:56:02 +0100 Subject: [PATCH] add LP keywoard to recognize launchpad bugs --- ubottu/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubottu/bot.py b/ubottu/bot.py index cf00a17..274153e 100644 --- a/ubottu/bot.py +++ b/ubottu/bot.py @@ -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]: