Implement voice region changing for voice channels

This commit is contained in:
Tarek
2021-04-01 09:49:45 +02:00
committed by GitHub
parent 3576e2ee01
commit 6524869ddd
4 changed files with 34 additions and 5 deletions

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: