Skip to content

Commit 24108a9

Browse files
committed
Update channel.py
1 parent 93241f3 commit 24108a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

discord/channel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,6 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
28392839
"name",
28402840
"id",
28412841
"guild",
2842-
"nsfw",
28432842
"_state",
28442843
"position",
28452844
"_overwrites",
@@ -3076,12 +3075,12 @@ def is_nsfw(self) -> bool:
30763075

30773076
# TODO: Remove in 3.0
30783077

3078+
@property
30793079
@utils.deprecated(
30803080
since="2.7",
30813081
removed="3.0",
30823082
reference="Category NSFW was never supported by the API.",
30833083
)
3084-
@property
30853084
def nsfw(self) -> bool:
30863085
return False
30873086

0 commit comments

Comments
 (0)