Document user_limit argument in StageChannel.edit()

This commit is contained in:
Jakub Kuczys 2023-05-07 15:22:38 +02:00 committed by GitHub
parent 23352fba79
commit 16f1760dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1687,6 +1687,7 @@ class StageChannel(VocalGuildChannel):
*, *,
name: str = ..., name: str = ...,
nsfw: bool = ..., nsfw: bool = ...,
user_limit: int = ...,
position: int = ..., position: int = ...,
sync_permissions: int = ..., sync_permissions: int = ...,
category: Optional[CategoryChannel] = ..., category: Optional[CategoryChannel] = ...,
@ -1726,6 +1727,8 @@ class StageChannel(VocalGuildChannel):
The new channel's position. The new channel's position.
nsfw: :class:`bool` nsfw: :class:`bool`
To mark the channel as NSFW or not. To mark the channel as NSFW or not.
user_limit: :class:`int`
The new channel's user limit.
sync_permissions: :class:`bool` sync_permissions: :class:`bool`
Whether to sync permissions with the channel's new or pre-existing Whether to sync permissions with the channel's new or pre-existing
category. Defaults to ``False``. category. Defaults to ``False``.