From 3b496ad4a8f002024829efd3d3ce3ef368b35d52 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Sat, 15 Jul 2023 03:09:08 +0200 Subject: [PATCH] fix: Add await in interaction reply when toggling filters --- commands/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/filters.js b/commands/filters.js index 6962aba..0ffbc2e 100644 --- a/commands/filters.js +++ b/commands/filters.js @@ -125,7 +125,7 @@ module.exports = { confirmation.customId === 'disable-filters' || confirmation.values.length === 0 ) { - return interaction.editReply({ + return await interaction.editReply({ embeds: [ new EmbedBuilder() .setAuthor({