Add support for setting voice channel status

This commit is contained in:
Andrin
2023-12-26 11:32:21 +01:00
committed by GitHub
parent d25b574b32
commit 9ce733321b
3 changed files with 20 additions and 0 deletions

View File

@ -1370,6 +1370,7 @@ class VoiceChannel(VocalGuildChannel):
rtc_region: Optional[str] = ...,
video_quality_mode: VideoQualityMode = ...,
slowmode_delay: int = ...,
status: Optional[str] = ...,
reason: Optional[str] = ...,
) -> VoiceChannel:
...
@ -1429,6 +1430,11 @@ class VoiceChannel(VocalGuildChannel):
The camera video quality for the voice channel's participants.
.. versionadded:: 2.0
status: Optional[:class:`str`]
The new voice channel status. It can be up to 500 characters.
Can be ``None`` to remove the status.
.. versionadded:: 2.4
Raises
------