Skip to content

Conversation

Paillat-dev
Copy link
Member

Summary

Cherry-pick until e5739a2 included

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

Paillat-dev and others added 24 commits October 9, 2025 11:08
…re than once (Pycord-Development#2882)

* 🐛 Fix `AttributeError` when accessing `AuditLogEntry.changes` more than once

* 📝 CHANGELOG

(cherry picked from commit 54ca771)
…ntil` (Pycord-Development#2883)

* ✨ Implement and document `AuditLogDiff.communication_disabled_until`

* 📝 CHANGELOG.md

---------

Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
(cherry picked from commit 59d3f38)
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: plun1331 <[email protected]>
Signed-off-by: UK <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: UK <[email protected]>
Co-authored-by: Paillat <[email protected]>

(cherry picked from commit 8c00456)
Signed-off-by: Paillat-dev <[email protected]>
📝 Fix docstring of `Nameplate`

(cherry picked from commit a383590)
Signed-off-by: UK <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: DA344 <[email protected]>
Co-authored-by: plun1331 <[email protected]>

(cherry picked from commit e038fc2)
Signed-off-by: Paillat-dev <[email protected]>
* fix: fix typing for PermissionOverwrite.update

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>

---------

Signed-off-by: Paillat <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: JustaSqu1d <[email protected]>
(cherry picked from commit 890153a)
Signed-off-by: BOXER <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Dorukyum <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: plun1331 <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: Lumouille <[email protected]>
Co-authored-by: Dorukyum <[email protected]>
Co-authored-by: Copilot <[email protected]>

(cherry picked from commit 54884c3)
Signed-off-by: Paillat-dev <[email protected]>
…evelopment#2772)

* Update guild.py

Signed-off-by: Lumabots <[email protected]>

* Update channel.py

add missings docs

Signed-off-by: Lumabots <[email protected]>

* Update guild.py

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update channel.py

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update guild.py

Signed-off-by: Lumabots <[email protected]>

* Update guild.py

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update CHANGELOG.md

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update CHANGELOG.md

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update guild.py

Signed-off-by: Lumabots <[email protected]>

* Update channel.py

removal of all the nsfw mention which should not exist for category

Signed-off-by: Lumabots <[email protected]>

* Update channel.py

Signed-off-by: Lumabots <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix typo

Co-authored-by: plun1331 <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/channel.py

Co-authored-by: plun1331 <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/channel.py

Co-authored-by: plun1331 <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/channel.py

Co-authored-by: plun1331 <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* feat(channel): deprecate is_nsfw method in CategoryChannel

* fix(channel): correct deprecated decorator arguments in CategoryChannel

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix: improve clarity of NSFW parameter documentation and slowmode for continiuty

* fix: improve clarity of NSFW parameter documentation

* fix: add missing parameters to channel creation methods and deprecate unsupported nsfw for categories

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* fix: add missing parameters for channel creation and allow default_reaction_emoji to be None

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* added reference

* deprecated nsfw using property

* Update channel.py

* Update channel.py

* Update discord/guild.py

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/guild.py

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/guild.py

Co-authored-by: JustaSqu1d <[email protected]>
Signed-off-by: Lumouille <[email protected]>

* Update discord/channel.py

Signed-off-by: Lumouille <[email protected]>

---------

Signed-off-by: Lumabots <[email protected]>
Signed-off-by: Lumouille <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: plun1331 <[email protected]>
Co-authored-by: JustaSqu1d <[email protected]>
Co-authored-by: Dorukyum <[email protected]>

(cherry picked from commit 9fd9b3e)
Signed-off-by: Paillat-dev <[email protected]>
Signed-off-by: Paillat <[email protected]>
Signed-off-by: Dorukyum <[email protected]>
Co-authored-by: Dasupergrasskakjd <[email protected]>
Co-authored-by: Dorukyum <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

(cherry picked from commit 5ef8a52)
Signed-off-by: Paillat-dev <[email protected]>
♻️ Better nameplates assets api

Co-authored-by: Soheab <[email protected]>
(cherry picked from commit 3f2fb34)
…ord-Development#2852)

Signed-off-by: Lumouille <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <[email protected]>
(cherry picked from commit 2cf71df)
Signed-off-by: Lala Sabathil <[email protected]>
(cherry picked from commit 27ece86)
Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <[email protected]>

(cherry picked from commit bd771d9)
Signed-off-by: Paillat-dev <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

(cherry picked from commit bc5b9a3)
Signed-off-by: Paillat-dev <[email protected]>
…d-Development#2893)

* fix: improve handling of Union and tuple types in option input_type validation

* fix: Option type handling for multiple Literals

Updates Option type resolution to return a Union of Literals when all filtered types are Literal, ensuring correct type annotation for command options.

---------

Co-authored-by: Lala Sabathil <[email protected]>
(cherry picked from commit d0937be)
Signed-off-by: Lumouille <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 8f903aa)
Signed-off-by: Lala Sabathil <[email protected]>
(cherry picked from commit 5f33ac8)
Signed-off-by: Lala Sabathil <[email protected]>
(cherry picked from commit 283277e)
…opment#2711)

Signed-off-by: Ice Wolfy <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: Paillat <[email protected]>

(cherry picked from commit 3fd5d70)
Signed-off-by: Paillat-dev <[email protected]>
…t#2910)

* Add support for new current member fields

discord/discord-api-docs#7807

* chore: add changelog entry

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update CHANGELOG.md

Co-authored-by: plun1331 <[email protected]>
Signed-off-by: Soheab <[email protected]>

* style(pre-commit): auto fixes from pre-commit.com hooks

* chore: do requested change

Pycord-Development#2910 (comment)

* Update discord/member.py

Co-authored-by: DA344 <[email protected]>
Signed-off-by: Soheab <[email protected]>

---------

Signed-off-by: Soheab <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: plun1331 <[email protected]>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: DA344 <[email protected]>

(cherry picked from commit dda0daa)
Signed-off-by: Paillat-dev <[email protected]>
Update role.py

Co-authored-by: Paillat <[email protected]>

(cherry picked from commit 02865fb)
Signed-off-by: Paillat-dev <[email protected]>
…-Development#2925)

* fix: Remove Extra Bytes Added By Discord Before OPUS Decoding

* chore: Changelog

(cherry picked from commit e5739a2)
Signed-off-by: Paillat-dev <[email protected]>
@Paillat-dev Paillat-dev requested review from a team and Lulalaby as code owners October 9, 2025 09:51
@pycord-app
Copy link

pycord-app bot commented Oct 9, 2025

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/147/head:pr-147
git checkout pr-147

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord-next@refs/pull/147/head

@Paillat-dev Paillat-dev removed request for a team and Lulalaby October 9, 2025 09:57
Copy link

read-the-docs-community bot commented Oct 9, 2025

Documentation build overview

📚 pycord-next | 🛠️ Build #29880511 | 📁 Comparing e6f1e4d against latest (c4e93c4)


🔍 Preview build

Show files changed (38 files in total): 📝 37 modified | ➕ 1 added | ➖ 0 deleted
File Status
changelog.html 📝 modified
genindex.html 📝 modified
_modules/index.html 📝 modified
api/abcs.html 📝 modified
api/audit_logs.html 📝 modified
api/clients.html 📝 modified
api/data_classes.html 📝 modified
api/enums.html 📝 modified
api/events.html 📝 modified
api/models.html 📝 modified
api/ui_kit.html 📝 modified
_modules/discord/abc.html 📝 modified
_modules/discord/asset.html 📝 modified
_modules/discord/audit_logs.html 📝 modified
_modules/discord/channel.html 📝 modified
_modules/discord/client.html 📝 modified
_modules/discord/collectibles.html 📝 modified
_modules/discord/components.html 📝 modified
_modules/discord/enums.html 📝 modified
_modules/discord/guild.html 📝 modified
_modules/discord/interactions.html 📝 modified
_modules/discord/member.html 📝 modified
_modules/discord/message.html 📝 modified
_modules/discord/permissions.html 📝 modified
_modules/discord/raw_models.html 📝 modified
_modules/discord/role.html 📝 modified
_modules/discord/soundboard.html ➕ added
_modules/discord/threads.html 📝 modified
_modules/discord/user.html 📝 modified
_modules/discord/voice_client.html 📝 modified
ext/bridge/api.html 📝 modified
ext/commands/api.html 📝 modified
ext/pages/index.html 📝 modified
_modules/discord/commands/core.html 📝 modified
_modules/discord/commands/options.html 📝 modified
_modules/discord/utils/public.html 📝 modified
modules/discord/webhook/async.html 📝 modified
_modules/discord/ext/bridge/core.html 📝 modified

@Paillat-dev Paillat-dev requested a review from Copilot October 9, 2025 10:24
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges upstream changes up to commit e5739a2, bringing a comprehensive set of new Discord API features and bug fixes. The changes primarily focus on soundboard functionality, enhanced interaction callbacks, improved permission handling, and various API updates.

  • Implements complete soundboard support with sound management, playback, and events
  • Adds enhanced interaction callbacks with loading/ephemeral status indicators
  • Introduces new permissions, channel parameters, and API improvements

Reviewed Changes

Copilot reviewed 47 out of 48 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
examples/soundboard.py New example demonstrating soundboard functionality with bot commands
discord/soundboard.py Core soundboard implementation with PartialSoundboardSound and SoundboardSound classes
discord/types/soundboard.py TypedDict definitions for soundboard API payloads
discord/types/primary_guild.py TypedDict for primary guild feature support
discord/http.py HTTP methods for soundboard operations and updated pin endpoints
discord/interactions.py Enhanced interaction callbacks with status tracking
discord/permissions.py New pin_messages permission and updated manage_messages documentation
discord/guild.py Guild soundboard management methods and limits
discord/channel.py Voice channel soundboard support and effect events
discord/client.py Client-level soundboard access methods
Various documentation files API reference updates for new features
Comments suppressed due to low confidence (1)

CHANGELOG.md:1

  • Malformed markdown link with extra parentheses. Should be ([#2882](https://github.com/Pycord-Development/pycord/pull/2882))
# Changelog

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Paillat-dev and others added 8 commits October 9, 2025 12:28
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paillat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants