Last updated 3 years ago
A message with components. Extends: discord.Message
discord.Message
The discord.Message attributes and
components
The message’s components.
Type: List[ | | List[]]
ephemeral
If the message is ephemeral
Type: bool
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
str
Returns:
discord-components.ActionRow
discord-components.Component