An extension for discord.py that allows you to subclass discord.Interaction to add custom functionality.
pip install discord-ext-custom_interactionOr from source:
pip install git+https://github.com/Soheab/discord-ext-custom_interactionSee the [examples](/examples) directory for examples.
There are two pre-built custom interactions that you can use:
- custom_interaction.CustomInteraction - A custom interaction that has a send method and the following properties: author, voice_client.
- custom_interaction.CustomGuildInteraction - A custom interaction inherits from CustomInteraction and type hints author and user as discord.Member and guild as discord.Guild.