Skip to content
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

fix: enum option issues #2463

Merged
merged 12 commits into from
Jul 1, 2024
Merged

Conversation

NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented May 26, 2024

Summary

Makes two changes for better enum support in options:

  • If an enum's docstring is greater than 100 characters, truncate it (fixes issues on Python 3.11)
  • If an enum has more than 25 values, use basic_autocomplete instead of choices and forces the type back to string.

Related thread: https://discord.com/channels/881207955029110855/1238137800440942684/1238624044396314714

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.

@JustaSqu1d
Copy link
Member

It would be nice if this behavior was documented somewhere

@Lulalaby
Copy link
Member

What squid said

discord/commands/options.py Show resolved Hide resolved
discord/commands/options.py Outdated Show resolved Hide resolved
@Dorukyum
Copy link
Member

@NeloBlivion see suggestions

@Lulalaby Lulalaby enabled auto-merge (squash) July 1, 2024 11:33
@Lulalaby Lulalaby requested a review from Dorukyum July 1, 2024 11:33
@Lulalaby Lulalaby merged commit 99b40e2 into Pycord-Development:master Jul 1, 2024
29 checks passed
plun1331 added a commit to SkyKings-Guild/pycord that referenced this pull request Sep 9, 2024
* chore(deps-dev): update pylint requirement from ~=3.2.3 to ~=3.2.4 (Pycord-Development#2482)

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: limits on integer and number option types (Pycord-Development#2462)


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

* feat: update monetization (Pycord-Development#2438)

* fix: always cast PartialMessage(able) IDs to int (Pycord-Development#2406)

* force partial IDs to int

* changelog

* Update CHANGELOG.md

Co-authored-by: Dorukyum <[email protected]>
Signed-off-by: UK <[email protected]>

* different fix

* adjust changelog

---------

Signed-off-by: UK <[email protected]>
Co-authored-by: Dorukyum <[email protected]>

* feat: add Attachment.title (Pycord-Development#2486)

* feat: implement MemberFlags (Pycord-Development#2489)

* feat: implement RoleFlags (Pycord-Development#2487)

* implement roleflags

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

* cl

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

* Update discord/flags.py

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

* Update CHANGELOG.md

Co-authored-by: Dorukyum <[email protected]>
Signed-off-by: UK <[email protected]>

* fix docs

* again?

* better formatting

* flags.py aktualisieren

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

* test formatting fix

* resolve conflicts

* revert

---------

Signed-off-by: plun1331 <[email protected]>
Signed-off-by: UK <[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: plun1331 <[email protected]>
Co-authored-by: Dorukyum <[email protected]>

* fix: enum option issues (Pycord-Development#2463)

* patch enums

* cl

* document enum choice/autocomplete behaviour

* Update discord/commands/options.py

Co-authored-by: Icebluewolf <[email protected]>
Signed-off-by: UK <[email protected]>

* clarify docstring and warn

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

* import

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

---------

Signed-off-by: UK <[email protected]>
Co-authored-by: Icebluewolf <[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]>

* feat: implement MessageCall (Pycord-Development#2488)

* implement messagecalls

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

* adjust design + cl

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

* __all__

* message.py aktualisieren

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

---------

Signed-off-by: UK <[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: Dorukyum <[email protected]>

* chore(deps-dev): update pylint requirement from ~=3.2.4 to ~=3.2.5 (Pycord-Development#2484)

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.4...v3.2.5)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: remove_application_command missing case (Pycord-Development#2480)

* fix: remove_application_command has wrong logic

* changelog

* fix: premium buttons and entitlement iterator (Pycord-Development#2490)

* Fix premium buttons

* Fix EntitlementIterator call

* Test yarl bool

* Add TODO

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

* Cast `exclude_ended` to int

* Fix cast

* Adjust fetch_entitlements to match other iterators

* Add changelog

---------

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

* fix: update audit log filtering & sorting (Pycord-Development#2371)

* fix: either i'm high and it won't work, or i'm god and this works

* Update iterators.py

* Update iterators.py

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

* chore: clean code

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

* chore: add changelog entry

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

* chore: add changelog entry

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

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

* Update guild.py

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

---------

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

* chore: remove `vanity_code` from `Guild.edit` (Pycord-Development#2491)

chore: remove vanity_code from Guild.edit

* fix: further address audit log issues (Pycord-Development#2492)

* chore: improve nesting error message (Pycord-Development#2275)

* chore: improve subgroup limit error message

* Changelog

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

* Update discord/commands/core.py

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

* Update core.py

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

* Update CHANGELOG.md

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

---------

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: Lala Sabathil <[email protected]>

* docs: add missing attributes to UserCommand and MessageCommand (Pycord-Development#2494)

* chore: update readme and changelog (Pycord-Development#2493)

* chore: fix incorrect pull ID

* chore: update key features

* chore: add dot

* chore: add 2.6 header

* chore: move the 2.6 header

* chore: add complete changelog link

* fix changelog position of Pycord-Development#2275

* Update CHANGELOG.md

---------

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

* docs: add docs for Interaction.entitlements (Pycord-Development#2495)

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

* fix: Rename 'cover' to 'image' in relation to ScheduledEvent (Pycord-Development#2496)

* fix: Rename 'cover' to 'image' in relation to ScheduledEvent

* docs: Typo

* 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>

* chore(deps-dev): update coverage requirement from ~=7.5 to ~=7.6 (Pycord-Development#2497)

Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.5.0...7.6.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: inverted type hints in `CheckAnyFailure` (Pycord-Development#2502)

* chore(deps-dev): update mypy requirement from ~=1.10.1 to ~=1.11.0 (Pycord-Development#2503)

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.10.1...v1.11)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): update pylint requirement from ~=3.2.5 to ~=3.2.6 (Pycord-Development#2505)

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.5...v3.2.6)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): update pytest requirement from ~=8.2.2 to ~=8.3.1 (Pycord-Development#2506)

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.2.2...8.3.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: minor `InputText` formatting issues (Pycord-Development#2507)

* chore(deps-dev): update pytest requirement from ~=8.3.1 to ~=8.3.2 (Pycord-Development#2508)

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.1...8.3.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: avoid premature garbage collection of tasks (Pycord-Development#2510)

* avoid premature garbage collection of Client tasks

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

* remove typehint (pre-commit makes it non compatible with older python)

* 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>

* fix: 📝 Improve wording in `option` decorator slightly (Pycord-Development#2512)

:memo: Improve wording in `option` decorator slightly

* chore(deps-dev): update mypy requirement from ~=1.11.0 to ~=1.11.1 (Pycord-Development#2511)

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11...v1.11.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump flake8 from 7.1.0 to 7.1.1 (Pycord-Development#2518)

Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.0 to 7.1.1.
- [Commits](PyCQA/flake8@7.1.0...7.1.1)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(python)!: remove support for python 3.8 (Pycord-Development#2521)

* chore(python)!: remove support for python 3.8

Needed for new docs + python 3.8 is gonna be EOL by october

* fix: changelog warning

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

---------

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

* feat: multilingual docs (Pycord-Development#2522)

* New Crowdin Translations (Pycord-Development#2523)

New Crowdin translations by GitHub Action

Co-authored-by: Crowdin Bot <[email protected]>

* [ci skip] fix(actions): crowdin commit message

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

* [ci skip] fix(actions): auto approve for crowdin, bot might use other name

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

* fix(actions): crowdin upload only per command in commit message or dispatch

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

* [ci skip] Update readme to include link to crowdin

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

* [ci skip] fix(actions): fix typos .-.

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

* fix(docs): fix translation language codes (Pycord-Development#2524)

* Revert "fix(docs): fix translation language codes (Pycord-Development#2524)"

This reverts commit 13e1b43.

* [ci skip] fix: fix codeowners typo

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

* [ci skip] fix(actions): another code owner fix

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

* fix(actions): missing lang code fix (Pycord-Development#2525)

* Reapply "fix(docs): fix translation language codes (Pycord-Development#2524)"

This reverts commit 00c2091.

* fix(actions): missing lang code fix

* 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>
!crowdin upload

* fix(actions): add rusian

!crowdin upload

* docs: Update localizations from Crowdin (Pycord-Development#2526)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: fix hyphen-related grammar (Pycord-Development#2527)

!crowdin upload

* feat: implement `Guild.fetch_role` (Pycord-Development#2528)

* feat: implement `Guild.fetch_role`

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

* docs: add changelog entry

---------

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

!crowdin update

* fix(docs): fix encoding? tf

!crowdin upload

* fix(actions): try to fix docs action

* fix: sync en base translation

* fix(docs): fix speed breaker

!crowdin upload

* chore: do something precommit (Pycord-Development#2530)

* chore: do something precommit

* 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>

* docs: Update localizations from Crowdin (Pycord-Development#2531)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: Update localizations from Crowdin (Pycord-Development#2533)

Co-authored-by: Crowdin Bot <[email protected]>

* fic(actions): let actions run on dispatch

* fic(actions): manually dispatch workflows

* fix(actions): manually run pr checks

* chore(actions): auto approve

* [ci skip] chore(actions): delete branch automatically

* [ci skip] fix(actions): meow

* Update docs-localization-download.yml

* [ci skip] fix(actions): shush action

* [ci skip] fix(actions): i hate it here

* [ci skip] fix(actions): refresh pull

* docs: Update localizations from Crowdin (Pycord-Development#2539)

* docs: Update localizations from Crowdin

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

---------

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

* fix(actions): fix

* docs: Update localizations from Crowdin (Pycord-Development#2540)

* docs: Update localizations from Crowdin

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

---------

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

* [ci skip] fix(actions): fix ref

* docs: Update localizations from Crowdin (Pycord-Development#2541)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: Update localizations from Crowdin (Pycord-Development#2542)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: Update localizations from Crowdin (Pycord-Development#2544)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: Update localizations from Crowdin (Pycord-Development#2545)

Co-authored-by: Crowdin Bot <[email protected]>

* fix(actions): fix crowdin action, use bot to create pr

* fix(actions): fix crowdin action, use bot to create pr

* docs: Update localizations from Crowdin (Pycord-Development#2546)

* docs: Update localizations from Crowdin

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

---------

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

* [ci skip] chore(actions): update description

* chore(actions)!: rework actions (Pycord-Development#2547)

* Delete codeql.yml

* Create codeql.yml

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

* [ci skip] fix: update codeowners

* fix(actions): fix actions?

* fix(actions): fix actions!

* fix(actions): finer actions

* [ci skip] chore: update dependabot.yml

- We have grouped updates now
- Updates will only be checked weekly, to not spam

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

* [ci skip] fix: depandabot config fix

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

* chore: Update README.rst

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

* fix(actions): Action scheduling & path check for localization upload

- rescheduled codeql to sunday 00:00
- scheduled docs upload to monday 00:00

* [ci skip] chore: update readme

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

* [ci skip] fix: fix readme

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

* feat: release actions and other changes

* chore(actions): move sec check to action

* chore(actions): Update dependabot.yml

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

* ci(deps): bump pycord-development/execute-whitelist-action from 1.0.5 to 1.0.6 in the patch-version-bumps group (Pycord-Development#2552)

ci(deps): bump pycord-development/execute-whitelist-action

Bumps the patch-version-bumps group with 1 update: [pycord-development/execute-whitelist-action](https://github.com/pycord-development/execute-whitelist-action).


Updates `pycord-development/execute-whitelist-action` from 1.0.5 to 1.0.6
- [Release notes](https://github.com/pycord-development/execute-whitelist-action/releases)
- [Commits](Pycord-Development/execute-whitelist-action@v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: pycord-development/execute-whitelist-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-version-bumps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [ci skip] fix(deps-actions): update whitelist action

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

* feat(actions): seperate rdt localization build trigger through gha

* fix(docs): fix linkcheck issues

* [ci skip] fix: fix linkcheck again

* fix(releases): fix release builds & add new release system

* fix: fix eol issue

* fix: empty commit (Pycord-Development#2553)

* empty commit

* 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>

* fix(actions): use marketplace action

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

* fix(actions): re-add docs and discord step

* [ci skip] fix: add logo

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

* [ci skip] fix: replace with repo image

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

* docs: Update localizations from Crowdin (Pycord-Development#2559)

Co-authored-by: Crowdin Bot <[email protected]>

* docs: Update localizations from Crowdin (Pycord-Development#2560)

Co-authored-by: Crowdin Bot <[email protected]>

* chore(deps-dev): update mypy requirement from ~=1.11.1 to ~=1.11.2 in the major-version-bumps group (Pycord-Development#2562)

chore(deps-dev): update mypy requirement

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.

Updates `mypy` to 1.11.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  dependency-group: major-version-bumps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci(deps): bump ribtoks/tdg-github-action from 0.4.11.pre.beta to 0.4.12.pre.beta in the patch-version-bumps group (Pycord-Development#2563)

ci(deps): bump ribtoks/tdg-github-action

Bumps the patch-version-bumps group with 1 update: [ribtoks/tdg-github-action](https://github.com/ribtoks/tdg-github-action).


Updates `ribtoks/tdg-github-action` from 0.4.11.pre.beta to 0.4.12.pre.beta
- [Release notes](https://github.com/ribtoks/tdg-github-action/releases)
- [Commits](ribtoks/tdg-github-action@v0.4.11-beta...v0.4.12-beta)

---
updated-dependencies:
- dependency-name: ribtoks/tdg-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-version-bumps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: EntitlementIterator behavior and type-hinting (Pycord-Development#2555)

* fix: EntitlementIterator behaviour and type-hinting

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

* simplify if's

* add changelog entry

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

* revert missclick

---------

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

* feat: Member.display_banner (Pycord-Development#2556)

Signed-off-by: Matty Widdop <[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: Lala Sabathil <[email protected]>
Co-authored-by: Dorukyum <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: YoggieS <[email protected]>
Co-authored-by: plun1331 <[email protected]>

* fix: Missing slots attributes, wrong variable type, duplicate http methods (Pycord-Development#2500)

* remove duplicates, fix unused parameter

* polls state storage typehint fix

* fix RawReactionClearEmojiEvent __slots__

* fix RawMessagePollVoteEvent __slots__

* fix ForumChannel.default_sort_order type

the value were actually int instead of SortOrder enum

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

* changelog

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

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

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

* Apply suggestions from code review

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

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

---------

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

* docs: fix ext.bridge menu behavior (Pycord-Development#2566)

change data to autoclass

* feat: add missing AppInfo attributes (Pycord-Development#2520)

* feat: add missing AppInfo attributes

* fix: add `install_params` to slots

* docs: add related documentation

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

* fix: typing

* docs: fix spacing

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

* fix: add AppInstallParams to `__all__`

* fix: invalid scopes typehint

* fix: docs types formatting

* docs: add changelog entry

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

* feat: deprecate `AppInfo.summary`

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

* docs: fix changelog to adhere to conventions

* fix: properly deprecate `summary`

* docs: fix `tags` typing

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

* docs: fix summary formatting

---------

Signed-off-by: JustaSqu1d <[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]>

* chore(deps-dev): update pylint requirement from ~=3.2.6 to ~=3.2.7 in the major-version-bumps group (Pycord-Development#2567)

chore(deps-dev): update pylint requirement

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.

Updates `pylint` to 3.2.7
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.6...v3.2.7)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  dependency-group: major-version-bumps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: allow PartialMessage to have PartialMessageable as a channel (Pycord-Development#2568)

* fix: allow PartialMessage to have PartialMessageable as a channel

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

* Update CHANGELOG.md

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

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

---------

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

* docs: Update localizations from Crowdin (Pycord-Development#2570)

Co-authored-by: Crowdin Bot <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: JustaSqu1d <[email protected]>
Signed-off-by: UK <[email protected]>
Signed-off-by: plun1331 <[email protected]>
Signed-off-by: Dorukyum <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Lala Sabathil <[email protected]>
Signed-off-by: Matty Widdop <[email protected]>
Signed-off-by: Readeem <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JustaSqu1d <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dorukyum <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: UK <[email protected]>
Co-authored-by: Icebluewolf <[email protected]>
Co-authored-by: Timo <[email protected]>
Co-authored-by: Lala Sabathil <[email protected]>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: Bruno Alvalat <[email protected]>
Co-authored-by: Paillat <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Nyuw~ <[email protected]>
Co-authored-by: YoggieS <[email protected]>
Co-authored-by: Matty Widdop <[email protected]>
Co-authored-by: Readeem <[email protected]>
Co-authored-by: Readeem <[email protected]>
baribarton pushed a commit to baribarton/pycord-no-potential-reconnect that referenced this pull request Oct 24, 2024
* patch enums

* cl

* document enum choice/autocomplete behaviour

* Update discord/commands/options.py

Co-authored-by: Icebluewolf <[email protected]>
Signed-off-by: UK <[email protected]>

* clarify docstring and warn

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

* import

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

---------

Signed-off-by: UK <[email protected]>
Co-authored-by: Icebluewolf <[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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants