DiscordVoiceRegion

constructor(id: String, name: String, optimal: Boolean, deprecated: Boolean, custom: Boolean)(source)

Parameters

id

Unique id for the region.

name

Name of the region.

optimal

True for a single server that is closest to the current user's client.

deprecated

Whether this is a deprecated voice server (avoid switching to these).

custom

Whether this is a custom voice region (used for events/etc).