added .halfwdith alias

This commit is contained in:
Cephra 2017-08-22 16:06:45 +02:00
parent 5e16d8c4b0
commit 4d522c5028

View File

@ -330,6 +330,12 @@ class Useless(DatabasePlugin):
"""
return ' '.join([self._rainbow(i, word) for i, word in enumerate(args['<words>'])])
@command
def hw(self, mask: IrcString, target: IrcString, args: DocOptDict):
"""alias for .halfwidth
%%hw <words>"""
return self.halfwidth(mas, target, args)
@command
def halfwidth(self, mask: IrcString, target: IrcString, args: DocOptDict):
"""Turns UPPERCASE words into halfwidth characters