Added TehKuh bouncer event
This commit is contained in:
parent
8d3afdb00d
commit
df1d48b395
@ -23,6 +23,13 @@ class Useless(DatabasePlugin):
|
||||
'keep your woahs to yourself',
|
||||
)
|
||||
|
||||
#@irc3.event(r':TehKuh!TehKuh@Clk-48466C1F.dyn.telefonica.de JOIN :(?P<target>\S+')
|
||||
@irc3.event(r'(?i)^:(?P<mask>\S+) JOIN :(?P<target>#\S+)$')
|
||||
def tehkuh(self, mask, target):
|
||||
nick = IrcString(mask).nick
|
||||
if 'TehKuh' in mask:
|
||||
self.bot.privmsg(target, '{}: Bouncer'.format(nick))
|
||||
|
||||
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :.*(woah|whoa).*$')
|
||||
def woah(self, target: str):
|
||||
"""Colorize words in a sentence with rainbow colors."""
|
||||
|
Loading…
Reference in New Issue
Block a user