add flash to REE regex

This commit is contained in:
jkhsjdhjs 2019-09-19 19:24:06 +00:00
parent 9388a39291
commit 4a11ea497e

View File

@ -21,7 +21,7 @@ GNU_LINUX = """I'd Just Like To Interject For A Moment. What you're referring
class Linux(Plugin):
KERNEL_FEED = 'https://www.kernel.org/feeds/kdist.xml'
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :(?:.* )?(debian|ubuntu|apt|dpkg)(?: .*|$)')
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :(?:.* )?(debian|ubuntu|apt|dpkg|flash)(?: .*|$)')
def debillian(self, target: str):
"""Annoying RE trigger for debian with variable count of E."""
if random.randint(0, 3) is 0: