Skip to content

Commit 741851b

Browse files
fix: add entitlements to slots of Interaction (Pycord-Development#2345)
* fix: add entitlements to slots * chore: add changelog entry * style(pre-commit): auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9683629 commit 741851b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ These changes are available on the `master` branch, but have not yet been releas
232232
([#2337](https://github.com/Pycord-Development/pycord/pull/2337))
233233
- Fixed `TypeError` due to `(Sync)WebhookMessage._thread_id` being set to `None`.
234234
([#2343](https://github.com/Pycord-Development/pycord/pull/2343))
235+
- Fixed `AttributeError` due to `entitlements` not being included in
236+
`Interaction.__slots__`.
237+
([#2345](https://github.com/Pycord-Development/pycord/pull/2345))
235238

236239
## [2.4.1] - 2023-03-20
237240

discord/interactions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class Interaction:
148148
"token",
149149
"version",
150150
"custom_id",
151+
"entitlements",
151152
"_channel_data",
152153
"_message_data",
153154
"_guild_data",

0 commit comments

Comments
 (0)