Try to remove position ?
This commit is contained in:
parent
42ccdfcab0
commit
2217690daa
@ -49,7 +49,7 @@ public class AutoVoiceChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
title = title.replace("@count", Integer.toString(next));
|
title = title.replace("@count", Integer.toString(next));
|
||||||
newChannel.getManager().setName(title).setPosition(voiceChannel.getPosition()).queue(t -> {
|
newChannel.getManager().setName(title).queue(t -> {
|
||||||
moveMembers(voiceChannel.getMembers(), (AudioChannel) newChannel);
|
moveMembers(voiceChannel.getMembers(), (AudioChannel) newChannel);
|
||||||
createdChannels.put(next, newChannel.getId());
|
createdChannels.put(next, newChannel.getId());
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user