forked from pothtonswer/discordmuffin
Change GuildChannelsUpdate to GuildChannelsReorder
This commit is contained in:
parent
c13c190516
commit
ca07a8f9d3
1 changed files with 2 additions and 2 deletions
|
@ -716,10 +716,10 @@ func (s *Session) GuildChannelCreate(guildID, name, ctype string) (st *Channel,
|
|||
return
|
||||
}
|
||||
|
||||
// GuildChannelsUpdate updates the given channels of a guild
|
||||
// GuildChannelsReorder updates the order of channels in a guild
|
||||
// guildID : The ID of a Guild.
|
||||
// channels : Updated channels.
|
||||
func (s *Session) GuildChannelsUpdate(guildID string, channels []*Channel) (err error) {
|
||||
func (s *Session) GuildChannelsReorder(guildID string, channels []*Channel) (err error) {
|
||||
|
||||
_, err = s.Request("PATCH", GUILD_CHANNELS(guildID), channels)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue