Skip to content

Commit 75489b0

Browse files
committed
fix(threads): Fixed private threads
1 parent dd39751 commit 75489b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/channel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,8 +2030,10 @@ def _channel_factory(channel_type):
20302030
return StageChannel, value
20312031
elif value is ChannelType.public_thread:
20322032
return ThreadChannel, value
2033+
elif value is ChannelType.private_thread:
2034+
return ThreadChannel, value
20332035
elif value is ChannelType.forum_channel:
2034-
return ForumChannel, value
2036+
return ForumChannel, value
20352037
else:
20362038
return None, value
20372039

0 commit comments

Comments
 (0)