Update VoiceRegion model (#1030)

This commit is contained in:
Still Hsu
2018-04-22 02:43:00 +08:00
committed by Christopher F
parent c618cb3ccd
commit 510f4745ea
3 changed files with 21 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
namespace Discord
namespace Discord
{
public interface IVoiceRegion
{
@@ -10,9 +10,9 @@
bool IsVip { get; }
/// <summary> Returns true if this voice region is the closest to your machine. </summary>
bool IsOptimal { get; }
/// <summary> Gets an example hostname for this voice region. </summary>
string SampleHostname { get; }
/// <summary> Gets an example port for this voice region. </summary>
int SamplePort { get; }
/// <summary> Returns true if this is a deprecated voice region (avoid switching to these). </summary>
bool IsDeprecated { get; }
/// <summary> Returns true if this is a custom voice region (used for events/etc) </summary>
bool IsCustom { get; }
}
}
}