ComponentMessage
ComponentMessage
A message with components.
Extends: discord.Message
The discord.Message attributes and
components
The message’s components.
Type: List[discord-components.ActionRow | discord-components.Component | List[discord-components.Component]]
ephemeral
If the message is ephemeral
Type: bool
The discord.Message methods and (Also if ephemeral attribute is True, many methods are unable to use)
get_component
Finds a component in a message.
Parameters:
custom_id (
str) - The component's custom id
Returns: discord-components.Component
Last updated
Was this helpful?