mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
fix: Add await in interaction reply when toggling filters
This commit is contained in:
1 parent
dc3118de15
commit
3b496ad4a8
1 file changed
+1
-1
+1
-1
@@ -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({
|
||||||
|
|||||||
Reference in new issue
Block a user