From d212ca398a4feb7b32f0e2e0c7a726c1a58b8964 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Wed, 7 Feb 2024 19:34:18 +0100 Subject: [PATCH] acknowledge command with reply --- commands/admin/custom_vc/slash.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/commands/admin/custom_vc/slash.js b/commands/admin/custom_vc/slash.js index 57d846c..c640655 100644 --- a/commands/admin/custom_vc/slash.js +++ b/commands/admin/custom_vc/slash.js @@ -46,6 +46,12 @@ export async function execute(interaction) { // Save channel data step = 'save'; await VoiceChannel.create({ id: channel.id }); + + // Reply success to acknowledge command + await interaction.reply({ + content: `Successfully created channel!`, + ephemeral: true + }); break; } case 'register': { @@ -59,6 +65,12 @@ export async function execute(interaction) { // Save channel data step = 'save'; await VoiceChannel.create({ id }); + + // Reply success to acknowledge command + await interaction.reply({ + content: `Successfully registered channel!`, + ephemeral: true + }); break; } }