DiscordVoiceRegion

data class DiscordVoiceRegion(val id: String, val name: String, val optimal: Boolean, val deprecated: Boolean, val custom: Boolean)(source)

A representation of the Discord Voice Region structure.

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).

Constructors

Link copied to clipboard
constructor(id: String, name: String, optimal: Boolean, deprecated: Boolean, custom: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard