Enable some experimental features for discord.py.
Project description
discord-ext-alternatives
Enable some experimental features for 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
Available Experiments
asset_converter
- Implements a converter forAsset
.bot_send_help
- ImplementsBot.send_help
.int_map
- Implements__int__
to return.id
.message_eq
- ImplementsMessage.__eq__
(Message == Message
)specific_error_handler
- Implements@Command.error(Exception)
.subcommand_error
- Implementsroot_parent
error handling.webhook_channel
- ImplementsWebhook.move_to
.
Changelog
2020.05.12
- Added
silent_delete
int_map
no longer errors onInvite.__int__
specific_error_handler
now works in cogs, and walks__mro__
to check exceptions.subcommand_error
no longer errors in Cog exception propagation.
2020.05.10
- Added
int_map
- Added
specific_error_handler
message_eq
checks for aMessage
instance
2020.05.09
- Added
asset_converter
- Added
bot_send_help
- Added
message_eq
- Added
subcommand_error
- Added
webhook_channel
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
Close
Hashes for discord-ext-alternatives-2020.5.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7f3a2b6884a49dd603d09b08feb18a164e4fe558d712c091daf349c78856647 |
|
MD5 | 8d4638c6944812d9093b097a6b5e73a4 |
|
BLAKE2b-256 | abc9aec8d74db6e4080cc1090bd3f8ca2e8e36ace861f45107de5738da41710d |
Close
Hashes for discord_ext_alternatives-2020.5.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325fe6862140bcacafbc5d2ff0e1ec2402433e568dda6250c1e46b81ee8d1539 |
|
MD5 | 22c3ac324c4debc5928fdae9c0eae080 |
|
BLAKE2b-256 | 350c15cb768f9403990ad8d93f9226c9fe5c1ae19d2d2f58a268bfe7161b1a6e |