[V3 Help] Fix the two missing characters in help (#1456)

This commit is contained in:
Will 2018-04-02 20:29:44 -04:00 committed by palmtree5
parent 728ab6c8c1
commit 720ef38886

View File

@ -148,9 +148,9 @@ class Help(formatter.HelpFormatter):
# <long doc> section # <long doc> section
if self.command.help: if self.command.help:
name = '__{0}__'.format(self.command.help.split('\n\n')[0]) splitted = self.command.help.split('\n\n')
name_length = len(name) name = '__{0}__'.format(splitted[0])
value = self.command.help[name_length:].replace('[p]', self.clean_prefix) value = '\n\n'.join(splitted[1:]).replace('[p]', self.clean_prefix)
if value == '': if value == '':
value = EMPTY_STRING value = EMPTY_STRING
field = EmbedField(name[:252], value[:1024], False) field = EmbedField(name[:252], value[:1024], False)