Skip to content

Commit d8b79ff

Browse files
authored
Update guild.py
Signed-off-by: Lumabots <[email protected]>
1 parent bc2fef9 commit d8b79ff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

discord/guild.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,6 @@ async def create_category(
16771677
overwrites: dict[Role | Member, PermissionOverwrite] = MISSING,
16781678
reason: str | None = None,
16791679
position: int = MISSING,
1680-
nsfw: bool = MISSING,
16811680
) -> CategoryChannel:
16821681
"""|coro|
16831682
@@ -1706,9 +1705,6 @@ async def create_category(
17061705
if position is not MISSING:
17071706
options["position"] = position
17081707

1709-
if nsfw is not MISSING:
1710-
options["nsfw"] = nsfw
1711-
17121708
data = await self._create_channel(
17131709
name,
17141710
overwrites=overwrites,

0 commit comments

Comments
 (0)