Try to remove position ?

This commit is contained in:
sclement 2023-12-28 16:35:01 +01:00
parent 42ccdfcab0
commit 2217690daa

View File

@ -49,7 +49,7 @@ public class AutoVoiceChannel {
}
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);
createdChannels.put(next, newChannel.getId());
});