Prechádzať zdrojové kódy

Merge pull request #444 from robbix1206/recipientBug

Fix #443 (recipients not recipient)
Bruce 7 rokov pred
rodič
commit
b7d7e0342e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -171,7 +171,7 @@ type Channel struct {
 	NSFW                 bool                   `json:"nsfw"`
 	Position             int                    `json:"position"`
 	Bitrate              int                    `json:"bitrate"`
-	Recipients           []*User                `json:"recipient"`
+	Recipients           []*User                `json:"recipients"`
 	Messages             []*Message             `json:"-"`
 	PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites"`
 }