We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cefb75 commit 66caaf8Copy full SHA for 66caaf8
interactions/models/discord/message.py
@@ -1074,6 +1074,9 @@ def process_message_payload(
1074
flags = 0
1075
flags |= MessageFlags.IS_COMPONENTS_V2
1076
1077
+ if content or embeds:
1078
+ raise ValueError("Cannot send content or embeds with v2 components")
1079
+
1080
if stickers:
1081
stickers = [to_snowflake(sticker) for sticker in stickers]
1082
allowed_mentions = process_allowed_mentions(allowed_mentions)
0 commit comments