Compare commits

..

No commits in common. "009f365728660a4f13e3325739b468e3f68914ae" and "287b89332ec510877c969a83a3f6b570dc7327fe" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View file

@ -55,6 +55,7 @@ export default {
}
if (command.alias) {
console.log(command.alias.length);
if (command.alias.length >= 1) {
embed.addFields({ name: 'Aliases', value: `\`${command.alias.join('` `')}\``, inline: true });
}
@ -110,6 +111,7 @@ export default {
admin: '⚡\u2000Admin',
}[category];
}
console.log(title);
embed.addFields({ name: title, value: `\`${object[category].join('` `')}\`` });
}
return interaction.reply({ embeds: [embed] });

View file

@ -380,15 +380,6 @@ export default {
else if (type.includes('attachment')) {
payload = message.attachments.first();
}
else if (type.includes('boolean')) {
if (messageArgs[i].toLowerCase() === `--${arg.name.toLowerCase()}`) {
payload = true;
}
else {
payload = false;
}
}
args[arg.name] = payload;
}
await command.execute(message, args, client);