Skip to main content

Patches some additional/alternative features into discord.py.

Project description

package versions dependencies license cloned

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord-ext-alternatives-2020.10.11.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page