From e28d444422189fb99789df2ce1e2b4e5a740cf3c Mon Sep 17 00:00:00 2001 From: Cory Ory Date: Thu, 7 Jun 2018 02:20:03 +0100 Subject: [PATCH] Add userlimit to the channel struct (#557) --- structs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/structs.go b/structs.go index 1906e2d..6acbc3c 100644 --- a/structs.go +++ b/structs.go @@ -239,6 +239,9 @@ type Channel struct { // A list of permission overwrites present for the channel. PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites"` + // The user limit of the voice channel. + UserLimit int `json:"user_limit"` + // The ID of the parent channel, if the channel is under a category ParentID string `json:"parent_id"` }