diff --git a/bot/linux.py b/bot/linux.py index 319bd40..28b8a63 100644 --- a/bot/linux.py +++ b/bot/linux.py @@ -24,13 +24,13 @@ class Linux(Plugin): @irc3.event(r'(?i)^:\S+ PRIVMSG (?P\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: + if random.randint(0, 3) == 0: self.bot.privmsg(target, re_generator()) @irc3.event(r'(?i)^:\S+ PRIVMSG (?P\S+) :.*(?