user role changed event jda code example
Example: discord jda remove @everyone from channel
channel.createPermissionOverride(guild.getPublicRole())
.setAllow(Permission.EMPTY_PERMISSIONS)
.reason("Remove @everyone from the channel")
.queue();
channel.createPermissionOverride(guild.getPublicRole())
.setAllow(Permission.EMPTY_PERMISSIONS)
.reason("Remove @everyone from the channel")
.queue();