Skip to content

Commit 43d218e

Browse files
authored
Merge branch 'master' into typed-dict
2 parents 7efb6d8 + e4946ec commit 43d218e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ These changes are available on the `master` branch, but have not yet been releas
6060
([#2627](https://github.com/Pycord-Development/pycord/issues/2627))
6161
- Fixed `AttributeError` when sending polls with `PartialWebook`.
6262
([#2624](https://github.com/Pycord-Development/pycord/pull/2624))
63+
- Fixed `AttributeError` when accessing `Member.guild_permissions` for user installed
64+
apps. ([#2650](https://github.com/Pycord-Development/pycord/pull/2650))
6365

6466
### Changed
6567

discord/member.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,8 @@ def roles(self) -> list[Role]:
566566
role = g.get_role(role_id)
567567
if role:
568568
result.append(role)
569-
result.append(g.default_role)
569+
if g.default_role:
570+
result.append(g.default_role)
570571
result.sort()
571572
return result
572573

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools>=62.6,<=75.4.0",
3+
"setuptools>=62.6,<=75.5.0",
44
"setuptools-scm>=6.2,<=8.1.0",
55
]
66
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)