Skip to content

Commit

Permalink
fix: add entitlements to slots of Interaction (Pycord-Development…
Browse files Browse the repository at this point in the history
…#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>
  • Loading branch information
Dorukyum and pre-commit-ci[bot] authored Feb 1, 2024
1 parent 9683629 commit 741851b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ These changes are available on the `master` branch, but have not yet been releas
([#2337](https://github.com/Pycord-Development/pycord/pull/2337))
- Fixed `TypeError` due to `(Sync)WebhookMessage._thread_id` being set to `None`.
([#2343](https://github.com/Pycord-Development/pycord/pull/2343))
- Fixed `AttributeError` due to `entitlements` not being included in
`Interaction.__slots__`.
([#2345](https://github.com/Pycord-Development/pycord/pull/2345))

## [2.4.1] - 2023-03-20

Expand Down
1 change: 1 addition & 0 deletions discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class Interaction:
"token",
"version",
"custom_id",
"entitlements",
"_channel_data",
"_message_data",
"_guild_data",
Expand Down

0 comments on commit 741851b

Please sign in to comment.