useless: add corona trigger

This commit is contained in:
jkhsjdhjs 2020-05-01 23:19:31 +00:00
parent 80cfa2f815
commit 2d41d0c0bb

View File

@ -470,6 +470,15 @@ class Useless(DatabasePlugin):
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'starts a low skilled, fuuuf like iframe ddos attack on {0}'.format(nick, nick))
@command
def corona(self, mask: IrcString, target: IrcString, args: Dict):
"""infects someone with corona
%%corona [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'hustet {0} in\'s Gesicht'.format(nick, nick))
def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict):
nick = args.get('<nick>', mask.nick)
if isinstance(nick, list):