pycord
pycord copied to clipboard
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
## Summary Hi Team, thanks for your amazing work, I hope this PR will find you well. When some events occurred like leaving a voice channel or having a network...
## Summary permit the usage of choice like so : ```py @bot.command() async def test(ctx: discord.ApplicationContext, test: Literal["1", "2"]): ... ``` instead of needed to do ```py @bot.command() @discord.option(name="test", choices=["1",...
## Summary Soundboard Follows up on #2321 Fixes #2216 ## Information - [x] This PR fixes an issue. - [x] This PR adds something new (e.g. new method or parameters)....
## Summary the type checker where not able to find discord.utils because of the http leading to no suggestion for everyfunction of utils like discord.utils.get etc etc ## Information -...
## Summary Looking at https://discord.com/developers/docs/components/reference#user-select I noticed that there is support for preselecting users, channels, roles, mentionables for the non string selects. This pr adds support for this. ## Information...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. Release notes Sourced from pytest's releases. 8.4.0 pytest 8.4.0 (2025-06-02) Removals and backward incompatible breaking changes #11372: Async tests will...
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. Changelog Sourced from mypy's changelog. Mypy Release Notes Next Release Mypy 1.16 We’ve just uploaded mypy 1.16 to the Python...
## Summary Implements `with_response` for interaction callbacks. This will update `Interaction._original_response` to avoid needing to make an API request when calling `Interaction.original_response()` It also adds `InteractionCallback` which contains `.is_loading()` and...
### Summary Calling `View.message.edit` on timeout raises an `AttributeError` ### Reproduction Steps Call `View.message.edit` in `View.on_timeout` without interacting with any UI component. ### Minimal Reproducible Code ```python @discord.slash_command(name="testcmd", description="Test.") async...
## Summary https://discord.com/developers/docs/resources/guild#guild-object-guild-features and also https://discord.com/channels/881207955029110855/881224361015672863/1318631076209491968 This also fixes an issue where one could not edit the state of both the `COMMUNITY` and `INVITES_DISABLED` flags at once. ## Information -...