Update GuildChannelsReorder with new endpoints
This commit is contained in:
parent
15f6afb2d7
commit
323216e171
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ func (s *Session) GuildChannelCreate(guildID, name, ctype string) (st *Channel,
|
||||||
// channels : Updated channels.
|
// channels : Updated channels.
|
||||||
func (s *Session) GuildChannelsReorder(guildID string, channels []*Channel) (err error) {
|
func (s *Session) GuildChannelsReorder(guildID string, channels []*Channel) (err error) {
|
||||||
|
|
||||||
_, err = s.Request("PATCH", GUILD_CHANNELS(guildID), channels)
|
_, err = s.Request("PATCH", EndpointGuildChannels(guildID), channels)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue