mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add support for setting voice channel status
This commit is contained in:
@ -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
|
||||
------
|
||||
|
Reference in New Issue
Block a user