mirror of https://github.com/Mikaela/Limnoria.git
Plugin: Only show the first paragraph; as the whole help can be very long.
This commit is contained in:
parent
833af36b08
commit
66ba7cb020
|
@ -56,7 +56,7 @@ class Plugin(callbacks.Plugin):
|
|||
"""
|
||||
doc = cb.getPluginHelp()
|
||||
if doc:
|
||||
irc.reply(utils.str.normalizeWhitespace(doc))
|
||||
irc.reply(utils.str.normalizeWhitespace(doc.split("\n\n")[0]))
|
||||
else:
|
||||
irc.reply(_('That plugin is loaded, but has no plugin help.'))
|
||||
help = wrap(help, ['plugin'])
|
||||
|
|
Loading…
Reference in New Issue