Skip to content

Commit 691a27c

Browse files
committed
fix(channel): correct deprecated decorator arguments in CategoryChannel
1 parent 966b528 commit 691a27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,7 @@ async def create_forum_channel(self, name: str, **options: Any) -> ForumChannel:
30673067
"""
30683068
return await self.guild.create_forum_channel(name, category=self, **options)
30693069

3070-
@utils.deprecated(since=2.7, removed=3.0)
3070+
@utils.deprecated(since="2.7", removed="3.0")
30713071
def is_nsfw(self) -> bool:
30723072
return False
30733073

0 commit comments

Comments
 (0)