-
Notifications
You must be signed in to change notification settings - Fork 1
chore: 🔃 Merge upstream #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…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 2b57461)
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]>
Thanks for opening this pull request! 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 |
Signed-off-by: Paillat-dev <[email protected]>
Signed-off-by: Paillat-dev <[email protected]>
Signed-off-by: Paillat-dev <[email protected]>
There was a problem hiding this 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.
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]>
from 682377f Signed-off-by: Paillat-dev <[email protected]>
7f457f2
to
e6f1e4d
Compare
Summary
Cherry-pick until e5739a2 included
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.