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): class Linux(Plugin):
KERNEL_FEED = 'https://www.kernel.org/feeds/kdist.xml' 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): def debillian(self, target: str):
"""Annoying RE trigger for debian with variable count of E.""" """Annoying RE trigger for debian with variable count of E."""
if random.randint(0, 3) is 0: if random.randint(0, 3) is 0: