Skip to content

Conversation

@Paillat-dev
Copy link
Member

@Paillat-dev Paillat-dev commented Oct 26, 2025

Summary

Cherry picked until d184428 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.

Lumabots and others added 21 commits October 26, 2025 12:37
…ng (Pycord-Development#2955)

* feat: add incident management functionality to guilds

* fix: remove deprecated type checking configuration for basedpyright

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

* fix: rename incidents attribute to incidents_data to follow api

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

* Update discord/http.py

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

* Update discord/guild.py

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

* Update discord/incidents.py

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

* refactor(incidents): simplify datetime parsing using parse_time utility

* removal of guild

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

* Update discord/guild.py

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

* fix(incidents): require data parameter in IncidentsData constructor

* fix(guild): rename incidents attribute to incidents_data for clarity

* Update guild.py

Co-authored-by: Soheab <[email protected]>
Signed-off-by: Lumouille <[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: Copilot <[email protected]>
Co-authored-by: Soheab <[email protected]>

(cherry picked from commit 0ccf2f1)
…d-Development#2952)

* 🐛 Handle python 3.12+ `TypeAliasType` in `Option` parsing

* 📝 CHANGELOG.md

---------

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

(cherry picked from commit 72b6e05)
…cutions (Pycord-Development#2771)

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

(cherry picked from commit 65b8b61)
…lopment#2937)

* 📝 Document `PrimaryGuild` and `User.primary_guild`

* 🩹 Import `PrimaryGuild` in `__init__.py`

* 📝 Requested changes

(cherry picked from commit 40656fd)
* copyright

* Update discord/incidents.py

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

---------

Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: Paillat <[email protected]>
(cherry picked from commit a0f8e75)
…-Development#2967)

🚑 Fix `typing.TypeAliasType` not present in python <3.12

(cherry picked from commit 5a97fea)
…d docs for incident data) (Pycord-Development#2968)

* missing docs and CHANGELOG

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <[email protected]>
(cherry picked from commit bffa7bd)
…opment#2966)

* :fix: Async staticmethod autocompletes not awaited

* 📝 CHANGELOG.md

(cherry picked from commit aef54eb)
…table as autocomplete (Pycord-Development#2914)

* ✨ Allow for `functools.partials` and such as autocomplete

* 📝 CHANGELOG.md

* 🏷️ Better typing

* 🚚 Add partial autocomplete example

* 🩹 Make CI pass

* 📝 Move docstring to getter

* 🏷️ Boring typing stuff

* ✏️ Fix writing

* chore: 👽 Update base max filesize to `10` Mb (Pycord-Development#2671)

* 👽 Update base max filesize to `10` Mb

* 📝 CHANGELOG.md

* 📝 Requested changes

* 📝 Grammar

* ♻️ Merge the 2 examples

* ⚰️ remove conflicting autocomplete attribute from `Option`

* 🐛 Fix missing setting autocomplete

* Copilot

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

* 📝 CHANGELOG.md

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

* Update CHANGELOG.md

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

* 📝 Update CHANGELOG.md

* 🐛 Missing description kwarg in autocomplete example

---------

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

(cherry picked from commit b190b7f)
* ✨ Add  bypass slowmode perm

* ✨ CHANGELOG.md

---------

Signed-off-by: Lala Sabathil <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
(cherry picked from commit 218e065)
…nd other qol things (Pycord-Development#2730)

* 🏷️ Type stuff

* ♻️ Refactor weird checks and don't redefine filter every time

* ♻️ Extract name validation logic to helper method `_validate_name_prefix`

* ♻️ Rename `elem, value` to `attr_name, attr_value`

* ♻️ Extract attributes processing to `_process_attributes` and simplify its logic

* 🐛 Fix wrong order broke static listeners

* ♻️ Use a list comprehension for __cog_listeners__

* ♻️ Extract command update logic to `_update_command`

* ♻️ Avoid repeating staticmethod check

* ♻️ Import `Generator` & `Mapping` from `collections.abc` instead of `typing`

Deprecated since python 3.9, py-cord supports 3.9+

* 🏷️ Fix ignore comments

* 📝 Change comment wording

---------

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

(cherry picked from commit 30912d6)
* Implements positional flags

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

* Documentation for positional argument in commands.Flag

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

* Apply suggestions from code review

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

* chore: Update typing import in flags.py

The typing import in flags.py has been updated to include the Optional module. This change ensures that the __commands_flag_positional__ attribute can accept a value of None.

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

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

* Apply suggestion from @Paillat-dev

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

---------

Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Dorukyum <[email protected]>
Signed-off-by: Paillat <[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: Dorukyum <[email protected]>
Co-authored-by: JustaSqu1d <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: Paillat <[email protected]>

(cherry picked from commit 9f265b0)
Signed-off-by: Lala Sabathil <[email protected]>
(cherry picked from commit d4f968c)
Signed-off-by: Lala Sabathil <[email protected]>
(cherry picked from commit ca91b3e)
…velopment#2970)

* fix: make sure the member's inner user is updated when fetched

* chore: add changelog

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 87a9dcd)
* Add mention property to BaseEmoji class

Introduces a mention property to BaseEmoji, providing a formatted string for mentioning emojis in messages. Also fixes formatting in AppEmoji's __repr__ method.

* chore: changelog

---------

Co-authored-by: Lala Sabathil <[email protected]>
(cherry picked from commit 55efab4)
…pment#2973)

Revert "feat: Add mention property to BaseEmoji class (Pycord-Development#2972)"

This reverts commit 55efab4.

(cherry picked from commit c6109a5)
* feat: emoji mention (Pycord-Development#2974)

* Add mention property to BaseEmoji class

Introduces a mention property to BaseEmoji, providing a formatted string for mentioning emojis in messages. Also fixes formatting in AppEmoji's __repr__ method.

* chore: changelog

---------

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

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

---------

Co-authored-by: Lumouille <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 8cec195)
@Paillat-dev Paillat-dev requested review from a team and Lulalaby as code owners October 26, 2025 11:51
@pycord-app
Copy link

pycord-app bot commented Oct 26, 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/178/head:pr-178
git checkout pr-178

This pull request can be installed with:

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

@Paillat-dev Paillat-dev changed the title Merge upstream chore: 🔃 Merge upstream Oct 26, 2025
@read-the-docs-community
Copy link

Documentation build overview

📚 pycord-next | 🛠️ Build #30082999 | 📁 Comparing f728e6f against latest (41ac385)


🔍 Preview build

Show files changed (31 files in total): 📝 30 modified | ➕ 1 added | ➖ 0 deleted
File Status
changelog.html 📝 modified
genindex.html 📝 modified
_modules/index.html 📝 modified
api/abcs.html 📝 modified
api/application_commands.html 📝 modified
api/application_info.html 📝 modified
api/audit_logs.html 📝 modified
api/clients.html 📝 modified
api/cogs.html 📝 modified
api/data_classes.html 📝 modified
api/models.html 📝 modified
api/ui_kit.html 📝 modified
api/voice.html 📝 modified
api/webhooks.html 📝 modified
_modules/discord/cog.html 📝 modified
_modules/discord/emoji.html 📝 modified
_modules/discord/guild.html 📝 modified
_modules/discord/member.html 📝 modified
_modules/discord/permissions.html 📝 modified
_modules/discord/primary_guild.html ➕ added
_modules/discord/user.html 📝 modified
ext/bridge/api.html 📝 modified
ext/commands/api.html 📝 modified
ext/commands/commands.html 📝 modified
ext/pages/index.html 📝 modified
ext/tasks/index.html 📝 modified
_modules/discord/commands/core.html 📝 modified
_modules/discord/commands/options.html 📝 modified
_modules/discord/ext/tasks.html 📝 modified
_modules/discord/ext/bridge/core.html 📝 modified
_modules/discord/ext/commands/flags.html 📝 modified

@Paillat-dev Paillat-dev merged commit a9cfa4a into master Oct 26, 2025
23 checks passed
@Paillat-dev Paillat-dev deleted the merge-upstream branch October 26, 2025 11:59
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.

7 participants