feat: Update match notification format to be more concise

This commit is contained in:
VinceC
2024-11-29 04:06:56 -06:00
parent beab9a514a
commit 03c612b351

View File

@@ -152,30 +152,18 @@ class EmbedBuilders {
return new EmbedBuilder() return new EmbedBuilder()
.setColor('#00ff00') // Green for new match requests .setColor('#00ff00') // Green for new match requests
.setTitle('🎮 New Match Request') .setTitle(`🎮 New ${matchData.game_name} Match`)
.setDescription(`A new match has been requested for ${matchData.game_name}`) .setDescription(`${matchData.team_size}v${matchData.team_size} Match in ${matchData.region} Region`)
.addFields( .addFields(
{ {
name: 'Game Details', name: '⏰ Starting',
value: [ value: formattedDateTime,
`📋 **Match Type:** ${matchData.match_type}`, inline: true
`👥 **Team Size:** ${matchData.team_size}v${matchData.team_size}`,
`🎯 **Class:** ${matchData.match_class}`
].join('\n'),
inline: false
}, },
{ {
name: 'Match Settings', name: '📊 Status',
value: [ value: matchData.status,
`🌍 **Region:** ${matchData.region}`, inline: true
`📅 **Date & Time:** ${formattedDateTime}`,
].join('\n'),
inline: false
},
{
name: 'Status',
value: `📊 **Current Status:** ${matchData.status}`,
inline: false
} }
) )
.setTimestamp() .setTimestamp()