Pārlūkot izejas kodu

Removed "Sample" from VoiceRegions struct

Bruce Marriner 9 gadi atpakaļ
vecāks
revīzija
4316dfe9b9
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  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.