fix: Add await in interaction reply when toggling filters

This commit is contained in:
Marius Begby committed 2023-07-15 03:09:08 +02:00
1 parent dc3118de15
commit 3b496ad4a8
1 file changed
+1 -1
+1 -1
View File
@@ -125,7 +125,7 @@ module.exports = {
confirmation.customId === 'disable-filters' || confirmation.customId === 'disable-filters' ||
confirmation.values.length === 0 confirmation.values.length === 0
) { ) {
return interaction.editReply({ return await interaction.editReply({
embeds: [ embeds: [
new EmbedBuilder() new EmbedBuilder()
.setAuthor({ .setAuthor({