Brozy123 commited on
Commit
39dfc20
·
verified ·
1 Parent(s): 0a3120f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -903,7 +903,7 @@ client.on('interactionCreate', async (interaction) => {
903
  arr1[idx1] = p2.id;
904
  arr2[idx2] = p1.id;
905
 
906
- await safeReply(interaction, { content: `✅ Swapped <@${p1.id}> with <@${p2.id}>!` });
907
 
908
  // Update the board
909
  const boardInfo = activeLineupMessages.get(interaction.guildId);
 
903
  arr1[idx1] = p2.id;
904
  arr2[idx2] = p1.id;
905
 
906
+ await safeReply(interaction, { content: `✅ Swapped <@${p1.id}> with <@${p2.id}>!`, flags: [MessageFlags.Ephemeral] });
907
 
908
  // Update the board
909
  const boardInfo = activeLineupMessages.get(interaction.guildId);