diff options
| author | Nadir Chowdhury <[email protected]> | 2021-04-03 01:10:31 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-02 20:10:31 -0400 |
| commit | e8a9726ad28db64f9981206d4d6c4521f4ea3d91 (patch) | |
| tree | 714f7032a19308e32002cff09c3b23c03241aac1 | |
| parent | Implement voice region changing for voice channels (diff) | |
| download | discord.py-e8a9726ad28db64f9981206d4d6c4521f4ea3d91.tar.xz discord.py-e8a9726ad28db64f9981206d4d6c4521f4ea3d91.zip | |
[docs] Add rtc_region parameter for Guild.create_voice_channel
| -rw-r--r-- | discord/guild.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/guild.py b/discord/guild.py index c9f47db4..4b7ade89 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -952,6 +952,11 @@ class Guild(Hashable): The channel's preferred audio bitrate in bits per second. user_limit: :class:`int` The channel's limit for number of members that can be in a voice channel. + rtc_region: Optional[:class:`VoiceRegion`] + The region for the voice channel's voice communication. + A value of ``None`` indicates automatic voice region detection. + + .. versionadded:: 1.7 Raises ------ |