mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
plugins/Format: Fix some copy/paste errors.
This commit is contained in:
parent
5b8400e158
commit
bc3a47fc90
@ -117,7 +117,7 @@ class Format(callbacks.Plugin):
|
||||
def capitalize(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
||||
Returns <text> lowercased.
|
||||
Returns <text> capitalized.
|
||||
"""
|
||||
irc.reply(text.capitalize())
|
||||
capitalize = wrap(capitalize, ['text'])
|
||||
@ -125,7 +125,7 @@ class Format(callbacks.Plugin):
|
||||
def title(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
||||
Returns <text> lowercased.
|
||||
Returns <text> titlecased.
|
||||
"""
|
||||
irc.reply(text.title())
|
||||
title = wrap(title, ['text'])
|
||||
@ -169,7 +169,7 @@ class Format(callbacks.Plugin):
|
||||
except IndexError:
|
||||
irc.errorInvalid('field')
|
||||
field = wrap(field, ['index', 'text'])
|
||||
|
||||
|
||||
def format(self, irc, msg, args):
|
||||
"""<format string> [<arg> ...]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user