From 4d522c5028c3e9810e13f6a63b4a1f87b4e7de5f Mon Sep 17 00:00:00 2001 From: Cephra Date: Tue, 22 Aug 2017 16:06:45 +0200 Subject: [PATCH] added .halfwdith alias --- bot/plugins/useless.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bot/plugins/useless.py b/bot/plugins/useless.py index b28212c..3026a77 100644 --- a/bot/plugins/useless.py +++ b/bot/plugins/useless.py @@ -330,6 +330,12 @@ class Useless(DatabasePlugin): """ return ' '.join([self._rainbow(i, word) for i, word in enumerate(args[''])]) + @command + def hw(self, mask: IrcString, target: IrcString, args: DocOptDict): + """alias for .halfwidth + %%hw """ + return self.halfwidth(mas, target, args) + @command def halfwidth(self, mask: IrcString, target: IrcString, args: DocOptDict): """Turns UPPERCASE words into halfwidth characters