spucken ist toll <3

This commit is contained in:
Flummi 2017-08-22 15:41:24 +02:00
parent 5e16d8c4b0
commit 21994c0796

View File

@ -371,6 +371,16 @@ class Useless(DatabasePlugin):
return 'Assuming {}\'s gender... they\'re a {}.'.format(nick, gender)
@command
def spit(self, mask: IrcString, target: IrcString, args: DocOptDict):
"""spits a user
%%spit [<nick>]
"""
nick = args.get('<nick>', mask.nick)
return 'spits on {} like a dirty whore.'.format(nick)
# noinspection PyMethodMayBeStatic
def _rainbow(self, i, char):
return '\x03{0:02d}{1}'.format(RAINBOW[i % RAINBOW_LEN], char)