@@ -427,11 +427,8 @@ async function handleConsentPhase(
427427 interaction : ChatInputCommandInteraction ,
428428 fighter1User : User ,
429429 fighter2User : User ,
430- isRanked : boolean ,
431430) : Promise < boolean > {
432- console . log (
433- `[CONSENT] Starting consent phase for ranked battle: ${ isRanked } ` ,
434- ) ;
431+ console . log ( `[CONSENT] Starting consent phase for ranked battle` ) ;
435432 console . log ( `[CONSENT] Fighter 1: ${ fighter1User . tag } (${ fighter1User . id } )` ) ;
436433 console . log ( `[CONSENT] Fighter 2: ${ fighter2User . tag } (${ fighter2User . id } )` ) ;
437434
@@ -440,15 +437,13 @@ async function handleConsentPhase(
440437 . setTitle ( "⚔️ BATTLE CONSENT REQUIRED" )
441438 . setDescription (
442439 `**${ fighter1User } and ${ fighter2User } **\n\n` +
443- `A ${ isRanked ? " **RANKED**" : "normal" } deathbattle has been proposed!\n\n` +
444- `${ isRanked ? " 🏆 **This is a RANKED battle - results will affect your competitive rating!**\n\n" : "" } ` +
440+ `A **RANKED** deathbattle has been proposed!\n\n` +
441+ `🏆 **This is a RANKED battle - results will affect your competitive rating!**\n\n` +
445442 `Both fighters must consent to engage in combat.\n` +
446443 `You have **15 seconds** to respond.` ,
447444 )
448445 . setFooter ( {
449- text : isRanked
450- ? "Ranked battles require both fighters to agree"
451- : "Casual battle consent required" ,
446+ text : "Glory awaits in the arena of Alteruism!"
452447 } ) ;
453448
454449 const acceptButton = new ButtonBuilder ( )
@@ -509,15 +504,15 @@ async function handleConsentPhase(
509504 ) ;
510505 console . log ( `[CONSENT] Accepted users: ${ Array . from ( acceptedUsers ) } ` ) ;
511506 await buttonInteraction . reply ( {
512- content : `**${ buttonInteraction . user . tag } has accepted the battle challenge!**` ,
507+ content : `**You have accepted the battle challenge!**` ,
513508 flags : MessageFlags . Ephemeral ,
514509 } ) ;
515510 } else if ( buttonInteraction . customId === "decline_battle" ) {
516511 console . log (
517512 `[CONSENT] User ${ buttonInteraction . user . tag } declined the battle` ,
518513 ) ;
519514 await buttonInteraction . reply ( {
520- content : `**${ buttonInteraction . user . tag } has declined the battle challenge!**` ,
515+ content : `**You have declined the battle challenge!**` ,
521516 flags : MessageFlags . Ephemeral ,
522517 } ) ;
523518
@@ -644,7 +639,6 @@ export async function execute(
644639 interaction ,
645640 fighter1User ,
646641 fighter2User ,
647- isRanked ,
648642 ) ;
649643
650644 console . log ( `[DEATHBATTLE] Consent phase result: ${ consentGiven } ` ) ;
@@ -817,7 +811,6 @@ export async function execute(
817811 . setTitle ( `🏆 THE ${ isRanked ? "RANKED " : "" } DEATHBATTLE HAS CONCLUDED` )
818812 . setDescription (
819813 `**${ winner . name } ** emerges victorious after ${ turn } turns!\n\n` +
820- `${ isRanked ? "🏆 **RANKED VICTORY** - Competitive ratings updated!\n\n" : "" } ` +
821814 `**Final Results:**\n` +
822815 `🏆 **Victor:** ${ winner . name } (${ winner . hp } /${ winner . maxHp } HP)\n` +
823816 `💀 **Defeated:** ${ loser . name } (0/${ loser . maxHp } HP)\n\n` +
0 commit comments