added .halfwdith alias
This commit is contained in:
parent
5e16d8c4b0
commit
4d522c5028
@ -330,6 +330,12 @@ class Useless(DatabasePlugin):
|
|||||||
"""
|
"""
|
||||||
return ' '.join([self._rainbow(i, word) for i, word in enumerate(args['<words>'])])
|
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
|
@command
|
||||||
def halfwidth(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
def halfwidth(self, mask: IrcString, target: IrcString, args: DocOptDict):
|
||||||
"""Turns UPPERCASE words into halfwidth characters
|
"""Turns UPPERCASE words into halfwidth characters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user