Skip to content

Commit be236bf

Browse files
authored
Merge branch 'master' into cv2_fixes
2 parents e830df4 + d5d162a commit be236bf

31 files changed

+825
-124
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: true
22
contact_links:
33
- name: Ask a question
44
about: Ask questions and discuss with other users of the library.

.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
cache: "pip"

.github/workflows/docs-json-export.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id: checkout
1616
uses: actions/checkout@v5
1717
- name: Set up Python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
id: setup-python
2020
with:
2121
python-version: "3.13"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
fetch-tags: true
2121
- name: "Install Python"
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: "3.13"
2525
cache: "pip"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
fetch-tags: true
2626
- name: "Install Python"
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: "3.13"
3030
cache: "pip"

.github/workflows/lib-checks.yml

Lines changed: 5 additions & 5 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
cache: "pip"
@@ -54,7 +54,7 @@ jobs:
5454
- name: "Checkout Repository"
5555
uses: actions/checkout@v5
5656
- name: "Setup Python"
57-
uses: actions/setup-python@v5
57+
uses: actions/setup-python@v6
5858
with:
5959
python-version: "3.13"
6060
cache: "pip"
@@ -72,7 +72,7 @@ jobs:
7272
- name: "Checkout Repository"
7373
uses: actions/checkout@v5
7474
- name: "Setup Python"
75-
uses: actions/setup-python@v5
75+
uses: actions/setup-python@v6
7676
with:
7777
python-version: "3.13"
7878
cache: "pip"
@@ -96,7 +96,7 @@ jobs:
9696
- name: "Checkout Repository"
9797
uses: actions/checkout@v5
9898
- name: "Setup Python"
99-
uses: actions/setup-python@v5
99+
uses: actions/setup-python@v6
100100
with:
101101
python-version: "3.13"
102102
cache: "pip"
@@ -133,7 +133,7 @@ jobs:
133133
- name: "Checkout Repository"
134134
uses: actions/checkout@v5
135135
- name: "Setup Python"
136-
uses: actions/setup-python@v5
136+
uses: actions/setup-python@v6
137137
with:
138138
python-version: ${{ matrix.python-version }}
139139
cache: "pip"

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
git checkout $VERSION_BRANCH
124124
- name: "Setup Python"
125125
id: python-setup
126-
uses: actions/setup-python@v5
126+
uses: actions/setup-python@v6
127127
with:
128128
python-version: "3.13"
129129
cache: "pip"
@@ -198,7 +198,7 @@ jobs:
198198
python3 -m build --sdist
199199
python3 -m build --wheel
200200
- name: "Create GitHub Release"
201-
uses: softprops/[email protected].2
201+
uses: softprops/[email protected].3
202202
id: gh-release
203203
with:
204204
tag_name: "v${{ inputs.version }}"
@@ -215,7 +215,7 @@ jobs:
215215
target_commitish: ${{ github.ref_name }}
216216

217217
- name: "Publish package distributions to PyPI"
218-
uses: pypa/gh-action-pypi-publish@v1.12.4
218+
uses: pypa/gh-action-pypi-publish@v1.13.0
219219
env:
220220
name: "pypi"
221221
url: "https://pypi.org/p/py-cord"

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ These changes are available on the `master` branch, but have not yet been releas
1717
([#2711](https://github.com/Pycord-Development/pycord/pull/2711))
1818
- Added `RawMessageUpdateEvent.new_message` - message update events now contain full
1919
message objects ([#2780](https://github.com/Pycord-Development/pycord/pull/2780))
20+
- Added support for setting guild-specific `avatar`, `banner`, and `bio` for the bot
21+
user through `Member.edit`.
22+
([#2908](https://github.com/Pycord-Development/pycord/pull/2908))
23+
- Added support for select default values.
24+
([#2899](https://github.com/Pycord-Development/pycord/pull/2899))
25+
- Adds a new generic parameter to selects to type `ui.Select.values` return type.
26+
- Adds `SelectDefaultValue` object to create select default values.
27+
- Adds `SelectDefaultValueType` enum.
28+
- Adds pre-typed and pre-constructed with select_type `ui.Select` aliases for the
29+
different select types: `ui.StringSelect`, `ui.UserSelect`, `ui.RoleSelect`,
30+
`ui.MentionableSelect`, and `ui.ChannelSelect`.
2031

2132
### Changed
2233

@@ -26,6 +37,14 @@ These changes are available on the `master` branch, but have not yet been releas
2637
([#2808](https://github.com/Pycord-Development/pycord/pull/2808))
2738
- Unbound `raw` reference in `parse_message_update` causing errors on message updates.
2839
([#2905](https://github.com/Pycord-Development/pycord/pull/2905))
40+
- `view=None` in various methods causing an AttributeError.
41+
([#2915](https://github.com/Pycord-Development/pycord/pull/2915))
42+
- `View.message` being `None` when it had not been interacted with yet.
43+
([#2916](https://github.com/Pycord-Development/pycord/pull/2916))
44+
- Fixed a crash when processing message edit events while message cache was disabled.
45+
([#2924](https://github.com/Pycord-Development/pycord/pull/2924))
46+
- Fixed OPUS Decode Error when recording audio.
47+
([#2925](https://github.com/Pycord-Development/pycord/pull/2925))
2948

3049
### Removed
3150

discord/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class User(Snowflake, Protocol):
235235
name: str
236236
discriminator: str
237237
global_name: str | None
238-
avatar: Asset
238+
avatar: Asset | None
239239
bot: bool
240240

241241
@property

0 commit comments

Comments
 (0)