Changelog¶
This page keeps a detailed human friendly rendering of what’s new and changed in specific versions.
v0.0.3¶
Bugs Fixed¶
Fix indentation on getting application command arg type.
Fix application command
requiredproperty not being set properly.Add import for application commands to
discordtop-level package.Filter context menu commands out of the default help menu implementation.
Changed Features¶
Removed Danny’s
on_socket_event_typeto be replaced withon_socket_event().The
newcogcmd argument will now use VoxelBotUtils if it’s installed.A list of
commands.Commandobjects are now allowed to be passed intoext.commands.Bot.register_application_commands().
New Features¶
Add
InteractionResolvedclass, as a new attribute inInteraction.Added
commands.context_command()decorator.Added
utils.naive_dt().Add
WelcomeScreen.
v0.0.2¶
New Features¶
Add
defer decoratorfor application commands.Add
InteractionResonse.defer_update().Add
allowed_mentionstoInteractionReponse.edit_message().Add
response_typekwarg toutils.oauth_url().
Bugs Fixed¶
Fix action rows not being parsed correctly.
Fixed
ephemeralkwarg incommands.SlashContext.send()andcommands.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_messageis now pos-onlypermissions_foris now pos-onlyGroupChannel.owneris now Optionaleditmethods now only accept None if it actually means something (e.g. clearing it)- Separate
on_member_updateandon_presence_update The new event
on_presence_updateis now called when status/activity is changed.on_member_updatewill now no longer have status/activity changes.
- Separate
afkparameter inClient.change_presenceis removed- The undocumented private
on_socket_responseevent got removed. Consider using the newer documented
on_socket_event_typeevent instead.
- The undocumented private
Using
on_socket_raw_receiveandon_socket_raw_sendare now opt-in via enable_debug_events toggle.on_socket_raw_receiveis now only dispatched after decompressing the payload.All
get_lookup functions now use positional-only parameters for the id parameter.User.avatarnow returnsNoneif the user did not upload an avatar.Use
User.display_avatarto 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.