From 966d66269e655602f9f57cfa52ea7a68f6d40ec5 Mon Sep 17 00:00:00 2001 From: Taken Date: Fri, 15 Dec 2023 18:12:58 +0100 Subject: [PATCH] Small change --- src/events/modals/staffdenyreasonbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/modals/staffdenyreasonbox.js b/src/events/modals/staffdenyreasonbox.js index c5747b1..684dfdc 100644 --- a/src/events/modals/staffdenyreasonbox.js +++ b/src/events/modals/staffdenyreasonbox.js @@ -10,7 +10,7 @@ module.exports = { /** @param { import('discord.js').ModalSubmitInteraction } interaction */ async execute(interaction) { - interaction.deferReply() + await interaction.deferReply() const guild = interaction.guild const reason = interaction.fields.fields.get("staffdenyreason").value || "No reason provided"