Skip to content

Commit

Permalink
Remove duplicate attribute setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorukyum authored Jun 22, 2022
1 parent 7cd61ee commit 2d2a376
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion discord/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def _from_data(self, data: ThreadPayload):

# This data may be missing depending on how this object is being created
self.owner_id = int(data.get("owner_id")) if data.get("owner_id", None) is not None else None
self.owner_id = data.get("owner_id", None)
self.last_message_id = _get_as_snowflake(data, "last_message_id")
self.slowmode_delay = data.get("rate_limit_per_user", 0)
self.message_count = data.get("message_count", None)
Expand Down

0 comments on commit 2d2a376

Please sign in to comment.