forked from pothtonswer/discordmuffin
Add userlimit to the channel struct (#557)
This commit is contained in:
parent
003b7cafd1
commit
e28d444422
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,9 @@ type Channel struct {
|
||||||
// A list of permission overwrites present for the channel.
|
// A list of permission overwrites present for the channel.
|
||||||
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites"`
|
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
|
// The ID of the parent channel, if the channel is under a category
|
||||||
ParentID string `json:"parent_id"`
|
ParentID string `json:"parent_id"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue