-
Deprecated ClassesClassDescriptionThis 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.
-
Deprecated FieldsFieldDescriptionSelf-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.
-
Deprecated MethodsMethodDescriptionThis 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.Bot usernames are set through the application name now.UseSessionController.getRateLimitHandle()
insteadUseSessionController.getRateLimitHandle()
instead
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse
AuditLogKey.CHANNEL_SLOWMODE
insteadPublic stage instances are no longer supported by discord