소스 검색

Removed "Sample" from VoiceRegions struct

Bruce Marriner 9 년 전
부모
커밋
4316dfe9b9
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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.