From 33a998a680c1baa15192e9bde595414824d673e1 Mon Sep 17 00:00:00 2001 From: Marcus Netz Date: Wed, 25 Nov 2020 16:42:47 +0100 Subject: [PATCH] List of talents now uses MessageEmbed --- src/commands/talents.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/talents.js b/src/commands/talents.js index 6f21a62..19b9f9c 100644 --- a/src/commands/talents.js +++ b/src/commands/talents.js @@ -6,7 +6,7 @@ module.exports = async (message, args, db) => { let ability = [] for (let a in globals.Talente) { if(globals.Talente[a].categoryid == i) { - ability.push(globals.Talente[a].id) + ability.push(globals.Talente[a].id.charAt(0).toUpperCase() + globals.Talente[a].id.slice(1)); } } ability.sort() @@ -18,7 +18,7 @@ module.exports = async (message, args, db) => { .setTitle('Talentübersicht') .setDescription('Das sind die Talente, die ich kenne:') for (let i in fields) { - Embed.addField(globals.TalentKategorien[i], fields[i].join('\n'), true) + Embed.addField(globals.TalentKategorien[i], fields[i].join('\n'), true); } message.author.send( Embed