forked from pothtonswer/discordmuffin
adds rate_limit_per_user to ChannelEdit (#585)
This commit is contained in:
parent
8dc444f78a
commit
6d2c944ad6
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,7 @@ func (c *Channel) Mention() string {
|
|||
return fmt.Sprintf("<#%s>", c.ID)
|
||||
}
|
||||
|
||||
// A ChannelEdit holds Channel Feild data for a channel edit.
|
||||
// A ChannelEdit holds Channel Field data for a channel edit.
|
||||
type ChannelEdit struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Topic string `json:"topic,omitempty"`
|
||||
|
@ -261,6 +261,7 @@ type ChannelEdit struct {
|
|||
UserLimit int `json:"user_limit,omitempty"`
|
||||
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
|
||||
ParentID string `json:"parent_id,omitempty"`
|
||||
RateLimitPerUser int `json:"rate_limit_per_user,omitempty"`
|
||||
}
|
||||
|
||||
// A PermissionOverwrite holds permission overwrite data for a Channel
|
||||
|
|
Loading…
Reference in a new issue