mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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):
|
def capitalize(self, irc, msg, args, text):
|
||||||
"""<text>
|
"""<text>
|
||||||
|
|
||||||
Returns <text> lowercased.
|
Returns <text> capitalized.
|
||||||
"""
|
"""
|
||||||
irc.reply(text.capitalize())
|
irc.reply(text.capitalize())
|
||||||
capitalize = wrap(capitalize, ['text'])
|
capitalize = wrap(capitalize, ['text'])
|
||||||
@ -125,7 +125,7 @@ class Format(callbacks.Plugin):
|
|||||||
def title(self, irc, msg, args, text):
|
def title(self, irc, msg, args, text):
|
||||||
"""<text>
|
"""<text>
|
||||||
|
|
||||||
Returns <text> lowercased.
|
Returns <text> titlecased.
|
||||||
"""
|
"""
|
||||||
irc.reply(text.title())
|
irc.reply(text.title())
|
||||||
title = wrap(title, ['text'])
|
title = wrap(title, ['text'])
|
||||||
@ -169,7 +169,7 @@ class Format(callbacks.Plugin):
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
irc.errorInvalid('field')
|
irc.errorInvalid('field')
|
||||||
field = wrap(field, ['index', 'text'])
|
field = wrap(field, ['index', 'text'])
|
||||||
|
|
||||||
def format(self, irc, msg, args):
|
def format(self, irc, msg, args):
|
||||||
"""<format string> [<arg> ...]
|
"""<format string> [<arg> ...]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user