瀏覽代碼

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

Adds the unique field to the invite struct
Bruce 7 年之前
父節點
當前提交
0003ae7dd2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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