Browse Source

Removed "Sample" from VoiceRegions struct

Bruce Marriner 9 years ago
parent
commit
4316dfe9b9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      structs.go

+ 4 - 4
structs.go

@@ -27,10 +27,10 @@ type Embed struct { // TODO figure this out
 
 // A VoiceRegion stores data for a specific voice region server.
 type VoiceRegion struct {
-	ID             string `json:"id"`
-	Name           string `json:"name"`
-	SampleHostname string `json:"sample_hostname"`
-	SamplePort     int    `json:"sample_port"`
+	ID       string `json:"id"`
+	Name     string `json:"name"`
+	Hostname string `json:"sample_hostname"`
+	Port     int    `json:"sample_port"`
 }
 
 // A VoiceICE stores data for voice ICE servers.