-
ClassDescriptionThis will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.
-
FieldDescriptionSelf-bots are not supported anymore and the value is outdated.This will be removed in the future.Bot usernames are set through the application name now.
-
MethodDescriptionThis method no longer represents the actual speaking state of the user. Discord does not send updates when a user starts and stops speaking anymore. You can use
ConnectionListener.onUserSpeakingModeUpdate(UserSnowflake, EnumSet)
to see when a user changes their speaking mode, or use anAudioReceiveHandler
to check when a user is speaking.This method no longer represents the actual speaking state of the user. Discord does not send updates when a user starts and stops speaking anymore. You can useConnectionListener.onUserSpeakingModeUpdate(UserSnowflake, EnumSet)
to see when a user changes their speaking mode, or use anAudioReceiveHandler
to check when a user is speaking.This method no longer represents the actual speaking state of the user. Discord does not send updates when a user starts and stops speaking anymore. You can useConnectionListener.onUserSpeakingModeUpdate(UserSnowflake, EnumSet)
to see when a user changes their speaking mode, or use anAudioReceiveHandler
to check when a user is speaking.This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.UseGuild.kick(UserSnowflake)
andAuditableRestAction.reason(String)
instead.UseMember.kick()
andAuditableRestAction.reason(String)
insteadReplaced byMessage.Attachment.getProxy()
, seeFileProxy.downloadToFile(File)
Replaced byMessage.Attachment.getProxy()
, seeFileProxy.downloadToFile(File)
Replaced byMessage.Attachment.getProxy()
, seeFileProxy.downloadToFile(File)
Replaced byMessage.Attachment.getProxy()
, seeAttachmentProxy.downloadAsIcon()
Replaced byMessage.Attachment.getProxy()
, seeFileProxy.download()
This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.net.dv8tion.jda.api.interactions.modals.Modal.Builder.addActionRows(Collection<? extends ActionRow>) UseModal.getComponents()
insteadThis will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.This will become obsolete in the future. Discriminators are being phased out and replaced by globally unique usernames. For more information, see New Usernames & Display Names.This pool is now split into two pools. You should useJDABuilder.setRateLimitScheduler(ScheduledExecutorService)
andJDABuilder.setRateLimitElastic(ExecutorService)
instead.This pool is now split into two pools. You should useJDABuilder.setRateLimitScheduler(ScheduledExecutorService, boolean)
andJDABuilder.setRateLimitElastic(ExecutorService, boolean)
instead.Bot usernames are set through the application name now.This pool is now split into two pools. You should useDefaultShardManagerBuilder.setRateLimitScheduler(ScheduledExecutorService)
andDefaultShardManagerBuilder.setRateLimitElastic(ExecutorService)
instead.This pool is now split into two pools. You should useDefaultShardManagerBuilder.setRateLimitScheduler(ScheduledExecutorService, boolean)
andDefaultShardManagerBuilder.setRateLimitElastic(ExecutorService, boolean)
instead.This pool is now split into two pools. You should useDefaultShardManagerBuilder.setRateLimitPoolProvider(ThreadPoolProvider)
andDefaultShardManagerBuilder.setRateLimitElasticProvider(ThreadPoolProvider)
instead.UseSessionController.getRateLimitHandle()
insteadUseSessionController.getRateLimitHandle()
instead
-
Enum ConstantDescriptionUse
AuditLogKey.CHANNEL_SLOWMODE
insteadPublic stage instances are no longer supported by discord