Browse Source

[commands] Fix minor spacing issue in Command.signature

pull/530/head
Rapptz 8 years ago
parent
commit
31a7093433
  1. 2
      discord/ext/commands/core.py

2
discord/ext/commands/core.py

@ -553,7 +553,7 @@ class Command:
aliases = '|'.join(self.aliases)
fmt = '[%s|%s]' % (self.name, aliases)
if parent:
fmt = parent + fmt
fmt = parent + ' ' + fmt
result.append(fmt)
else:
name = self.name if not parent else parent + ' ' + self.name

Loading…
Cancel
Save