We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b5a85 commit d25be56Copy full SHA for d25be56
interactions/models/discord/channel.py
@@ -1900,6 +1900,10 @@ def parent_channel(self) -> Union[GuildText, "GuildForum"]:
1900
"""The channel this thread is a child of."""
1901
return self._client.cache.get_channel(self.parent_id)
1902
1903
+ @property
1904
+ def nsfw(self) -> bool:
1905
+ return self.parent_channel.nsfw
1906
+
1907
@property
1908
def parent_message(self) -> Optional["Message"]:
1909
"""The message this thread is a child of."""
0 commit comments