mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 12:48:54 -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
|
# <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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user