Skip to content

Commit

Permalink
Fix non ephemeral acknowledge (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
key2peace authored Jan 13, 2024
1 parent c66defc commit 9ddefd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Parts/Interactions/Interaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
}

Expand Down

0 comments on commit 9ddefd0

Please sign in to comment.