Skip to content

Commit 002af04

Browse files
authored
Merge branch 'master' into slotscheck
2 parents b3a2cc0 + 72a6823 commit 002af04

File tree

8 files changed

+1376
-1294
lines changed

8 files changed

+1376
-1294
lines changed

.github/CODEOWNERS

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
working-directory: ./docs
4242
- name: "Crowdin"
4343
id: crowdin
44-
uses: crowdin/github-action@v2.10.0
44+
uses: crowdin/github-action@v2.11.0
4545
with:
4646
upload_sources: false
4747
upload_translations: false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
4646
working-directory: ./docs
4747
- name: "Crowdin"
48-
uses: crowdin/github-action@v2.10.0
48+
uses: crowdin/github-action@v2.11.0
4949
with:
5050
upload_sources: true
5151
upload_translations: false

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())

discord/types/guild.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ class UnavailableGuild(TypedDict):
187187
"ROLE_ICONS",
188188
"ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE",
189189
"ROLE_SUBSCRIPTIONS_ENABLED",
190+
"ROLE_SUBSCRIPTIONS_ENABLED_FOR_PURCHASE",
191+
"SERVER_PROFILES_TEST",
190192
"SEVEN_DAY_THREAD_ARCHIVE",
191193
"SHARD",
192194
"SHARED_CANVAS_FRIENDS_AND_FAMILY_TEST",

pyproject.toml

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

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

uv.lock

Lines changed: 1289 additions & 1289 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)