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.
binary_checks - Implements OR, AND, NOT operators for command checks.
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
File details
Details for the file discord-ext-alternatives-2020.10.11.tar.gz
.
File metadata
- Download URL: discord-ext-alternatives-2020.10.11.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37436cbef2f078aa172bd99f4d6484a2b5993562b545fc086fabeff7e1b10b6a |
|
MD5 | 963f7d546520d239d63fd84d37a78a47 |
|
BLAKE2b-256 | 6660f5ea2f10234da21f5852f3eb17ee201e2ed1ab5f98f7e7f7416b5ce5bd1f |
Provenance
File details
Details for the file discord_ext_alternatives-2020.10.11-py3-none-any.whl
.
File metadata
- Download URL: discord_ext_alternatives-2020.10.11-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b21cab0cc9c155a2c69f7365fef09da99243031dfc70cb14f852da618dfdbab |
|
MD5 | 8f3e4f1da8da7857299eecbc159c5acb |
|
BLAKE2b-256 | 08c2ce2dd8b4d9f580815ea6515481ae52d499ff54be7573a401086b0bfb376a |