I am looking for a way to change the region of the voice channel using discord.py But I haven't found anything yet.
Thanks to the people who helped me discover the answer.
The valid solution is:
await channel.edit(rtc_region="region's name")
for regions that contain 2 words, should be written like this:
await channel.edit(rtc_region="us-central")
instead of Hong Kong and South Africa, it should be written like this:
await channel.edit(rtc_region="southafrica")
await channel.edit(rtc_region="hongkong")