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

Adds the unique field to the invite struct
This commit is contained in:
Bruce 2017-12-03 20:28:53 -06:00 committed by GitHub
commit 0003ae7dd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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