Implement voice region changing for voice channels

This commit is contained in:
Tarek
2021-04-01 03:49:45 -04:00
committed by GitHub
parent 3576e2ee01
commit 6524869ddd
4 changed files with 34 additions and 5 deletions
+7
View File
@@ -257,6 +257,13 @@ class GuildChannel:
except KeyError:
pass
try:
rtc_region = options.pop('rtc_region')
except KeyError:
pass
else:
options['rtc_region'] = None if rtc_region is None else str(rtc_region)
lock_permissions = options.pop('sync_permissions', False)
try: