Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionReplaced with
Button.premium(SkuSnowflake)
, see the Discord change logs for more details.Replaced withButton.premium(SkuSnowflake)
see the Discord change logs for more details.
-
Deprecated Classes
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionUse
Guild.editCommandById(Command.Type, long)
insteadUseGuild.editCommandById(Command.Type, String)
insteadUseGuild.kick(UserSnowflake)
andAuditableRestAction.reason(String)
instead.Replaced withMessage.getInteractionMetadata()
Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.Replaced withCommandData.getContexts()
Replaced withCommandData.setContexts(InteractionContextType...)
Replaced withSlashCommandData.setContexts(InteractionContextType...)
Replaced withCommand.getContexts()
UseJDA.editCommandById(Command.Type, long)
insteadUseJDA.editCommandById(Command.Type, String)
insteadReplaced withCommandEditAction.setContexts(InteractionContextType...)
-
Deprecated Enum ConstantsEnum ConstantDescriptionReplaced with
GatewayIntent.GUILD_EXPRESSIONS
Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.