Parcourir la source

Merge pull request #487 from Seklfreak/add-invite-unique-field

Adds the unique field to the invite struct
Bruce il y a 7 ans
Parent
commit
0003ae7dd2
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -144,6 +144,7 @@ type Invite struct {
 	MaxUses   int       `json:"max_uses"`
 	Revoked   bool      `json:"revoked"`
 	Temporary bool      `json:"temporary"`
+	Unique    bool      `json:"unique"`
 }
 
 // ChannelType is the type of a Channel