Skip to content

Commit

Permalink
Add back category to CategoryChannel clone impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Soheab committed Oct 11, 2024
1 parent db06ceb commit 68c54f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2066,6 +2066,7 @@ async def clone(
self,
*,
name: Optional[str] = None,
category: Optional[CategoryChannel] = None,
reason: Optional[str] = None,
) -> CategoryChannel:
return await self._clone_impl({'nsfw': self.nsfw}, name=name, reason=reason)
Expand Down

0 comments on commit 68c54f7

Please sign in to comment.