update help strings

This commit is contained in:
Gordon Shumway 2019-11-18 01:11:58 -05:00 committed by GitHub
parent 156e0c7649
commit 80d354b1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,12 +272,12 @@ class Fun(callbacks.Plugin):
chuck = wrap(chuck) chuck = wrap(chuck)
def rot(self, irc, msg, args, text): def rot(self, irc, msg, args, text):
"Encode text with ROT13" "<text> Encode text with ROT13"
irc.reply(codecs.encode(text, "rot_13")) irc.reply(codecs.encode(text, "rot_13"))
rot = wrap(rot, ['text']) rot = wrap(rot, ['text'])
def unrot(self, irc, msg, args, text): def unrot(self, irc, msg, args, text):
"Decode ROT13 text" "<text> Decode ROT13 text"
irc.reply(codecs.decode(text, "rot_13")) irc.reply(codecs.decode(text, "rot_13"))
unrot = wrap(unrot, ['text']) unrot = wrap(unrot, ['text'])