From 9ddefd02a663effb970ea60776196714578258eb Mon Sep 17 00:00:00 2001 From: Alexander Maassen Date: Sat, 13 Jan 2024 23:39:45 +0100 Subject: [PATCH] Fix non ephemeral acknowledge (#1194) --- src/Discord/Parts/Interactions/Interaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord/Parts/Interactions/Interaction.php b/src/Discord/Parts/Interactions/Interaction.php index f556fbedc..081c00a0d 100644 --- a/src/Discord/Parts/Interactions/Interaction.php +++ b/src/Discord/Parts/Interactions/Interaction.php @@ -242,7 +242,7 @@ public function acknowledgeWithResponse(bool $ephemeral = false): ExtendedPromis return $this->respond([ 'type' => InteractionResponseType::DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE, - 'data' => $ephemeral ? ['flags' => 64] : [], + 'data' => $ephemeral ? ['flags' => 64] : null, ]); }