if not find_poll or not find_poll.active:
for component in interaction.message.components:
for button in component.children:
button.disabled = True
return await interaction.edit_original_message(content="This poll has ended", components=interaction.message.components)
TypeError: `components` must be a `WrappedComponent` or `ActionRow`, a sequence/list of `WrappedComponent`s or `ActionRow`s, or a nested sequence/list of `WrappedComponent`s
Hey. I'm trying to disable all buttons on my embed but getting this error. What is the correct way to do this?
Ideally I'd be able to reuse the component data inside of the interaction object, so i don't need to calculate it all again.
I just need to disable each button but keep the same label etc.