From 92cb5575e31ebf2621a337b400984f120ce9313e Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Sun, 20 Apr 2025 14:23:08 +0200 Subject: [PATCH] chore: Remove leftover code --- discord/http.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/discord/http.py b/discord/http.py index e0fca5958..4e12de8bd 100644 --- a/discord/http.py +++ b/discord/http.py @@ -192,8 +192,6 @@ def handle_message_parameters( if view is not MISSING: if view is not None: - if getattr(view, '__discord_ui_container__', False): - raise TypeError('Containers must be wrapped around Views') payload['components'] = view.to_components() if view.has_components_v2():