Add VoiceChannel.video_quality_mode

This commit is contained in:
z03h
2021-04-17 05:10:41 -07:00
committed by GitHub
parent fed259a83b
commit 304229071f
7 changed files with 85 additions and 3 deletions

View File

@@ -681,6 +681,7 @@ class HTTPClient:
'rate_limit_per_user',
'type',
'rtc_region',
'video_quality_mode',
)
payload = {k: v for k, v in options.items() if k in valid_keys}
return self.request(r, reason=reason, json=payload)
@@ -705,6 +706,7 @@ class HTTPClient:
'permission_overwrites',
'rate_limit_per_user',
'rtc_region',
'video_quality_mode',
)
payload.update({k: v for k, v in options.items() if k in valid_keys and v is not None})