lgaan / discord-ext-alternatives

↩️ Patches some additional/alternative features into discord.py.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discord-ext-alternatives

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.
  • 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.

About

↩️ Patches some additional/alternative features into discord.py.

License:Apache License 2.0


Languages

Language:Python 100.0%