Skip to content

Commit f5bcb84

Browse files
committed
Merge branch 'master' into viewless-components
2 parents df659f4 + d06725e commit f5bcb84

File tree

12 files changed

+216
-135
lines changed

12 files changed

+216
-135
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
* @Pycord-Development/pycord-next-contributors
2+
23
/.github @Lulalaby
34
/crowdin.yml @Pycord-Development/maintain-translations

.github/workflows/docs-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: "Checkout Repository"
3939
uses: actions/checkout@v5
4040
- name: "Setup Python"
41-
uses: actions/setup-python@v5
41+
uses: actions/setup-python@v6
4242
with:
4343
python-version: "3.13"
4444
- name: "Install uv"

.github/workflows/docs-localization-download.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: "Checkout Repository"
1818
uses: actions/checkout@v5
1919
- name: "Setup Python"
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: "3.13"
2323
- name: "Install uv"

.github/workflows/docs-localization-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: "Checkout Repository"
2323
uses: actions/checkout@v5
2424
- name: "Setup Python"
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.13"
2828
- name: "Install uv"

.github/workflows/lib-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: "Checkout Repository"
3535
uses: actions/checkout@v5
3636
- name: "Setup Python"
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.13"
4040
- name: "Install uv"
@@ -53,7 +53,7 @@ jobs:
5353
- name: "Checkout Repository"
5454
uses: actions/checkout@v5
5555
- name: "Setup Python"
56-
uses: actions/setup-python@v5
56+
uses: actions/setup-python@v6
5757
with:
5858
python-version: "3.13"
5959
- name: "Install uv"
@@ -73,7 +73,7 @@ jobs:
7373
- name: "Checkout Repository"
7474
uses: actions/checkout@v5
7575
- name: "Setup Python"
76-
uses: actions/setup-python@v5
76+
uses: actions/setup-python@v6
7777
with:
7878
python-version: "3.13"
7979
- name: "Install uv"

.github/workflows/sync-guild-features.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
fetch-depth: 0 # Fetch all history for all branches
2323
- name: "Setup Python"
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: "3.13"
2727
- name: "Install uv"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
exclude: \.(po|pot|yml|yaml)$
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.12.9
13+
rev: v0.12.11
1414
hooks:
1515
- id: ruff
1616
args: [ --fix ]

discord/chan/ART.txt

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

discord/chan/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import importlib.resources
2+
from contextlib import suppress
3+
4+
with (
5+
suppress(FileNotFoundError),
6+
importlib.resources.files(__package__).joinpath("ART.txt").open(encoding="utf-8") as f,
7+
):
8+
print(f.read())

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ version-file = "discord/_version.py"
8989
[tool.hatch.build.targets.wheel]
9090
only-packages = true
9191
packages = ["discord"]
92-
only-include = ["discord", "LICENSE", "pyproject.toml", "discord/bin/*.dll"]
93-
artifacts = ["discord/bin/*.dll"]
92+
only-include = ["discord", "LICENSE", "pyproject.toml", "discord/bin/*.dll", "discord/ibanner.txt", "discord/banner.txt", "discord/chan/ART.txt"]
93+
artifacts = ["discord/bin/*.dll", "discord/ibanner.txt", "discord/banner.txt", "discord/chan/ART.txt"]
9494

9595
[tool.hatch.build.targets.sdist]
9696
only-packages = true

0 commit comments

Comments
 (0)