https://pypi.org/project/py-cord/2.0.0b6/
⚠️ There is an issue with this release that causes SlashCommandOptionType.from_datatype()
to fail with python versions < 3.10. As such, 2.0.0-beta.7 has been released and should be used instead.
What's Changed
- Fix some keyword arguments failing by @Middledot in #1127
- Add missing **kwargs param to support non-explicit parameters in
SlashCommandGroup
(fixes issue introduced by #1127) by @krittick in #1132 - Fix format issues in documentation by @Dorukyum in #1130
- Add
Bot.invoke_application_command
by @Dorukyum in #1134 - Small change to the DropDown example by @itsflorent in #1135
- Remove outdated note by @Middledot in #1139
- Remove outdated README section by @ImNimboss in #1133
- Fix
slash_autocomplete
example by @Icebluewolf in #1138 - Run parent checks in
can_run
by @plun1331 in #1027 - Improved Readme Badges by @TechWiz-3 in #1146
- Fix typo in
new_member
example by @Pysics in #1153 - Revert "Run parent checks in
can_run
" by @BobDotCom in #1158 - Revert "Revert "Run parent checks in
can_run
"" by @Dorukyum in #1159 - Add missing
**kwargs
to SlashCommandGroup by @Dorukyum in #1151 - Slight change in README by @27Saumya in #1152
- Add docs for
InputTextStyle
enum values. by @krittick in #1161 InteractionResponse.edit_message
in Modal Interactions by @Pysics in #1165- Fix a few spelling errors by @Pysics in #1163
- Add
menu_placeholder
parameter to allow specifying placeholder text for the PageGroup menu by @krittick in #1164 - Fix cog slash commands when using ctx.invoke() by @DaTurr3t in #1160
- Fix typehints for
send_modal
methods by @Dorukyum in #1157 - Add datetime task to examples by @tibue99 in #1174
- Add
Modal.on_error
by @Dorukyum in #1167 - Add
Client.get_message
by @Dorukyum in #1141 - fix some kwargs failing by @Middledot in #1170
- Add
Guild._fetch_role()
private method to support proper handling of role mentionable in slash command options by @krittick in #1101 - Fix reloading application command callbacks by @Dorukyum in #1186
- Implement Command Localization by @BobDotCom in #1185
- Allow type checkers to treat cached_property as a normal property. by @tsigma6 in #1188
- guide link in README.rst by @itsflorent in #1204
- Add url property to scheduled events by @Middledot in #1203
- Update README code example by @gaato in #1212
- Documentation Updates by @plun1331 in #1193
- Ban pagination by @BobDotCom in #1217
- Fix race condition in autocomplete by @BobDotCom in #1221
- [WIP] Add
reason
kwarg for message deletion (for audit log support) by @krittick in #1067 - Fix mypy error when type checking pycord with
namespace_packages
flag by @Defelo in #1218 - Inheritance issues by @BobDotCom in #1192
- Remove discord.commands.errors by @Dorukyum in #1219
- [ext.pages] Fix for "Unknown Message" errors when using ephemeral paginators by @krittick in #1224
- Remove deprecated mention syntax by @BobDotCom in #1228
- Make
get_desynced_commands
work with slash command groups by @Ratery in #986 - Remove Store Channels by @Middledot in #1215
- Bump sphinx from 4.4.0 to 4.5.0 by @dependabot in #1209
- Fix option parsing by @BobDotCom in #1229
- Add notification to stage instance creation by @Middledot in #1211
- Command registration rewrite v4 by @BobDotCom in #1208
- [ext.pages] General fixes and enhancements by @krittick in #1227
- Localization Fixes by @Middledot in #1232
- Text in voice by @BobDotCom in #1231
- Ability to set guild_ids for all commands in a cog by @Middledot in #1202
- Update bot.py by @JC-Chung in #1235
- Check if the target is a system or bot message by @Dorukyum in #1236
- [ext.pages] Fix logic for
page_count
calculation by @krittick in #1237 - Fix embeds not getting edited in with partial messages by @Middledot in #1238
- discord.ext.bridge by @BobDotCom in #1131
New Contributors
- @Icebluewolf made their first contribution in #1138
- @TechWiz-3 made their first contribution in #1146
- @DaTurr3t made their first contribution in #1160
- @tibue99 made their first contribution in #1174
- @tsigma6 made their first contribution in #1188
- @gaato made their first contribution in #1212
- @Defelo made their first contribution in #1218
- @JC-Chung made their first contribution in #1235
Full Changelog: v2.0.0-beta.5...v2.0.0-beta.6