From 03c612b351b49c1b72ceb861f3eef5132f340fbf Mon Sep 17 00:00:00 2001 From: VinceC <33974776+VinceC3@users.noreply.github.com> Date: Fri, 29 Nov 2024 04:06:56 -0600 Subject: [PATCH] feat: Update match notification format to be more concise --- src/utils/embedBuilders.js | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/src/utils/embedBuilders.js b/src/utils/embedBuilders.js index 5041248..1f66f38 100644 --- a/src/utils/embedBuilders.js +++ b/src/utils/embedBuilders.js @@ -152,30 +152,18 @@ class EmbedBuilders { return new EmbedBuilder() .setColor('#00ff00') // Green for new match requests - .setTitle('🎮 New Match Request') - .setDescription(`A new match has been requested for ${matchData.game_name}`) + .setTitle(`🎮 New ${matchData.game_name} Match`) + .setDescription(`${matchData.team_size}v${matchData.team_size} Match in ${matchData.region} Region`) .addFields( { - name: 'Game Details', - value: [ - `📋 **Match Type:** ${matchData.match_type}`, - `👥 **Team Size:** ${matchData.team_size}v${matchData.team_size}`, - `🎯 **Class:** ${matchData.match_class}` - ].join('\n'), - inline: false + name: '⏰ Starting', + value: formattedDateTime, + inline: true }, { - name: 'Match Settings', - value: [ - `🌍 **Region:** ${matchData.region}`, - `📅 **Date & Time:** ${formattedDateTime}`, - ].join('\n'), - inline: false - }, - { - name: 'Status', - value: `📊 **Current Status:** ${matchData.status}`, - inline: false + name: '📊 Status', + value: matchData.status, + inline: true } ) .setTimestamp()