mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = class CreditCommand extends Command {
|
||||
.setDescription(trimArray(command.credit.map(credit => {
|
||||
if (!credit.reasonURL) return `${embedURL(credit.name, credit.url)} (${credit.reason})`;
|
||||
return `${embedURL(credit.name, credit.url)} (${embedURL(credit.reason, credit.reasonURL)})`;
|
||||
}), 15).join('\n'));
|
||||
}), 10).join('\n'));
|
||||
return msg.embed(embed);
|
||||
}
|
||||
const cmd = command.toLowerCase();
|
||||
@@ -45,7 +45,7 @@ module.exports = class CreditCommand extends Command {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle(cmd)
|
||||
.setColor(0x7289DA)
|
||||
.setDescription(trimArray(commands, 15).join('\n'));
|
||||
.setDescription(trimArray(commands, 10).join('\n'));
|
||||
return msg.embed(embed);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user