-
buttons_row = nextcord.ui.Row(left_button, right_button, cross_button)
message_component = nextcord.ui.MessageComponents(buttons_row)
await message.edit(components=message_component) This doesnt work buttons_row = discord.ActionRow(left_button, right_button, cross_button)
await message.edit(components=[buttons_row]) This also doesnt work |
Beta Was this translation helpful? Give feedback.
Answered by
ooliver1
Apr 30, 2023
Replies: 1 comment 7 replies
-
Please refer to our examples and documentation on buttons, this is nowhere near correct and I am not sure where you got those examples from. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Views and embeds are completely separate, you add views to messages and embeds to messages, they do not cross paths.
Message.edit
has aview
parameter.