Skip to content

Commit e2becae

Browse files
authored
fixed: message response_metadata user id (#1729)
1 parent bdc52f1 commit e2becae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/discord/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def _process_dict(cls, data: Dict[str, Any], client: "Client") -> Dict[str, Any]
275275
@property
276276
def user(self) -> "models.User":
277277
"""Get the user associated with this interaction."""
278-
return self.client.get_user(self.user_id)
278+
return self.client.get_user(self._user_id)
279279

280280

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

0 commit comments

Comments
 (0)