Patches some additional/alternative features into discord.py.
⚠️ This is experimental and should be used with caution. If you encounter any issues with this extension, please make an issue.
This extension is on PyPI.
$ python3 -m pip install -U discord-ext-alternatives
from discord.ext.alternatives import asset_converter, message_eq
# Patches the related features into discord.py
# OR
from discord.ext.alternatives.class_commands import ClassGroup, Config
asset_converter
- Implements a converter forAsset
.bot_send_help
- ImplementsBot.send_help
.command_suffix
- ImplementsBot.command_suffix
andContext.suffix
.command_piping
- Implements piping forreturn
in command callbacksconverter_dict
- ImplementsBot.converters
.dict_converter
- Implements**kwargs
mapping for command arguments.guild_converter
- Implements a converter forGuild
.inline_bot_commands
- Implements support for commands directly defined in aBot
subclass.int_map
- Implements__int__
to return.id
.jump_url
- ImplementsGuild.jump_url
andabc.Messagable.jump_url
.material_colours
- Implements material.io shade 400's colours.menus_remove_reaction
- Adds support for automatically removing reactions on menus.message_eq
- ImplementsMessage.__eq__
(Message == Message
).silent_delete
- Implements asilent
keyword argument forMessage.delete
.specific_error_handler
- Implements@Command.error(Exception)
.subcommand_error
- Implementsroot_parent
error handling.webhook_channel
- ImplementsWebhook.move_to
.
class_commands
- Implements a way to use classes and functions as commands.