Represents discord_components client.
The bot to wrap.
Type: discord.Client
| discord.ext.commands.Bot
Your discord bot
Type: discord.Client
| discord.ext.commands.Bot
The HTTPClient for this library
Type:
Wait for interaction with structured filters.
Parameters:
component () - The component
message ( discord.Message
) - The message with component
guild (discord.Guild
) - The guild of message with component
channel (discord.abc.Messageable
) - The channel of message with component
user (discord.User
) - The user to interact
timeout (float
) - The time to wait
Returns:
Add a callback function to a component
Parameters:
component () - The component to add callback
callback - The callback function
uses (int
) - How many times to make the component usable
filter - The filter function
Returns: