Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#3231](https://github.com/Pycord-Development/pycord/pull/3231))
- Allow `ForumTag` to be created without an emoji.
([#3245](https://github.com/Pycord-Development/pycord/pull/3245))
- Fix an attribute error when using `Invite.edit_target_users`.
([#3257](https://github.com/Pycord-Development/pycord/pull/3257))
- Fix a type error in `Poll.to_dict()` for closed polls.
([#3261](https://github.com/Pycord-Development/pycord/pull/3261))
- Fix an attribute error when accessing the `system` attribute on copied `User` objects.
Expand Down
2 changes: 1 addition & 1 deletion discord/invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ async def edit_target_users(self, target_users_file: File) -> None:
The invite is invalid or expired.
"""
await self._state.http.update_invite_target_users(
self.invite_code, target_users_file=target_users_file
self.code, target_users_file=target_users_file
)

async def fetch_target_users_job_status(self) -> InviteTargetUsersJobStatus:
Expand Down
Loading