Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
f3243bf
chore: add warning to readme
plun1331 May 9, 2025
de83d48
refactor!: properly type MISSING (#2)
VincentRPS May 10, 2025
b6512d2
Merge branch 'Pycord-Development:master' into master
VincentRPS May 13, 2025
32d932d
refactor: port over v3 rate limit code (#1)
VincentRPS May 13, 2025
61ba43a
Merge branch 'Pycord-Development:master' into master
Paillat-dev May 18, 2025
c1e22f3
feat: add banners (#9)
VincentRPS May 19, 2025
32ef1c8
Merge branch 'Pycord-Development:master' into master
Paillat-dev May 21, 2025
43ee782
chore: Start migration to uv & ruff & hatch (#4)
Paillat-dev May 29, 2025
961199c
Setup CHANGELOG.md (#6)
Paillat-dev May 29, 2025
109ca46
chore: update docs workflows to use 'uv' for dependency management (#33)
Paillat-dev May 30, 2025
5e605a4
chore: Merge upstream (#34)
Paillat-dev Jun 1, 2025
160f5f4
chore: update dependency groups and remove unused packages (#32)
Paillat-dev Jun 1, 2025
2078cef
chore: merge upstream repo (#37)
Paillat-dev Jun 28, 2025
3c196da
Update config.yml
Lulalaby Aug 3, 2025
215224c
:wrench: update CODEOWNERS to include package management related files
Paillat-dev Aug 3, 2025
253007b
Update .github/CODEOWNERS
Lulalaby Aug 3, 2025
aebb59a
chore: :wrench: update CODEOWNERS to include package management relat…
Lulalaby Aug 3, 2025
e85d528
Update CODEOWNERS
Lulalaby Aug 3, 2025
bcca819
:sparkles: add CI scripts for automatic guild features updates
Paillat-dev Aug 3, 2025
b5574c3
:sparkles: add automated linting and formatting functions using ruff
Paillat-dev Aug 3, 2025
09f4d01
:sparkles: enhance CI configuration to fetch full history for all bra…
Paillat-dev Aug 3, 2025
92b3360
:sparkles: add fetch command for branch updates in PR processing
Paillat-dev Aug 3, 2025
976eb6c
remove comment
Paillat-dev Aug 3, 2025
e526c6f
feat: :sparkles: add CI scripts for automatic guild features updates …
Lulalaby Aug 3, 2025
67cd308
Update guild features
github-actions[bot] Aug 3, 2025
dacdc70
Update guild features (#52)
Lulalaby Aug 3, 2025
a761056
chore: :memo: update license format in pyproject.toml (#2824)
Paillat-dev Jul 7, 2025
bbed889
docs: :memo: Fix malformed hyperlink in CHANGELOG.md number 2 (#2806)
Paillat-dev Jul 21, 2025
9a5554f
feat: components v2 & `View` improvements (#2707)
NeloBlivion Jul 21, 2025
26a9420
fix: 4006 voice crashes and upgrade to voice v8 (#2812)
DA-344 Jul 25, 2025
3eb9923
fix: :bug: Fix missing self. attribution in File component (#2843)
Paillat-dev Aug 1, 2025
ca6bcca
fix: :bug: Fix issue in cv2 example (#2842)
Paillat-dev Aug 2, 2025
6fe0978
docs: :memo: update docstrings for Asset and Attachment classes to cl…
Paillat-dev Aug 2, 2025
4f3a729
fix: :bug: Issue in `@option` where some annotations could not be use…
Paillat-dev Aug 2, 2025
2036257
feat: allow conversion to Member in MentionableConverter (#2775)
Lumabots Aug 2, 2025
cdb9628
feat: :sparkles: Add missing feature flags to `Guild.edit` (#2672)
Paillat-dev Aug 2, 2025
c7da01f
feat(translations): add turkish
Lulalaby Aug 2, 2025
c706edc
docs: Update localizations from Crowdin (#2846)
NyuwBot Aug 2, 2025
b27b662
feat(commands): add support for typing.Literal[...] as command choice…
Lumabots Aug 2, 2025
94ec8f9
fix: retain original File item urls for editing (#2847)
NeloBlivion Aug 2, 2025
30e032c
feat: ✨ Add support for role gradient colors in Role (#2818)
Paillat-dev Aug 2, 2025
16058a9
feat: :sparkles: add Nameplate class and integration (#2817)
Paillat-dev Aug 2, 2025
2dfe1dc
feat: Added support for emoji aliases like `:smile:` in PartialEmoji.…
Lulalaby Aug 2, 2025
800b65d
Update readthedocs.yml
Lulalaby Aug 3, 2025
0c6a48e
chore(ci): update execute-whitelist-action
Lulalaby Aug 3, 2025
d9eda95
feat: added Interaction.attachment_size_limit (#2854)
hich4t Aug 5, 2025
9e23f4b
feat: Replaced useless `cached_property` with `property` and moved to…
RiccardoVaccari Aug 6, 2025
d151315
fix: support new voice encryption modes (#2651)
NeloBlivion Aug 7, 2025
c72b628
:arrow_up: Upgrade deps
Paillat-dev Aug 18, 2025
cdc56a5
:rotating_light: Fix ruff warnings and format code
Paillat-dev Aug 18, 2025
7171fae
:adhesive_bandage: Fix import
Paillat-dev Aug 18, 2025
c031e3a
Add files via upload
Lulalaby Aug 28, 2025
93613ad
Delete .github/dependabot.yml
Lulalaby Aug 28, 2025
57aeccb
Update renovate.json
Lulalaby Aug 28, 2025
4e1af42
chore(deps): update github packages (#63)
renovate[bot] Aug 28, 2025
3897db6
Update execute-whitelist-action to v2.0.0
Lulalaby Aug 28, 2025
d247ff7
chore(deps): update github packages (major) (#66)
renovate[bot] Aug 28, 2025
470edba
Enable lock file maintenance in renovate.json
Lulalaby Aug 28, 2025
2c2c7b2
chore: Lock file maintenance (#68)
renovate[bot] Aug 28, 2025
df0867b
chore(deps): upgrade dependency typing-extensions to v4.15.0 (#78)
renovate[bot] Aug 28, 2025
7e165ee
chore(deps): upgrade dependency pre-commit to v4.3.0 (#72)
renovate[bot] Aug 28, 2025
aa50a36
chore(deps): upgrade dependency pytest-asyncio to ~=0.26.0 (#74)
renovate[bot] Aug 28, 2025
a28912f
chore(deps): upgrade dependency myst-parser to v4.0.1 (#69)
renovate[bot] Aug 28, 2025
8efb531
chore(deps): upgrade dependency sphinxext-opengraph to v0.12.0 (#77)
renovate[bot] Aug 28, 2025
00f7927
chore(deps): upgrade dependency pytest to ~=8.4.1 (#73)
renovate[bot] Aug 28, 2025
7518ebd
chore(deps): upgrade dependency sphinx-intl to v2.3.2 (#70)
renovate[bot] Aug 28, 2025
68b0ca7
chore(deps): upgrade dependency mypy to ~=1.17.1 (#71)
renovate[bot] Aug 28, 2025
b36e1d4
chore(deps): upgrade dependency sphinx-autodoc-typehints to v2.5.0 (#76)
renovate[bot] Aug 28, 2025
e3098da
chore(deps): update lock file (#82)
renovate[bot] Aug 28, 2025
c2cf62f
chore: :wrench: Disable pre-commit prs autofix (#83)
Paillat-dev Aug 28, 2025
f9f3f33
chore(deps): upgrade dependency sphinxext-opengraph to v0.13.0 (#84)
renovate[bot] Aug 29, 2025
a4074aa
Merge branch 'master' into merge-master
Paillat-dev Aug 31, 2025
366c547
Merge branch 'master' into merge-master
Paillat-dev Aug 31, 2025
52a069b
chore: Merge upstream (#62)
VincentRPS Aug 31, 2025
7c7a495
chore: :pushpin: Magic (#85)
Paillat-dev Aug 31, 2025
6b8fe08
chore: Update guild features (#86)
github-actions[bot] Sep 1, 2025
0dda859
chore(deps): upgrade crowdin/github-action action to v2.11.0 (#88)
renovate[bot] Sep 3, 2025
e7473b6
fix: codeowner file
Lulalaby Sep 3, 2025
c12ad1a
chore(deps): update lock file (#91)
renovate[bot] Sep 3, 2025
72a6823
feat: :sparkles: Add magnificent art (#90)
Paillat-dev Sep 3, 2025
87e80fa
feat: :wrench: Enable pre-commit autoupdate from renovate (#92)
Paillat-dev Sep 3, 2025
d58ea74
chore(deps): upgrade pre-commit hook astral-sh/ruff-pre-commit to v0.…
renovate[bot] Sep 3, 2025
fb932e0
emojis
Paillat-dev Sep 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 2 additions & 10 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
* @Pycord-Development/maintainers
* @Pycord-Development/pycord-next-contributors

/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
/.github @Lulalaby
/crowdin.yml @Pycord-Development/maintain-translations
/requirements/_locale.txt @Pycord-Development/maintain-translations
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: Ask a question
about: Ask questions and discuss with other users of the library.
url: https://github.com/Pycord-Development/pycord/discussions
- name: Main Library
about: Please use the main library. Pycord-next is under heavy development.
url: https://github.com/Pycord-Development/pycord
- name: Discord Server
about: Use our official Discord server to ask for help and questions as well.
url: https://pycord.dev/discord
31 changes: 0 additions & 31 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
language: ["python"]
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v3
with:
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
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: "Install uv"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev --group docs
- name: "Check Links"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
if: ${{ github.event_name == 'schedule' || inputs.with_linkcheck }}
run: |
cd docs
make linkcheck
- name: "Compile to html"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
run: |
cd docs
make -e SPHINXOPTS="-D language='en'" html
27 changes: 14 additions & 13 deletions .github/workflows/docs-localization-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,33 @@ jobs:
pr_id: ${{ steps.convert_outputs.outputs.pr_id }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
fetch-tags: true
- name: "Install Python"
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/_locale.txt"
- name: "Install Dependencies"
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements/_locale.txt
pip install .[speed,voice,docs]
- name: "Install uv"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev --group docs --extra speed --extra voice
- name: "Get locales"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
run: |
make html
sphinx-build -b gettext . ./build/locales
working-directory: ./docs
- name: "Build locales"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
run:
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
working-directory: ./docs
- name: "Crowdin"
id: crowdin
uses: crowdin/github-action@v2.7.0
uses: crowdin/github-action@v2.11.0
with:
upload_sources: false
upload_translations: false
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
environment: translations
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Refresh Pull"
run: |
git fetch --all
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/docs-localization-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,32 @@ jobs:
environment: translations
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
fetch-tags: true
- name: "Install Python"
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/_locale.txt"
- name: "Install Dependencies"
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements/_locale.txt
pip install .[speed,voice,docs]
- name: "Install uv"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev --group docs --extra speed --extra voice
- name: "Get locales"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
run: |
make html
sphinx-build -b gettext . ./build/locales
working-directory: ./docs
- name: "Build locales"
env:
SPHINXBUILD: ${{ github.workspace }}/.venv/bin/sphinx-build
run:
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
working-directory: ./docs
- name: "Crowdin"
uses: crowdin/github-action@v2.7.0
uses: crowdin/github-action@v2.11.0
with:
upload_sources: true
upload_translations: false
Expand Down
117 changes: 27 additions & 90 deletions .github/workflows/lib-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,79 +32,56 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/dev.txt"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: "Install uv"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev
- name: "Run codespell"
run:
codespell --ignore-words-list="groupt,nd,ot,ro,falsy,BU" \
uv run codespell --ignore-words-list="groupt,nd,ot,ro,falsy,BU" \
--exclude-file=".github/workflows/codespell.yml"
bandit:
if: ${{ github.event_name != 'schedule' }}
ruff:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/dev.txt"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: "Run bandit"
run: bandit --recursive --skip B101,B104,B105,B110,B307,B311,B404,B603,B607 .
pylint:
if: ${{ github.event_name != 'schedule' }}
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup Python"
uses: actions/setup-python@v5
- name: "Install uv"
uses: astral-sh/setup-uv@v6
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/dev.txt"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: "Setup cache"
id: cache-pylint
uses: actions/cache@v4
with:
path: .pylint.d
key: pylint
- name: "Run pylint"
run: pylint discord/ --exit-zero
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev
- name: "Run ruff linter check"
run: uv run ruff check discord/
- name: "Run ruff formatter check"
run: uv run ruff format --check discord/
mypy:
if: ${{ github.event_name != 'schedule' }}
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "requirements/dev.txt"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: "Install uv"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --no-python-downloads --group dev
- name: "Setup cache"
id: cache-mypy
uses: actions/cache@v4
Expand All @@ -115,44 +92,4 @@ jobs:
id: cache-dir-mypy
run: mkdir -p -v .mypy_cache
- name: "Run mypy"
run: mypy --non-interactive discord/
pytest:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
- { python-version: "3.9", os: "macos-latest" }
include:
- { python-version: "3.9", os: "macos-13" }
runs-on: ${{ matrix.os }}
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "requirements/dev.txt"
check-latest: true
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements/dev.txt
- name: "Setup cache"
id: cache-pytest
uses: actions/cache@v4
with:
path: .pytest_cache
key: ${{ matrix.os }}-${{ matrix.python-version }}-pytest
- name: "Lint with flake8"
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics
run: uv run mypy --non-interactive discord/
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Check Semantic Pull Request"
uses: amannn/action-semantic-pull-request@v5.5.3
uses: amannn/action-semantic-pull-request@v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 2 additions & 13 deletions .github/workflows/readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,11 @@ jobs:
environment: documentation
strategy:
matrix:
rdt_projects: [
"pycord-spanish",
"pycord-japanese",
"pycord-brazilian",
"pycord-russian",
"pycord-german",
"pycord-hindi",
"pycord-korean",
"pycord-italian",
"pycord-chinese",
"pycord-french"
]
rdt_projects: ["pycord-spanish", "pycord-japanese", "pycord-brazilian", "pycord-russian", "pycord-german", "pycord-hindi", "pycord-korean", "pycord-italian", "pycord-chinese", "pycord-french", "pyord-turkish"]
steps:
- name: "Trigger RDT ${{ matrix.rdt_projects }}"
run: |
PROJECT=${{ matrix.rdt_projects }}
curl --location --request POST "https://readthedocs.org/api/v3/projects/$PROJECT/versions/master/builds/" \
--header 'Content-Type: application/json' \
--header "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}"
--header "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}"
Loading
Loading