Compare commits
2 Commits
9ba11a50cd
...
cb1cc4439a
Author | SHA1 | Date | |
---|---|---|---|
cb1cc4439a | |||
ffa64f509c |
@ -24,13 +24,13 @@ class Linux(Plugin):
|
|||||||
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :(?:.* )?(debian|ubuntu|apt|dpkg|flash)(?: .*|$)')
|
@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) == 0:
|
||||||
self.bot.privmsg(target, re_generator())
|
self.bot.privmsg(target, re_generator())
|
||||||
|
|
||||||
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :.*(?<!gnu[/+])linux(?! kernel).*')
|
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :.*(?<!gnu[/+])linux(?! kernel).*')
|
||||||
def linux(self, target: str):
|
def linux(self, target: str):
|
||||||
"""Super annoying, useless 'Stallman is mad' trigger."""
|
"""Super annoying, useless 'Stallman is mad' trigger."""
|
||||||
if random.randint(0, 12) is 0:
|
if random.randint(0, 12) == 0:
|
||||||
self.bot.privmsg(target, GNU_LINUX)
|
self.bot.privmsg(target, GNU_LINUX)
|
||||||
|
|
||||||
@command
|
@command
|
||||||
|
@ -6,6 +6,6 @@ aiocron~=1.3
|
|||||||
psycopg2~=2.8
|
psycopg2~=2.8
|
||||||
requests~=2.22
|
requests~=2.22
|
||||||
GitPython~=3.0
|
GitPython~=3.0
|
||||||
feedparser~=5.2
|
feedparser~=6.0
|
||||||
python-dotenv~=0.17.1
|
python-dotenv~=0.17.1
|
||||||
lxml~=4.6
|
lxml~=4.6
|
||||||
|
Loading…
Reference in New Issue
Block a user