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 93241f3 commit 24108a9Copy full SHA for 24108a9
discord/channel.py
@@ -2839,7 +2839,6 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
2839
"name",
2840
"id",
2841
"guild",
2842
- "nsfw",
2843
"_state",
2844
"position",
2845
"_overwrites",
@@ -3076,12 +3075,12 @@ def is_nsfw(self) -> bool:
3076
3075
3077
# TODO: Remove in 3.0
3078
+ @property
3079
@utils.deprecated(
3080
since="2.7",
3081
removed="3.0",
3082
reference="Category NSFW was never supported by the API.",
3083
)
3084
- @property
3085
def nsfw(self) -> bool:
3086
return False
3087
0 commit comments