List Voice Regions

ORCAcode discord_list_voice_regions(struct discord *client, struct discord_voice_region ***ret)

Get voice regions that can be used when setting a voice or stage channel’s rtc_region

Parameters
  • client – the client created with discord_init()

  • ret – if successful, a null-terminated list of discord_voice_region, that should be free’d with discord_voice_region_list_free()

Returns

ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary