mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 04:38:55 -05:00
[V3 Help] Fix the two missing characters in help (#1456)
This commit is contained in:
parent
728ab6c8c1
commit
720ef38886
@ -148,9 +148,9 @@ class Help(formatter.HelpFormatter):
|
||||
|
||||
# <long doc> section
|
||||
if self.command.help:
|
||||
name = '__{0}__'.format(self.command.help.split('\n\n')[0])
|
||||
name_length = len(name)
|
||||
value = self.command.help[name_length:].replace('[p]', self.clean_prefix)
|
||||
splitted = self.command.help.split('\n\n')
|
||||
name = '__{0}__'.format(splitted[0])
|
||||
value = '\n\n'.join(splitted[1:]).replace('[p]', self.clean_prefix)
|
||||
if value == '':
|
||||
value = EMPTY_STRING
|
||||
field = EmbedField(name[:252], value[:1024], False)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user