From 188480052b0124aa645541f8e05a01513dc7dcd1 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Thu, 18 Jul 2024 10:49:32 -0700 Subject: [PATCH] fix: defer --- src/commands/secure.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/secure.ts b/src/commands/secure.ts index 4a99560..e4f6e03 100644 --- a/src/commands/secure.ts +++ b/src/commands/secure.ts @@ -24,6 +24,7 @@ export const secure: Command = { ), run: async (bot, interaction) => { try { + await interaction.deferReply({ ephemeral: true }); const { guild, member } = interaction; const lockInvites = interaction.options.getBoolean("invites", true); const lockDms = interaction.options.getBoolean("dms", true);