Skip to content
Snippets Groups Projects
Commit e4ecaec1 authored by Levatax's avatar Levatax
Browse files

persist position in channel update

parent eeb8afeb
Branches
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ func init() {
// Perform change
if channel, err := context.Session.ChannelEditComplex(instance.Channel.ID,
&discordgo.ChannelEdit{UserLimit: int(limit)}); !context.HandleError(err) {
&discordgo.ChannelEdit{UserLimit: int(limit), Position: instance.Channel.Position}); !context.HandleError(err) {
return
} else {
instance.Channel = channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment