Releases: Pycord-Development/pycord
v2.1.3
https://pypi.org/project/py-cord/2.1.3/
What's Changed
- Fix TypeError in process_application_commands by @BobDotCom in #1622
Full Changelog: v2.1.2...v2.1.3
v2.1.2
https://pypi.org/project/py-cord/2.1.2/
What's Changed
- Remove unused imports and variables by @Middledot in #1608
- fix(docs): correct AutoMod event arguments by @JustaSqu1d in #1614
- feat(bot.py): fix type issues by @EmreTech in #1534
- Update pylint requirement from ~=2.14.5 to ~=2.15.0 by @dependabot in #1597
- Fix subcommands having MISSING cog attribute by @Middledot in #1594
Full Changelog: v2.1.1...v2.1.2
v2.1.1
https://pypi.org/project/py-cord/2.1.1/
What's Changed
- Fix bridge command detection in cogs by @BobDotCom in #1592
Full Changelog: v2.1.0...v2.1.1
v2.1.0
https://pypi.org/project/py-cord/2.1.0/
What's Changed
- Bump 2.0.0 Changelog. by @JustaSqu1d in #1484
- Fix
VoiceChannel
/CategoryChannel
data being invalidated onOption._invoke
by @baronkobama in #1490 - feat: add additional operations to
BaseFlags
by @celsiusnarhwal in #1486 - Fix type issues in options.py by @Dorukyum in #1473
- 2.0 Migration Guide + Changelog re-write by @JustaSqu1d in #1488
- Add interaction support for View.message and add disable_on_timeout to Views by @ConchDev in #1492
- Emoji size changes by @UP929312 in #1517
- docs(guild): fix grammar in Guild channel properties by @toolifelesstocode in #1519
- Update pylint requirement from ~=2.14.4 to ~=2.14.5 by @dependabot in #1512
- Update mypy requirement from ~=0.961 to ~=0.971 by @dependabot in #1515
- Update content retrieval from AutoModActionExecution by @NeloBlivion in #1521
- Large code/documentation cleanup by @baronkobama in #1476
- Set store=False as default in load_extension(s) by @NeloBlivion in #1520
- feat: Slash Command Mentions by @JustaSqu1d in #1523
- Update pytest-asyncio requirement from ~=0.18.3 to ~=0.19.0 by @dependabot in #1505
- Fix
Option
raising AttributeError forstr
andmin_length or max_length
(issue #1526) by @yoggys in #1527 - Docs rewrite by @JustaSqu1d in #1504
- Tiny improvement relating to an example for slash commands by @UP929312 in #1533
- Implement app_commands_badge in flags.py by @lol219 in #1535
- Fix load_extensions parameters not being passed through by @UP929312 in #1537
- Adding RPC endpoint support (Client.fetch_application) by @lol219 in #1536
- Fix SlashCommandGroup descriptions pretending to be optional by @Middledot in #1539
- Fix Enum options breaking again & wrong typing import by @Middledot in #1541
- fix(docs): update privileged intent information by @JustaSqu1d in #1542
- Adjust category and guild _channels attributes to work with NoneType positions by @NeloBlivion in #1530
- Make
SelectOption.emoji
a property by @Middledot in #1550 - Bump next version (2.1.0) by @Lulalaby in #1480
- Adding
on_check_failure
toView
class by @Kile in #799 - Improve sticker creation checks by @Middledot in #1546
- Fix threads made from messages breaking by @Middledot in #1551
- Add overloads to load_extension(s) by @Dorukyum in #1522
- Correct location of app_commands_badge flag by @Middledot in #1553
- Add set_mfa_required method by @Middledot in #1552
- Improved examples to be easier. by @TheGiga in #1558
- Implement
resume_gateway_url
by @Dorukyum in #1559 - Avoid unnecessary call to
sync_commands
by @BobDotCom in #1563 - use custom_id to create timeout task by @LuisWollenschneider in #1562
- ext.bridge improvements by @Middledot in #1496
- Fix for application-based bots without the bot scope by @NeloBlivion in #1568
- Documentation improvements on bridge commands by @UP929312 in #1569
- Fixed documentation error link by @UP929312 in #1571
- Respect limit argument in Guild.bans() by @NeloBlivion in #1573
- Changed styling for most of the examples. by @TheGiga in #1566
- Fix to the codespell test error. by @TheGiga in #1581
- Fix on_scheduled_event_update event by @NeloBlivion in #1580
- Rework vulnerability handling by @Lulalaby in #1584
- Fixed small bug in
ApplicationCommand
by @chrisdewa in #1585 - feat(docs): Message Content Intent in Migration Guide by @JustaSqu1d in #1583
- Fix SlashCommandGroup description not being truly optional by @NeloBlivion in #1586
- Apply cog_check method to ApplicationCommand invocations by @NeloBlivion in #1575
- Fix
Interaction.edit_original_message()
InteractionMessage state by @camelwater in #1565 - Fix Example Typo/Syntax Error by @JustaSqu1d in #1588
- Fix required parameters validation error by @Middledot in #1589
- commands.has_permissions() return True in DM channels (fix #1576) by @yoggys in #1577
New Contributors
- @celsiusnarhwal made their first contribution in #1486
- @toolifelesstocode made their first contribution in #1519
- @lol219 made their first contribution in #1535
- @Kile made their first contribution in #799
- @LuisWollenschneider made their first contribution in #1562
- @chrisdewa made their first contribution in #1585
- @camelwater made their first contribution in #1565
Full Changelog: v2.0.1...v2.1.0
v2.0.1
https://pypi.org/project/py-cord/2.0.1/
What's Changed
- Fixed issue with HTTP bot slash commands by @BobDotCom
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Pycord Release 2.0.0
First of all, big thanks to anyone who helped us making this library possible!
Further down you can see all people who helped us by contributing.
Breaking Changes 2.0.0 > 1.7.3
See this Gist.
Notable Changes
Beta 2 (Release Message):
- ➕ Voice receive API
- 🔀
Bot.register_commands
renamed toBot.sync_commands
Beta 3/4 (Release Message):
- ➕ Support for Input Text and Modal components
- ➕ Slash command Attachments option
Beta 5 (Release Message and Release Message):
- 🔀 Discord API version changed from 9 to 10
- ➕ Message Content privileged intent
Beta 6/7 (Release Message):
- ➕ Application Command Localization
- 🔀 Guild Ban List Paginated
- ➖ Fully deprecated/removed store channels
- ➕
discord.ext.bridge
(Ability to have both slash and prefix commands) - ➕
Client.get_message
- ➕
Modal.on_error
Release Candidate 1 (Release Message):
- ➕ Library-level enforcement of component field limits
- ➕ Support providing option channel types as list
- ➕ [ext.pages] Files parameter to Page object
- ➕ [ext.bridge]
BridgeExtContext.delete()
method - ➕
disable_all_items
method to View - 🔀 Change Modal.children to be a property + allow instantiating with list of InputText components
- ➕ Enum options
- ➕ Application permissions v2
- ➕
arg: type = Option(...)
Option format - ➕ Forum channels
What comes next?
Our open PRs: https://github.com/Pycord-Development/pycord/pulls
Our open issues: https://github.com/Pycord-Development/pycord/issues
Project overview: https://github.com/orgs/Pycord-Development/projects/3
New Contributors
Contributors with their first pull requests
- @CodeWithSwastik made their first contribution in #2
- @AnimateShadows made their first contribution in #3
- @gx1285 made their first contribution in #6
- @xFGhoul made their first contribution in #16
- @ChickenDevs made their first contribution in #14
- @GreenDiscord made their first contribution in #32
- @yo56789 made their first contribution in #34
- @zeffo made their first contribution in #40
- @Codeize made their first contribution in #48
- @LilJess13 made their first contribution in #47
- @jgayfer made their first contribution in #58
- @hackermondev made their first contribution in #62
- @nerdguyahmad made their first contribution in #108
- @rpop0 made their first contribution in #121
- @proguy914629bot made their first contribution in #132
- @Grace-codes made their first contribution in #139
- @pgamerx made their first contribution in #140
- @cclauss made their first contribution in #75
- @Astrea49 made their first contribution in #60
- @DeviousLab made their first contribution in #199
- @AomiVel made their first contribution in #214
- @typpo made their first contribution in #241
- @Cheeseboy8020 made their first contribution in #180
- @Prince2347X made their first contribution in #267
- @dependabot made their first contribution in #240
- @TheGamerX20 made their first contribution in #280
- @ToxicKidz made their first contribution in #302
- @Makiyu-py made their first contribution in #301
- @Sengolda made their first contribution in #341
- @SlimShadyIAm made their first contribution in #364
- @JDJGInc made their first contribution in #336
- @FrostByte266 made their first contribution in #415
- @EnokiUN made their first contribution in #412
- @Daishiky made their first contribution in #131
- @Chock1 made their first contribution in #417
- @veni-vidi-code made their first contribution in #456
- @janu8ry made their first contribution in #92
- @SpeedLight-Dev made their first contribution in #510
- @HexF made their first contribution in #540
- @Om1609 made their first contribution in #551
- @pythonmcpi made their first contribution in #554
- @SimsumMC made their first contribution in #563
- @Apocryphon-X made their first contribution in #398
- @spslater made their first contribution in #561
- @Blackcool70 made their first contribution in #596
- @HyperGH made their first contribution in #604
- @Soheab made their first contribution in #607
- @rtk-rnjn made their first contribution in #610
- @unrealintegers made their first contribution in #623
- @PenguinDevs made their first contribution in #634
- @ryry013 made their first contribution in #633
- @Snawe made their first contribution in #658
- @Vioshim made their first contribution in #580
- @Waltwh made their first contribution in #671
- @SebaUbuntu made their first contribution in #673
- @Ratery made their first contribution in #727
- @UP929312 made their first contribution in #734
- @ImNimboss made their first contribution in #760
- @joek13 made their first contribution in #711
- @pollenjp made their first contribution in #789
- @sevenc-nanashi made their first contribution in #681
- @bsoyka made their first contribution in #851
- @argo0n made their first contribution in #876
- @Bimi05 made their first contribution in #890
- @stijndcl made their first contribution in #903
- @martinbndr made their first contribution in #924
- @PythonIntermediateCoder made their first contribution in #923
- @wurgo made their first contribution in #925
- @HigherOrderLogic made their first contribution in #934
- @Svenskithesource made their first contribution in #962
- @FaberSid made their first contribution in #980
- @ThatGenZGamer48 made t...
v2.0.0-rc.1
https://pypi.org/project/py-cord/2.0.0rc1/
What's Changed
- Adding delete_after for paginator.send by @jab416171 in #1245
- Add reason to delete_messages, fixes #1252 by @jab416171 in #1253
- Add
jump_url
property to channels by @Pysics in #1254 - Fix PartialMessage.edit() setting view as None even if it's not passed by @argo0n in #1256
- Remove implicit defer call in view.py by @Mihitoko in #1260
- Slash Command Channel Parsing Bug Fixes by @plun1331 in #1257
- Add
jump_url
Property to Threads by @Pysics in #1259 - Hotfix for spelling errors, minor indentation errors, update values to double quoted strings by @krittick in #1261
- [ext.pages] Add
Paginator.edit()
method by @krittick in #1258 - chore: run linting operations by @krittick in #1264
- [ext.pages] Hotfix to make PaginatorMenu use interaction routes for updates by @krittick in #1267
- Fix PartialMessage.edit by @plun1331 in #1268
- [ext.pages] Hotfix to remove custom_id parameter from being passed to default PaginatorMenu by @krittick in #1270
- [ext.pages] Hotfix to fully fix #1269 by @krittick in #1272
- Convert interaction.data["guild_id"] to int in the KeyError fallback within process_application_commands by @NeloBlivion in #1262
- Lift feature freeze by @Lulalaby in #879
- Add
EmbedField
object to allow for easier embed class instance creation by @krittick in #1181 - Fix race condition by @Mihitoko in #1039
- Document Modal and Embed Parameter Limits by @Pysics in #1247
- Remove voice client when bot disconnects by @Dorukyum in #1273
- Add validation of option names and descriptions by @Middledot in #1271
- Add library-level enforcement of component field limits by @krittick in #1065
- [bridge] Fix conversion exception by @BobDotCom in #1250
- Support providing option channel types as list by @Ratery in #1000
- Add Guild.jump_url by @Pysics in #1282
- on_thread_create event by @Middledot in #1285
- Context.me returning ClientUser when guilds intent is absent by @nbowen in #1286
- Add additional logic for optional component property setters to avoid TypeErrors by @krittick in #1289
- [ext.pages] Compatibility patch for ext.bridge by @krittick in #1288
- Change Embed.fields to always return a list by @plun1331 in #1287
- [ext.pages] Fix import for BridgeContext by @krittick in #1295
- None check for check_guilds by @freemanovec in #1291
- Hotfix to add debug warning to catch deprecated perms v1 usage until v2 perms are implemented by @krittick in #1301
- Update
Message.edit
type hinting overload and remove resulting redundant overloads by @krittick in #1299 - [ext.pages] Add
files
parameter toPage
object by @krittick in #1300 - Improve CI by @BobDotCom in #1306
- Update mypy requirement from ~=0.942 to ~=0.950 by @dependabot in #1308
- Add
disable_all_items
inView
by @27Saumya in #1199 - Update pylint requirement from ~=2.13.7 to ~=2.13.8 by @dependabot in #1315
- Update validation regex for command names & options by @IlluminatiFish in #1309
- Add
View.enable_all_items
by @Pysics in #1319 - Update guild.py fetch_members() type hints by @IotaSpencer in #1323
- Add is_nsfw to voice channels by @Middledot in #1317
- Rewrite options by @Dorukyum in #1251
- Permissions v2 - Redo for merge conflicts by @krittick in #1328
- Make description an optional arg in a PageGroup by @argo0n in #1330
- Enum options by @Middledot in #1292
- Change
Modal.children
to be a property, allow instantiating with list of InputText components by @krittick in #1311 - Fixing typo delete_exiting -> delete_existing by @jab416171 in #1336
- Add another installation way by @sketchmaster2001 in #1337
- Update slash command permissions example by @Dorukyum in #1335
- Fix parsing for string, integer, number, and boolean option types by @plun1331 in #1339
- Fixed format_dt using wrong format by @Aid0nModder in #1341
- Add
file
andfiles
parameters toInteractionResponse.edit_message()
by @baronkobama in #1340 - Add
BridgeExtContext.delete()
method by @baronkobama in #1348 - Forum channels support by @BobDotCom in #1249
- Implement Interaction.to_dict by @Dorukyum in #1274
- [ext.pages] Fixes and enhancements for
PageGroup
handling by @krittick in #1350 - Update coverage requirement from ~=6.3.2 to ~=6.3.3 by @dependabot in #1352
- Update pylint requirement from ~=2.13.8 to ~=2.13.9 by @dependabot in #1353
- Minor Refactor by @UP929312 in #1351
- Fix RuntimeError by @Middledot in #1357
- Make TextChannel._get_channel async by @Qxe5 in #1358
- Support event covers for audit logs by @Middledot in #1355
- Fix enum options breaking with redesigned options by @Middledot in #1359
- Fix the enum options fix breaking bridge commands by @Middledot in #1363
New Contributors
- @jab416171 made their first contribution in #1245
- @Mihitoko made their first contribution in #1260
- @NeloBlivion made their first contribution in #1262
- @nbowen made their first contribution in #1286
- @freemanovec made their first contribution in #1291
- @IlluminatiFish made their first contribution in #1309
- @IotaSpencer made their first contribution in #1323
- @sketchmaster2001 made their first contribution in #1337
- @Aid0nModder made their first contribution in #1341
- @baronkobama made their first contribution in #1340
- @Qxe5 made their first contribution in #1358
Full Changelog: v2.0.0-beta.7...v2.0.0-rc.1
v2.0.0-beta.7
https://pypi.org/project/py-cord/2.0.0b7/
What's Changed
- Fix py3.10 UnionType checks by @BobDotCom in #1240
Full Changelog: v2.0.0-beta.6...v2.0.0-beta.7
v2.0.0-beta.6
https://pypi.org/project/py-cord/2.0.0b6/
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
v2.0.0-beta.5
https://pypi.org/project/py-cord/2.0.0b5/
What's Changed
- Add an assignment statement to setter by @FaberSid in #980
- Add slash command attachment example by @krittick in #965
- Update input_text.py by @rtk-rnjn in #984
- Modal and InputText updates/fixes by @krittick in #988
- Format project to adhere to PEP8 standards and best practices by @krittick in #896
- Add pre-commit workflows by @krittick in #990
- Add modals to docs by @krittick in #992
- Fix modal rows by @krittick in #993
- Move dev requirements to requirements-dev.txt by @BobDotCom in #995
- Fix #982 by @Middledot in #1007
- Bump API to v10 by @BobDotCom in #1012
- Properly set Black to use 120 characters for line length by @krittick in #1015
- Re-run Black after #1015 by @krittick in #1016
- Add better linting by @krittick in #1019
- Add Message Content Intent by @plun1331 in #1014
- Change title to pycord by @Dorukyum in #1021
- Add
wait()
method toModal
class by @krittick in #1013 - Minor Documentation Changes by @plun1331 in #1023
- Set force to default true (registration rewrite 2) by @BobDotCom in #1024
- Fix missing .channels wildcard import removed in #1012 by @krittick in #1035
- add discord.http.API_VERSION by @BobDotCom in #1032
- Add custom_id attribute to Interaction by @BobDotCom in #1040
- Note message content requirement in
commands.Bot
by @plun1331 in #1030 - Raise TypeError if component custom_id type is not
str
by @krittick in #1017 - Change custom_id MISSING comparison to
None
for Select class to match other components by @krittick in #1060 - Allow deferring of modal submits by @plun1331 in #1061
- Replace scheduled event imports with wildcard by @Middledot in #1036
- Add and update docstrings for
Modal
andInputText
objects and related methods by @krittick in #1066 - Remove lint workflow temporarily due to implementation concerns by @krittick in #1072
- Fix custom_id field in interactions by @unrealintegers in #1079
- Fix branch config by @Dorukyum in #1089
- Fix for
InputText.label
being required by @krittick in #1091 - Fix for
InputText.value
not being properly cleared for non-required fields by @krittick in #1094 - Add
reference
,allowed_mentions
, andmention_author
parameters to Paginator.send() by @krittick in #1097 - Add
client
property toInteraction
class by @krittick in #1090 - Add docs for
AutocompleteContext
,Option
,OptionChoice
, andon_application_command*
events. by @krittick in #1103 - Add shortcut property to send modals via ApplicationContext by @krittick in #1062
- Adds message_content intent to examples. by @ThatGenZGamer48 in #1053
- Various Paginator fixes for
disable()
,cancel()
, andrespond
methods. by @krittick in #1088 - Add
custom_id
attribute toPaginatorMenu
to fix bug with persistent views that include page groups by @krittick in #1106 - Fix attribute error with deprecated stage discovery by @Middledot in #1107
- Fix scheduled event payload typings by @Middledot in #1108
- Add scheduled_event attribute to stage instances by @Middledot in #1105
- Update
HTTPClient.kick()
to usereason
kwarg by @krittick in #1112 - Fix for PartialMessageable TypeError in ext.pages by @krittick in #1116
- Add
CommandPermission
docs by @krittick in #1121 - Add
Page
class toext.pages
to allow for greater flexibility with page contents by @krittick in #1123 - Mistake in an example by @itsflorent in #1126
New Contributors
- @FaberSid made their first contribution in #980
- @ThatGenZGamer48 made their first contribution in #1053
Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5