Fixed duplicate help entries.

This commit is contained in:
Keanu Timmermans 2021-04-12 15:43:43 +02:00
parent 6ea052ae6f
commit 3cd05cd48c
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export default new NamedCommand({
let output = LEGEND;
for (const command of commandList) {
const field = `\n \`${command.name}\`: ${command.description}`.repeat(2);
const field = `\n \`${command.name}\`: ${command.description}`;
const newOutput = output + field;
// Push then reset the output if it overflows, otherwise, continue as normal.