lowfry deep fried

This commit is contained in:
Flummi 2019-07-16 13:47:19 +00:00
parent c8cb1f0fa6
commit 9388a39291

View File

@ -88,13 +88,21 @@ class Useless(DatabasePlugin):
'Zodiacgender', 'Zodiacgender',
) )
@command(permission='admin', show_in_help=False)
def lowfry(self, mask: IrcString, target: IrcString, args: Dict):
"""Kicks lowfry, most useful command.
%%lowfry
"""
self.bot.kick(target, 'lowfry')
@command(permission='admin', show_in_help=False) @command(permission='admin', show_in_help=False)
def kim(self, mask: IrcString, target: IrcString, args: Dict): def kim(self, mask: IrcString, target: IrcString, args: Dict):
"""Kicks Kim, most useful command. """Kicks kim, most useful command.
%%kim %%kim
""" """
self.bot.kick(target, 'Kim') self.bot.kick(target, 'kim')
@irc3.event(r'(?i)^:(?P<mask>\S+@\S+({})\S+) JOIN :(?P<target>#\S+)$'.format('|'.join(ISPS))) @irc3.event(r'(?i)^:(?P<mask>\S+@\S+({})\S+) JOIN :(?P<target>#\S+)$'.format('|'.join(ISPS)))
def bounce(self, mask, target): def bounce(self, mask, target):