diff --git a/commands/last.js b/commands/last.js index b4aed13..53c2edd 100644 --- a/commands/last.js +++ b/commands/last.js @@ -69,7 +69,7 @@ const getMatchItems = async (interaction, playerDatas, steamDatas, playerHistory { name: 'Assists', value: roundStats.i7, inline: true }, // Removed from faceit endpoint used by the api // { name: 'Damages', value: roundStats?.i20 ?? 'N/A', inline: true }, - // { name: 'ADR', value: roundStats?.c10 ?? 'N/A', inline: true }, + { name: 'ADR', value: roundStats?.c10 ?? 'N/A', inline: true }, // { name: 'Entries (WR)', value: entries, inline: true }, ) .setThumbnail(`attachment://${faceitElo}${i}.png`) diff --git a/functions/dateStats.js b/functions/dateStats.js index 2ab5afa..fbc9f9d 100644 --- a/functions/dateStats.js +++ b/functions/dateStats.js @@ -246,9 +246,8 @@ const generateDateStatsFields = (playerLastStats, head) => { { name: 'Avg Kills', value: playerLastStats['Average Kills'].toFixed(2), inline: true }, { name: 'Avg Deaths', value: playerLastStats['Average Deaths'].toFixed(2), inline: true }, { name: 'Avg Assists', value: playerLastStats['Average Assists'].toFixed(2), inline: true }, - // Removed from faceit endpoint used by the api // { name: 'Avg Damages', value: playerLastStats['Average Damages']?.toString() ?? 'N/A', inline: true }, - // { name: 'Avg ADR', value: playerLastStats['Average ADR']?.toString() ?? 'N/A', inline: true }, + { name: 'Avg ADR', value: playerLastStats['Average ADR']?.toString() ?? 'N/A', inline: false }, // { name: 'Avg Entries (WR)', value: entries, inline: true }, { name: 'Red K/D', value: playerLastStats['Red K/D'].toString(), inline: true }, { name: 'Orange K/D', value: playerLastStats['Orange K/D'].toString(), inline: true },