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

persist position in channel update

parent eeb8afeb
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ func init() { ...@@ -58,7 +58,7 @@ func init() {
// Perform change // Perform change
if channel, err := context.Session.ChannelEditComplex(instance.Channel.ID, 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 return
} else { } else {
instance.Channel = channel instance.Channel = channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment