mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
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()
|
doc = cb.getPluginHelp()
|
||||||
if doc:
|
if doc:
|
||||||
irc.reply(utils.str.normalizeWhitespace(doc))
|
irc.reply(utils.str.normalizeWhitespace(doc.split("\n\n")[0]))
|
||||||
else:
|
else:
|
||||||
irc.reply(_('That plugin is loaded, but has no plugin help.'))
|
irc.reply(_('That plugin is loaded, but has no plugin help.'))
|
||||||
help = wrap(help, ['plugin'])
|
help = wrap(help, ['plugin'])
|
||||||
|
Loading…
Reference in New Issue
Block a user