forked from pothtonswer/discordmuffin
Fix RateLimitPerUser on ChannelEdit (#1152)
* fix ability to turn off slowmode via ChannelEdit * fix(structs): gofmt Co-authored-by: Cyrus <50967051+Not-Cyrus@users.noreply.github.com>
This commit is contained in:
parent
fb0692b08d
commit
cff170546c
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ type ChannelEdit struct {
|
||||||
UserLimit int `json:"user_limit,omitempty"`
|
UserLimit int `json:"user_limit,omitempty"`
|
||||||
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
|
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
|
||||||
ParentID string `json:"parent_id,omitempty"`
|
ParentID string `json:"parent_id,omitempty"`
|
||||||
RateLimitPerUser int `json:"rate_limit_per_user,omitempty"`
|
RateLimitPerUser *int `json:"rate_limit_per_user,omitempty"`
|
||||||
|
|
||||||
// NOTE: threads only
|
// NOTE: threads only
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue