From 3d1d94dd240c8234eb8e44593b5ddeffc0d6bde6 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Mon, 7 Oct 2024 10:24:00 +0100 Subject: [PATCH] cs: add total matche played for both comp and non comp --- commands/stats/cs2.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/commands/stats/cs2.js b/commands/stats/cs2.js index fb869f4..487fe0d 100644 --- a/commands/stats/cs2.js +++ b/commands/stats/cs2.js @@ -38,6 +38,10 @@ module.exports = { const fields = [ { name: "🎮 Steam Name", value: data.player_name || "N/A" }, { name: "⏳ Hours Played", value: `${data.hours_played}h` }, + { + name: "🎮 Total Matches Played", + value: `${data.total_gg_matches_played}`, + }, { name: "🎮 Kills", value: `${data.kills}` }, { name: "📈 K/D Ratio", value: `${data.kd_ratio}` }, { name: "🏅 Total Deaths", value: `${data.total_deaths}` }, @@ -49,6 +53,11 @@ module.exports = { // Adding additional fields dynamically const additionalFields = [ + { + name: "Total Matches Played (All Modes)", + value: `${data.total_matches_played}`, + inline: true, + }, { name: "Total Planted Bombs", value: `${data.total_planted_bombs}`,