mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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()
|
||||
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
Block a user