https://pypi.org/project/py-cord/2.0.0b1/
What's Changed
- Pycord by @CodeWithSwastik in #2
- Fix circular import by @AnimateShadows in #3
- Link fix by @gx1285 in #6
- Japanese version by @gx1285 in #7
- Add decorator interface for slash commands by @Dorukyum in #4
- Link fix by @gx1285 in #8
- Changed AppMixin, BotBase, SlashCmds, etc by @Middledot in #12
- Refactor and fix bot.py by @Dorukyum in #13
- Fixes In Documentation Links/Names by @xFGhoul in #16
- Fix READMEs by @ChickenDevs in #14
- Slash Command Options + some file changes by @Middledot in #20
- Fixes for previous pr by @Middledot in #21
- Create about.md by @Dorukyum in #22
- Add SlashCommand.guild_ids by @Dorukyum in #24
- Update README.ja.rst by @gx1285 in #26
- Create InteractionContext by @Dorukyum in #29
- Update errors.py by @GreenDiscord in #32
- Decorator Edit by @Middledot in #33
- fix discord.py to pycord by @yo56789 in #34
- Typehint discord/app/commands.py by @Dorukyum in #37
- Add MessageCommand compatibility by @Middledot in #38
- fix: call bulk_upsert_guild_commands only if there are commands to up… by @zeffo in #40
- Implements a new
get_or_fetch
feature by @xFGhoul in #42 - Revert "Implements a new
get_or_fetch
feature" by @CodeWithSwastik in #43 - MINOR discordpy >> pycord doc links update by @Codeize in #48
- Add allowed_mentions to respond and author to context by @LilJess13 in #47
- Ignore non dispatchable items when refreshing a view by @Luc1412 in #50
- Merge slash commands into master by @BobDotCom in #31
- Remove auto response on unknown command. by @CodeWithSwastik in #56
- Include bot in interaction context by @jgayfer in #58
- Sync slash with master by @CodeWithSwastik in #61
- Minor fixes by @CodeWithSwastik in #64
- Add missing documentation for get_application_context by @jgayfer in #59
- Allowed mentions work with interactions on bot init by @LilJess13 in #70
- Add official Discord Developers server by @hackermondev in #62
- Typehint and document discord/app/context.py by @Dorukyum in #74
- add ctx.voice_client and ctx.typing shortcuts for InteractionContext by @zeffo in #82
- Fix ictx.message type by @Dorukyum in #87
- Make invalid token type raise TypeError by @Dorukyum in #88
- Improve message for
ExtensionNotFound
by @nerdguyahmad in #108 - Add missing Bot.run() line by @nerdguyahmad in #115
- Add remove methods for image and thumbnail in embeds by @nerdguyahmad in #111
- Add Color.nitro_pink branding color by @nerdguyahmad in #122
- [Commands] Remove redundant type declaration of input_type in Options() class by @rpop0 in #121
- Remove type hinting of slash_command, user_command, message_command by @rpop0 in #125
- Fix Components getting added to children instead of Items by @Luc1412 in #119
- Add create_activity_invite shortcut method by @CodeWithSwastik in #128
- Merge cogs into slash by @CodeWithSwastik in #124
- Fix a TypeError by @proguy914629bot in #132
- Allow option decor to infer type from the typehint by @Grace-codes in #139
- Add Raw thread delete event by @nerdguyahmad in #123
- Add support for Welcome screen by @nerdguyahmad in #143
- Make InteractionContext an abc.Messageable by @BobDotCom in #130
- merge slash into restructure by @BobDotCom in #145
- Making about.md a little bit better by @pgamerx in #140
- Add reason support in welcome screen edits. by @nerdguyahmad in #171
- Add call to ApplicationCommand by @AnimateShadows in #179
- Change
ctx.send
toctx.respond
in the examples by @Grace-codes in #182 - Replace extension errors with new ones. by @nerdguyahmad in #109
- Add a dunder len to Message by @Grace-codes in #176
- merge master into feature/slash by @BobDotCom in #195
- Change
ctx.send
toctx.respond
in the README by @Grace-codes in #197 - Python bytes, not Bytes just like the line above by @cclauss in #75
- Prefer
static_format
overformat
with static assets by @Astrea49 in #60 - Make id parameter positional only by @nerdguyahmad in #114
- Added START_EMBEDDED_ACTIVITIES permission #198 by @DeviousLab in #199
- Implement Command.cooldown by @Dorukyum in #225
- Add a code of conduct by @pgamerx in #147
- fix: distribution by @AomiVel in #214
- Fix typos discovered by codespell by @cclauss in #79
- License Updates and Code Vulnerability Checking by @BobDotCom in #239
- Add *items to View by @Dorukyum in #236
- Add a key feature to README by @Grace-codes in #202
- Add
can_send
method to Messageable by @Grace-codes in #183 - Set pycord user-agent by @typpo in #241
- Revert "Add
can_send
method to Messageable" by @CodeWithSwastik in #243 - Revert "Revert "Add
can_send
method to Messageable"" by @BobDotCom in #245 - created delete_after parameter for ctx.respond by @Cheeseboy8020 in #180
- Added
on_raw_typing
event by @Astrea49 in #63 - add support for role icons by @zeffo in #254
- Added new embedded activites with documentation. by @Prince2347X in #267
- add support for sending file(s) in interaction response by @zeffo in #263
- Use dict.get to avoid KeyError in discord/message.py by @zeffo in #268
- Revert "Add a dunder len to Message" by @CodeWithSwastik in #270
- Add missing flags by @Lulalaby in #271
- Implement custom converter types by @Dorukyum in #256
- Bump sphinx from 4.0.2 to 4.2.0 by @dependabot in #240
- Merge
master
tofeature/slash
by @CodeWithSwastik in #283 - merge feature/slash into restructure by @BobDotCom in #284
- Merge restructure into slash by @BobDotCom in #138
- merge feature/slash into master by @BobDotCom in #285
- merge master into feature/slash by @BobDotCom in #286
- Update documentation for #254 by @BobDotCom in #281
- Merge bug fixes into feature/slash by @BobDotCom in #289
- Revert to the standard discord badge by @BobDotCom in #288
- Add review bypass for core developers by @BobDotCom in #292
- Fixed errros and warnings while building docs (fixes #287) by @Prince2347X in #296
- Add Slash Command Permissions support. by @TheGamerX20 in #280
- Add join_notification_replies 1<<3 by @Lulalaby in #294
- Fix TypeError when command has no permission checks by @Dorukyum in #297
- Add downloads badge to README file by @BobDotCom in #293
- Fix for Context Menu Permissions. by @TheGamerX20 in #299
- Change
commands.check
to allowApplicationCommand
by @ToxicKidz in #302 - Refactor and format discord/bot.py by @Dorukyum in #298
- Add some typing (found with mypy --strict) by @ultrabear in #252
- rename cog.py InteractionContext occurrences to the new name by @Makiyu-py in #301
- Add min_value & max_value to Option by @nerdguyahmad in #295
- Add new Game & Sort ABC by @Lulalaby in #320
- Remove slash option type custom and add attachment by @Lulalaby in #319
- Move commands.Bot listener methods to discord.Bot by @ToxicKidz in #305
- fixed all of discord/commands by @Prince2347X in #306
- Add ApplicationContext.me & improve docstr by @Dorukyum in #315
- Fix bobs shit by @Lulalaby in #329
- [Hotfix] Remove duplicate keys by @Lulalaby in #330
- Add permissions to discord.commands.init by @Dorukyum in #307
- Fixes
discord.Bot.on_application_command_error
by @ToxicKidz in #334 - Update Application Flags by @Lulalaby in #327
- Added Support for thread_id on Webhook Messages by @Makiyu-py in #335
- Remove duplicate file checks by @Dorukyum in #333
- Implement autocomplete by @CodeWithSwastik in #346
- Fix cmd returning None in register_commands due to API change/bug by @TheGamerX20 in #349
- Add
guild.premium_progress_bar_enabled
by @Dorukyum in #331 - Add example for slash commands in cogs. by @Sengolda in #341
- Use full name for commands.Bot reference by @nerdguyahmad in #118
- Return Interaction object in send_message by @krittick in #356
- Add additionally flags by @Lulalaby in #344
- Sync autocomplete and master by @CodeWithSwastik in #357
- Update slash_perms.py example by @TheGamerX20 in #362
- Add an example with Buttons to self-assign roles by @SlimShadyIAm in #364
- Fix Issue 363 and Implement Thread Query on WebhookMessage Classes by @Makiyu-py in #366
- Raise error in utils.get_or_fetch if a default value is not passed by @BobDotCom in #339
- Add utils.basic_autocomplete by @BobDotCom in #348
- Update aiohttp requirement from <3.8.0,>=3.6.0 to >=3.6.0,<3.9.0 by @dependabot in #369
- Gitignore by @Lulalaby in #370
- Options having different names than parameter name by @Dorukyum in #374
- More Activities by @Lulalaby in #368
- Make ext.commands.help filter only prefixed commands. by @TheGamerX20 in #360
- Implement discord.utils.generate_snowflake by @JDJGInc in #336
- Changes Docs to look better. by @JDJGInc in #375
- Fix help command in cogs by @plun1331 in #233
- [ci skip] pycord.dev and a few fixes by @Lulalaby in #377
- Add DCO & Contributing by @Lulalaby in #378
- Add guild feature by @Lulalaby in #376
- Create SECURITY.md by @Lulalaby in #380
- Update Japanese Readme by @Lulalaby in #379
- Quick fix of japanese readme by @Lulalaby in #382
- Add AutocompleteContext for autocomplete callbacks by @zeffo in #361
- Merge autocomplete into master by @CodeWithSwastik in #385
- Add examples to the
This PR is not a code change (e.g. documentation, README, typehinting, ...)
by @Sengolda in #386 - Update intents for message content intent becoming privileged by @BobDotCom in #332
- Fix message content intent by @Lulalaby in #390
- Add note April 2022 by @Lulalaby in #394
- Security Report Template and cleanup by @Lulalaby in #396
- Update context.py by @Dorukyum in #399
- Update contribution guidelines by @FrostByte266 in #415
- Add delete_after parameter to Webhook.send by @krittick in #414
- Docstrings for application command permissions by @EnokiUN in #412
- Fix discord link by @Lulalaby in #409
- Fix ci by @BobDotCom in #419
- Add Channel Banner Feature Flag by @Lulalaby in #421
- Add transparent color by @Daishiky in #131
- Bump sphinx from 4.2.0 to 4.3.0 by @dependabot in #429
- GitHub Action to run a security scan using bandit by @cclauss in #83
- GitHub Action to run mypy on Python type hints by @cclauss in #81
- Change http gateway version by @Lulalaby in #408
- Add more Actions for CI/CD to check PRs & commits by @Lulalaby in #431
- Support responding with deferred_channel_message to component interactions. by @plun1331 in #309
- Implement
bot.get_application_command
by @Dorukyum in #395 - Bug Fix by @plun1331 in #437
- Adding file and files keyword arguments to discord.Message.edit by @Chock1 in #417
- Add fix for typing for ApplicationContext.author by @krittick in #464
- adds with_count to fetch_guild by @JDJGInc in #465
- Bugfix for task.loop by @veni-vidi-code in #456
- add support for passing options in SlashCommand.init by @Luc1412 in #471
- Add aiohttp speedups to
speed
by @Sengolda in #474 - New permission 1<<40 by @Lulalaby in #488
- Update Activities with their real names by @Lulalaby in #489
- Fix merge errors in utils.basic_autocomplete by @BobDotCom in #476
- Fix voice_client in ApplicationContext by @plun1331 in #504
- Add autocomplete example by @krittick in #503
- Installing additional packages for aiohttp by @janu8ry in #92
- Hot Fix - CodeSpell by @Lulalaby in #511
- Update button_roles.py by @SpeedLight-Dev in #510
- Fix type for User.accent_colour. by @nerdguyahmad in #516
- Fix make.bat Name by @VincentRPS in #517
- Random Lines In commands.bot by @VincentRPS in #520
- Bump sphinx from 4.3.0 to 4.3.1 by @dependabot in #519
- Fix's Name Issues by @VincentRPS in #521
- Fix WelcomeScreen typings by @Middledot in #522
- Fix command name, option, and description validation by @BobDotCom in #533
- Add support for slash-command groups on cogs by @HexF in #540
- Format by @Dorukyum in #537
- Fix Classifiers by @VincentRPS in #548
- ApplicationContext attributes by @Lulalaby in #507
- Change if isinstance logic to elif by @Om1609 in #551
- Fix broken link in CONTRIBUTING.md by @pythonmcpi in #554
- Update Discord Link in about.md by @SimsumMC in #563
- Redesigning slash command groups by @Dorukyum in #462
- better discord shield by @VincentRPS in #569
- Use WeakValueDictionary for webhook locks. by @nerdguyahmad in #570
- Update recent change to CogMeta class to only apply to ApplicationCommand groups by @krittick in #572
- baseholder implementation for timeouts by @BobDotCom in #441
- Fix timeout permission by @Lulalaby in #583
- fix for slash groups example by @krittick in #576
- [bugfix] Use kwargs when copying group by @Dorukyum in #577
- Fix for discord.User parsing by @Apocryphon-X in #398
- Add missing cast import from typing library by @spslater in #561
- Add ext.menus pagination module by @krittick in #539
- Update feature_request.yml by @Lulalaby in #591
- Rename ext.menus to ext.pages, fix docs and typing by @krittick in #589
- changed discord.ext.menus to discord.ext.pages by @Blackcool70 in #596
ext.pages
Documentation Fixes by @plun1331 in #598- fix for ext.pages rename in index.rst by @krittick in #602
- Update menu to pages in example by @HyperGH in #604
- Bump sphinx from 4.3.1 to 4.3.2 by @dependabot in #597
- Fix moderate_members by @Soheab in #607
- Add Member.timed_out property by @SlimShadyIAm in #603
- Update member.py by @rtk-rnjn in #610
- Make _Overwrites.is_member and is_role use _Ovewrites.ROLE and MEMBER by @Sengolda in #601
- Notes that you need to invite bots with application command scope by @Lulalaby in #612
- Add locale and guild locale by @Lulalaby in #614
- New
get_or_fetch_user
method by @Sengolda in #615 - Add alias use_application_commands for slash by @Lulalaby in #616
- Fix duplicates by @Dorukyum in #594
- Making A CODEOWNERS by @VincentRPS in #547
- Revert "Making A CODEOWNERS" by @BobDotCom in #620
- Fix crash caused by locales by @unrealintegers in #623
- Remove discord.Bot.debug_guild by @HyperGH in #627
- Add support for animated guild banners by @Soheab in #628
- Add a timeout_for method by @BobDotCom in #619
- Add commands.Cog.get_commands by @Dorukyum in #621
- Add delay and delete_after Parameters on Interaction functions by @Makiyu-py in #600
- Fix guild avatars not working by @HyperGH in #644
- Global commands will be sent to Discord to register only if it differs from the existing global commands from Discord's servers by @PenguinDevs in #634
- Separate ApplicationContext.respond() and followup() by @HyperGH in #645
- Make
guild.audit_logs(limit)
parameter optional by @ryry013 in #633 - Fix converters by @Dorukyum in #648
- Commit Styling by @VincentRPS in #653
- Add functionality to update
Paginator
by @Snawe in #658 - Implement ApplicationContext.invoke by @Dorukyum in #652
- Add new
Thread.archive
by @Sengolda in #518 - Replace First Argument of Paginator.send to be only Context by @Makiyu-py in #654
- Add a note about using ctx.respond in slash_basic example by @HyperGH in #642
- Fix to autocomplete's values (OptionChoices) by @Vioshim in #580
- Add slash command example to quickstart by @HyperGH in #639
- [bugfix] Move
ParamSpec
import intoif TYPE_CHECKING
by @Dorukyum in #659 - Add permissions support to context menu commands by @krittick in #631
- Allow Loop.change_interval to be called in before_loop and after_loop by @Makiyu-py in #661
- Type-hinted, un typehinted dunder methods by @Sengolda in #667
- Revert behavior change to ApplicationContext.respond, make send_response and send_followup explicit in their usage by @krittick in #656
- Ability to reload application command callbacks by @Dorukyum in #647
- Revert "Ability to reload application command callbacks" by @Lulalaby in #670
- Rename Permission to CommandPermission by @Dorukyum in #662
- Fix Permission->CommandPermission rename for ContextMenuCommand by @krittick in #672
- Add timeout example by @Dorukyum in #613
- Add description to Attachments and Files by @plun1331 in #509
- Cooldowns and max concurrency for application commands by @Dorukyum in #674
- Fix for missing self.name/self.description in SlashCommandGroup by @krittick in #676
- Add support for
guild scheduled events
by @Middledot in #211 - Treating None embeds and views as not having embeds and views in send_message by @WaltWh in #671
- Remove Thread.archiver_id by @Makiyu-py in #688
- Fix #690 by @Middledot in #694
- Fix groups by @Dorukyum in #691
- Made
qualified_name
A Property For Application Commands by @Makiyu-py in #698 - Add ability to reload application command callbacks back by @Dorukyum in #700
- Fix
ApplicationCommand.__eq__
by @Dorukyum in #701 - Fixes #704 by @Vioshim in #705
- Document Missing Raw Payload by @Middledot in #709
- Fix documentation inconsistency by @Middledot in #710
- Fix Max Concurrency On Application Commands by @Makiyu-py in #718
- Fix #719 by @Middledot in #723
- Fix #716 and #718 by @ChickenDevs in #724
- ext.pages updates/changes by @krittick in #629
- Add a cooldown example by @Dorukyum in #677
- discord: client: Ignore RuntimeError when calling add_signal_handler() by @SebaUbuntu in #673
OptionChoice
Bug Fix by @plun1331 in #679- Add Walk (application) Commands on
SlashCommandGroup
anddiscord.Bot
by @Makiyu-py in #697 - Update pynacl requirement from <1.5,>=1.3.0 to >=1.3.0,<1.6 by @dependabot in #728
- Add reason kwarg to Thread.edit method by @Ratery in #727
- Use data.get for optional guild_id parameter by @Dorukyum in #732
- Fix ScheduledEventLocation documentation by @Middledot in #725
- Fix attribute error for ScheduledEventLocation by @Middledot in #733
- Fixed missing backtick causing problems by @UP929312 in #734
- Update StackOverflow tag in CONTRIBUTING.md by @ChickenDevs in #736
- Add git command and warning to introduction by @ChickenDevs in #737
- Should probably include windows users by @ChickenDevs in #738
- Automatically set discord.Option.required to False if possible by @Ratery in #739
- [ext.pages] Fix missing current_page assignment, add page indicator update in goto_page by @krittick in #742
- Merge about.md with README.md by @Middledot in #752
- [ext.pages] Fix Paginator.update() example by @krittick in #756
- Improve 2 lines in CONTRIBUTING.md by @ImNimboss in #760
- Fixed error with options defined in kwargs (#555) by @EmreTech in #729
- Add Thread As A Slash Command Option by @Makiyu-py in #706
- fix: incorrect year by @VincentRPS in #765
- Rename commands.py to core.py in discord.commands by @BobDotCom in #766
- Add cooldown methods to application commands by @Dorukyum in #776
- Typing and importing fixes by @Dorukyum in #777
- Move options to discord/commands/options.py by @Dorukyum in #767
- Add invitable attribute to AuditLogDiff by @Dorukyum in #764
- Fix empty labels being overriden if emoji is present by @HyperGH in #782
- Fix 2 for emoji-only buttons being overriden in ext.pages by @HyperGH in #783
- fix: typo in
remove_user
by @VincentRPS in #784 - fix: typo in
MessageFlags.loading
by @VincentRPS in #796 - chore: bump sphinx to
4.4.0
by @VincentRPS in #806 - Implemented attachments in Webhook.edit_message and WebhookMessage.edit by @Vioshim in #712
- Note Feature Freeze by @Lulalaby in #807
- [ext.pages] Add ability to specify in which row the paginator buttons are displayed by @krittick in #802
- [ext.pages] Add example for using emojis for buttons instead of labels by @krittick in #785
- Fix for setting Embed object properties to
None
upon creation by @krittick in #745 - Fix
discord.utils.escape_markdown
only escaping first link on line by @joek13 in #711 - Fix ScheduledEvent (gateway) events not working by @Middledot in #809
- Fix #812 and Option.channel_types' Type Annotation by @Makiyu-py in #813
- Make channel_id default to the current channel by @plun1331 in #815
- Mention the correct brotli package by @Om1609 in #818
- Add cover images by @Middledot in #819
- Implement MessageInteraction class by @Ratery in #821
- [ext.commands] Fix non-async method in owner_or_permission doc example by @krittick in #822
- Fix documentation table of contents by @krittick in #823
- Revert docs changes from #822 by @krittick in #824
- Extension fixes by @plun1331 in #817
- remove useless lambda functions by @Sengolda in #689
- Fix behaviour of ScheduledEvent subs iterator by @Middledot in #810
- Fix
Permissions.all()
by @Sengolda in #795 - Fix GroupMixin.all_commands by @Dorukyum in #826
- Revert #817 due to high-severity prefix command errors introduced by its changes by @krittick in #829
- Add back missing PartialMessageable import by @krittick in #828
- Bugfix/modify mypy ci by @pollenjp in #789
- ci: add skipping functionality by @VincentRPS in #835
- Fix: Fix discord.errors not working by @sevenc-nanashi in #681
- Improve examples by @Ratery in #791
- Trunk/docs by @Lulalaby in #775
- chore: bump version to
2.0.0-rc.1
by @VincentRPS in #762 - Fix reST list in quickstart docs by @bsoyka in #851
- Add license to commands/options.py by @Middledot in #852
- Fix converters using message.mentions by @Middledot in #853
- Add docs for
MessageInteraction
class by @Ratery in #849 - [ext-pages] Fix for specifying an initial page before sending the paginator by @krittick in #859
- Merge core/typing by @Lulalaby in #432
- Revert "Merge core/typing (#432)" by @krittick in #864
- Use
is
when checking against an object's identity by @rtk-rnjn in #862 - Bump version to 2.0.0 beta by @BobDotCom in #868
New Contributors
- @CodeWithSwastik made their first contribution in #2
- @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
- @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
- @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
- @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
Full Changelog: https://github.com/Pycord-Development/pycord/commits/v2.0.0-beta.1