[Solved] How can I update the voice channel when a user enters the guild with JDA
To modify an entity in JDA you usually have to use the manager. You can acquire an instance of a manager through getManager() on almost every entity. TextChannel channel = guild.getTextChannelById(573629024102776853L); channel.getManager() .setName(“Total Users:” + guild.getMemberCache().size()) .queue(); // this is needed, otherwise the request won’t be made to discord If the id for the channel … Read more