Added .hw alias and .spit

This commit is contained in:
mrhanky 2017-08-22 16:23:54 +02:00
parent a931d31e39
commit 4fa23eacc9
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

@ -249,7 +249,7 @@ class Useless(DatabasePlugin):
"""
return ' '.join([self._rainbow(i, word) for i, word in enumerate(args['<words>'])])
@command
@command(aliases=['hw'])
def halfwidth(self, mask: IrcString, target: IrcString, args: Dict):
"""Turns UPPERCASE words into halfwidth characters
@ -290,6 +290,15 @@ class Useless(DatabasePlugin):
return 'Assuming {}\'s gender... they\'re a {}.'.format(nick, gender)
@command
def spit(self, mask: IrcString, target: IrcString, args: Dict):
"""Spits a user
%%spit [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'spits on {} like a dirty whore.'.format(nick))
def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict):
nick = args.get('<nick>', mask.nick)
if isinstance(nick, list):