Patches some additional/alternative features into discord.py.
Project description
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.
Installation
This extension is on PyPI.
$ python3 -m pip install -U discord-ext-alternatives
Usage
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
Available Experiments
asset_converter - Implements a converter for Asset.
bot_send_help - Implements Bot.send_help.
command_suffix - Implements Bot.command_suffix and Context.suffix.
command_piping - Implements piping for return in command callbacks
converter_dict - Implements Bot.converters.
dict_converter - Implements **kwargs mapping for command arguments.
guild_converter - Implements a converter for Guild.
inline_bot_commands - Implements support for commands directly defined in a Bot subclass.
int_map - Implements __int__ to return .id.
jump_url - Implements Guild.jump_url and abc.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 - Implements Message.__eq__ (Message == Message).
silent_delete - Implements a silent keyword argument for Message.delete.
specific_error_handler - Implements @Command.error(Exception).
subcommand_error - Implements root_parent error handling.
webhook_channel - Implements Webhook.move_to.
Standalone
class_commands - Implements a way to use classes and functions as commands.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for discord-ext-alternatives-2020.7.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1344165b171e42361c1c38ad40e12fc5845058b564cce8cf7f4dc1a7a3dbff |
|
MD5 | 21e26e505fab74d0519ad248d693c11c |
|
BLAKE2b-256 | bb110c46b1d00c173c4ddccea871c0ba46adc2296de7231a27169176b99a0782 |
Hashes for discord_ext_alternatives-2020.7.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19ce57e8d2209869b280e1713b8fd9aa48db2b7f6137524324d9949da86a0ab8 |
|
MD5 | f8fff60d9251cfb0ea9086e07048bb0a |
|
BLAKE2b-256 | 52c1932c02e8d72bd4b684fec908c270aa42863d8e2360a0b41a4296492e53a8 |