cs: add total matche played for both comp and non comp

This commit is contained in:
Ayden Jahola 2024-10-07 10:24:00 +01:00
parent 9568de32d4
commit 3d1d94dd24
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

View file

@ -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}`,