Implement voice region changing for voice channels

This commit is contained in:
Tarek authored and GitHub committed 2021-04-01 03:49:45 -04:00
1 parent 3576e2ee01
commit 6524869ddd
4 files changed
+34 -5

No files matched your search

+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: