Skip to content

Commit

Permalink
update from master (#5)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
20 people authored Sep 9, 2024
1 parent ad8b5bf commit 90e4aa5
Show file tree
Hide file tree
Showing 654 changed files with 492,372 additions and 637 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
min_python_version = 3.8
min_python_version = 3.9

# Incompatible with black see https://github.com/ambv/black/issues/315
ignore =
Expand Down
14 changes: 10 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
* @Pycord-Development/maintainers

/tests/ @Pycord-Development/maintain-tests
/discord/ext/testing/ @Pycord-Development/maintain-tests
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge
/.github/ @Pycord-Development/project-leads
/tests/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
/discord/ext/testing/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge @Pycord-Development/maintainers
/.github/ @Pycord-Development/maintainers @Lulalaby
/docs/locales/ @Pycord-Development/maintain-translations
/docs/build/locales/ @Pycord-Development/maintain-translations
/.github/workflows/docs-localization-download.yml @Pycord-Development/maintain-translations
/.github/workflows/docs-localization-upload.yml @Pycord-Development/maintain-translations
/crowdin.yml @Pycord-Development/maintain-translations
/requirements/_locale.txt @Pycord-Development/maintain-translations
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: Report broken or incorrect behaviour
labels: unconfirmed bug
labels: ["unconfirmed bug"]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature Request
description: Suggest a feature for this library
labels: feature request
labels: ["feature request"]
body:
- type: input
attributes:
Expand Down
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
groups:
minor-version-bumps:
update-types: ["minor"]
patch-version-bumps:
update-types: ["patch"]
major-version-bumps:
update-types: ["major"]
schedule:
interval: "daily"
commit-message:
Expand All @@ -10,6 +17,13 @@ updates:
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
groups:
minor-version-bumps:
update-types: ["minor"]
patch-version-bumps:
update-types: ["patch"]
major-version-bumps:
update-types: ["major"]
schedule:
interval: "daily"
commit-message:
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/check.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: "Analyze"
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["python"]
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: "Autobuild"
uses: github/codeql-action/autobuild@v3
- name: "Perform CodeQL Analysis"
uses: github/codeql-action/analyze@v3
59 changes: 59 additions & 0 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "Documentation Checks"

on:
push:
paths:
- "discord/**"
- "docs/**"
- "requirements/**"
- "*.toml"
- "*.py"
branches: [master]
pull_request:
paths:
- "discord/**"
- "docs/**"
- "requirements/"
- "*.toml"
- "*.py"
workflow_dispatch:
inputs:
with_linkcheck:
type: boolean
description: "Whether to run the linkcheck"
default: true
schedule:
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: write-all

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: "requirements/docs.txt"
check-latest: true
- name: Install dependencies
run: |
python -m pip install -U pip
pip install ".[docs]"
- name: "Check Links"
if: ${{ github.event_name == 'schedule' || inputs.with_linkcheck }}
run: |
cd docs
make linkcheck
- name: "Compile to html"
run: |
cd docs
make -e SPHINXOPTS="-D language='en'" html
Loading

0 comments on commit 90e4aa5

Please sign in to comment.