Fixed help page generator still attempting to register moderation commands

This commit is contained in:
TheEssem 2021-01-04 14:35:24 -06:00
parent 2a3f84f628
commit 87e2e56ef0

View file

@ -36,8 +36,6 @@ Default prefix is \`&\`.
const params = collections.info.get(command).params;
if (category === 1) {
categories.general.push(`+ **${command}**${params ? ` ${params}` : ""} - ${description}`);
} else if (category === 2) {
categories.moderation.push(`+ **${command}**${params ? ` ${params}` : ""} - ${description}`);
} else if (category === 3) {
const subCommands = [...Object.keys(description)];
for (const subCommand of subCommands) {