Spaces:
Runtime error
Runtime error
Update index.js
Browse files
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);
|