From 1ca07cb133264ee81db1051cf171ce6f528570eb Mon Sep 17 00:00:00 2001 From: Dorukyum <53639936+Dorukyum@users.noreply.github.com> Date: Sat, 28 Dec 2024 21:52:06 +0300 Subject: [PATCH] fix: unintended change --- discord/webhook/async_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 4fcc21bcb7..7f35e71083 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -527,7 +527,7 @@ def create_interaction_response( "content_type": "application/octet-stream", } ) - payload["data"]["attachments"] = attachments + payload["attachments"] = attachments form[0]["value"] = utils._to_json(payload) route = Route(