-
Exceptions Exceptions Description net.dv8tion.jda.api.exceptions.GuildUnavailableException This will be removed in favor of a better system which does not keep unavailable guilds in cache in the first place.
-
Methods Method Description net.dv8tion.jda.api.entities.Emote.hasRoles() This will be replaced byEmote.canProvideRoles()
net.dv8tion.jda.api.entities.Guild.isAvailable() This will be removed in a future version, unavailable guilds are now removed from cachenet.dv8tion.jda.api.entities.Guild.retrieveVanityUrl() net.dv8tion.jda.api.entities.Invite.getCreationTime() UseInvite.getTimeCreated()
insteadnet.dv8tion.jda.api.JDA.getVoiceChannelByName(String, boolean) Replace withJDA.getVoiceChannelsByName(String, boolean)
net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder.setEventManager(IEventManager) net.dv8tion.jda.api.sharding.ShardManager.setGame(Activity) net.dv8tion.jda.api.utils.SessionController.getGatewayBot(JDA) UseSessionController.getShardedGateway(JDA)
instead, an implementation for this is ignored ifSessionController.getShardedGateway(JDA)
is implemented instead.