mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Format: Add command @stripformatting.
This commit is contained in:
parent
4e2962b39e
commit
83a2895e18
@ -47,6 +47,13 @@ class Format(callbacks.Plugin):
|
||||
irc.reply(ircutils.bold(text))
|
||||
bold = wrap(bold, ['text'])
|
||||
|
||||
@wrap(['text'])
|
||||
def stripformatting(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
||||
Strips bold, underline, and colors from <text>."""
|
||||
irc.reply(ircutils.stripFormatting(text))
|
||||
|
||||
@internationalizeDocstring
|
||||
def reverse(self, irc, msg, args, text):
|
||||
"""<text>
|
||||
|
Loading…
Reference in New Issue
Block a user