Skip to content

Commit

Permalink
fixed: message response_metadata user id (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
retr0-init authored Aug 12, 2024
1 parent bdc52f1 commit e2becae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/models/discord/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _process_dict(cls, data: Dict[str, Any], client: "Client") -> Dict[str, Any]
@property
def user(self) -> "models.User":
"""Get the user associated with this interaction."""
return self.client.get_user(self.user_id)
return self.client.get_user(self._user_id)


@attrs.define(eq=False, order=False, hash=False, kw_only=False)
Expand Down

0 comments on commit e2becae

Please sign in to comment.