DiscordComponents
DiscordComponents
Represents discord_components client.
bot
The bot to wrap.
Type: discord.Client
| discord.ext.commands.BOT
change_discord_methods
Whether to override the discord methods. So with this enabled, some changes could be needed to your code.
Type: bool
Default: True
add_listener
Whether to add the on_socket_response
event or override it (Only when the bot is discord.ext.commands.Bot
).
If you are already using on_socket_response
on your bot or on a third party library, we recommend you to enable this.
Type: bool
Default: True
Last updated