mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Fix
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = class PaladinsCommand extends Command {
|
|||||||
const champData = this.champions[champ.id];
|
const champData = this.champions[champ.id];
|
||||||
const classStat = classStats[champData.class];
|
const classStat = classStats[champData.class];
|
||||||
const emoji = this.classEmoji(champData.class);
|
const emoji = this.classEmoji(champData.class);
|
||||||
return `${emoji} ${champData.name} (${formatNumber(champ[classStat.id])} ${classStat.display})`;
|
return `${emoji} ${champData.name} (${formatNumber(champ[classStat.id] || 0)} ${classStat.display})`;
|
||||||
});
|
});
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0x1E9BAD)
|
.setColor(0x1E9BAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user