Skip to content

Commit f10ccf4

Browse files
authored
Update discord/events/thread.py
Signed-off-by: Vincent Jose <[email protected]>
1 parent 802b6fc commit f10ccf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/events/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async def __load__(cls, data: ThreadUpdateEvent, state: ConnectionState) -> Self
229229

230230
thread = guild.get_thread(raw.thread_id)
231231
if thread:
232-
self.old = thread
232+
self.old = copy(thread)
233233
await thread._update(thread)
234234
if thread.archived:
235235
guild._remove_thread(cast(Snowflake, raw.thread_id))

0 commit comments

Comments
 (0)