Check out example codes for "discord jda remove @everyone from channel". It will help you in understanding the concepts better.

Code Example 1

channel.createPermissionOverride(guild.getPublicRole())
	.setAllow(Permission.EMPTY_PERMISSIONS)
	.reason("Remove @everyone from the channel")
	.queue();

Learn ReactJs, React Native from akashmittal.com