Changelog

This page keeps a detailed human friendly rendering of what’s new and changed in specific versions.

v0.0.5

New Features

Changed Features

Bugs Fixed

v0.0.4

New Features

  • Add ApplicationCommandOption.channel_types.

  • Add files parameter to InteractionResponse.send().

  • Add support for autocomplete.
  • Add ignore_spaces kwarg to Bot.get_command.

  • Add MessageComponents.add_number_buttons().

  • Add Button.confirm() and Button.cancel().

  • Add options kwarg to ApplicationCommand.

  • Add Interaction.command_name.

  • Add ApplicationCommandOption.channel_types.

  • Add @is_slash_command check.

Changed Features

  • Change default response type to nothing.

Bugs Fixed

  • Fix adding slash commands which we say not to add.

  • Fix component deferring.

  • Fix popping non-existent keys.

  • Re-add options to ApplicationCommandOption export.

  • Fix reccursion error in interactionresolved.

v0.0.3

Bugs Fixed

  • Fix indentation on getting application command arg type.

  • Fix application command required property not being set properly.

  • Add import for application commands to discord top-level package.

  • Filter context menu commands out of the default help menu implementation.

Changed Features

New Features

v0.0.2

New Features

  • Add defer decorator for application commands.

  • Add InteractionResonse.defer_update().

  • Add allowed_mentions to InteractionReponse.edit_message().

  • Add response_type kwarg to utils.oauth_url().

Bugs Fixed

  • Fix action rows not being parsed correctly.

  • Fixed ephemeral kwarg in commands.SlashContext.send() and commands.SlashContext.defer().

  • Fix slash commands not working with cooldowns.

v0.0.1

The new and changed features described in this section refer to changes from Rapptz’s original Discord.py repo. You can see a whole list of changes here, but this section will go over the main ones.

Breaking Changes

  • TextChannel.get_partial_message is now pos-only

  • permissions_for is now pos-only

  • GroupChannel.owner is now Optional

  • edit methods now only accept None if it actually means something (e.g. clearing it)

  • Separate on_member_update and on_presence_update
    • The new event on_presence_update is now called when status/activity is changed.

    • on_member_update will now no longer have status/activity changes.

  • afk parameter in Client.change_presence is removed

  • The undocumented private on_socket_response event got removed.
    • Consider using the newer documented on_socket_event_type event instead.

  • Using on_socket_raw_receive and on_socket_raw_send are now opt-in via enable_debug_events toggle.

  • on_socket_raw_receive is now only dispatched after decompressing the payload.

  • All get_ lookup functions now use positional-only parameters for the id parameter.

  • User.avatar now returns None if the user did not upload an avatar.
    • Use User.display_avatar to get the avatar and fallback to the default avatar to go back to the old behaviour.

New Features

  • Message components are now sendable using the bot UI kit.

  • Slash commands are now processed as message commands if sent through the gateway.

  • Client.register_application_commands() will register all of your bot’s loaded commands as application commands.

  • Threads as a whole (thanks to Danny).

  • Type hinting for a vast majority of the library (thanks to Danny).

Original

Everything at this point and before is forked directly from Rapptz’s Discord.py library. The changelogs from before that point (and thus before the existance of this library) have been removed.