Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractKeywordTriggerConfig<B> - Class in net.dv8tion.jda.api.entities.automod.build
-
Abstract for all keyword trigger types.
- AbstractMessageBuilder<T,
R> - Class in net.dv8tion.jda.api.utils.messages -
Abstract builder implementation of
MessageRequest
. - AbstractThreadCreateAction<T,
R> - Interface in net.dv8tion.jda.api.requests.restaction -
Common features of all
RestActions
that create a new thread. - AbstractTriggerConfig<B> - Class in net.dv8tion.jda.api.entities.automod.build
-
Abstract base class for all trigger configurations.
- AbstractWebhookMessageAction<T,
R> - Interface in net.dv8tion.jda.api.requests.restaction -
Abstraction for requests related to webhook executions.
- accept(Throwable) - Method in class net.dv8tion.jda.api.exceptions.ContextException.ContextConsumer
- accept(Throwable) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
- accept(T) - Method in interface net.dv8tion.jda.api.utils.IOConsumer
- accept(T, R) - Method in interface net.dv8tion.jda.api.utils.IOBiConsumer
- ACCEPTED - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The user has accepted an invite as is a member of this team
- acceptStream(Consumer<? super Stream<T>>) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an unordered sequenced stream of the elements in this cache.
- AccountManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for the logged in account.
- AccountType - Enum in net.dv8tion.jda.api
-
Represents the type of account that is logged in.
- accumulate(Collection<? extends RestAction<? extends E>>, Collector<? super E, A, ? extends O>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Creates a RestAction instance which accumulates all results of the provided actions.
- ACTION_ROW - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A row of components
- ActionComponent - Interface in net.dv8tion.jda.api.interactions.components
-
Component which supports interactions via
ComponentInteraction
. - ActionRow - Class in net.dv8tion.jda.api.interactions.components
-
One row of components.
- ActionType - Enum in net.dv8tion.jda.api.audit
- ACTIVE - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
- ACTIVE_DEVELOPER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
-
User is an Active Developer
- Activity - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord
Activity
. - ACTIVITY - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getActivities()
- Activity.ActivityType - Enum in net.dv8tion.jda.api.entities
-
The activity being executed, differentiating between, amongst others, playing, listening and streaming.
- Activity.Timestamps - Class in net.dv8tion.jda.api.entities
-
Represents the start and end timestamps for a running match
- ActivityFlag - Enum in net.dv8tion.jda.api.entities
-
Enum representing the flags in a
RichPresence
- add(Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Appends the provided value to the end of the array.
- ADD_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- ADD_MEMBER_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- ADD_PINNED_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- ADD_REACTION - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- ADD_THREAD_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- addActionRow(Collection<? extends ItemComponent>) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Adds an ActionRow to this modal
- addActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends a single
ActionRow
to the request. - addActionRow(ItemComponent...) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Adds an ActionRow to this modal
- addActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends a single
ActionRow
to the request. - addAll(Collection<?>) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Appends the provided values to the end of the array.
- addAll(DataArray) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Appends the provided values to the end of the array.
- addAllowList(String...) - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractKeywordTriggerConfig
-
Add keywords to the allow list.
- addAllowList(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractKeywordTriggerConfig
-
Add keywords to the allow list.
- addAnswer(String) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Add an answer to this poll.
- addAnswer(String, Emoji) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Add an answer to this poll.
- addBlankField(boolean) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Adds a blank (empty) Field to the embed.
- addBundle(ResourceBundle, DiscordLocale) - Method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction.Builder
-
Adds a resource bundle to this builder
- addBundles(String, DiscordLocale...) - Method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction.Builder
-
Adds a resource bundle to this builder
This will insert the resource bundles with the specified name, with each specified locale. - addChannel(GuildAction.ChannelData) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Adds a
GuildChannel
to the resulting Guild. - addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.FluentRestAction
- addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Shortcut for
setCheck(() -> getCheck().getAsBoolean() && checks.getAsBoolean())
. - addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CacheRestAction
- addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- addCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
- addChoice(String, double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Add a predefined choice for this option.
- addChoice(String, double) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoice(String, long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Add a predefined choice for this option.
- addChoice(String, long) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoice(String, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Add a predefined choice for this option.
- addChoice(String, String) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceDoubles(double...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceDoubles(Collection<Double>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceLongs(long...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceLongs(Collection<Long>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoices(Collection<? extends Command.Choice>) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Adds up to 25 predefined choices for this option.
- addChoices(Collection<Command.Choice>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoices(Command.Choice...) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Adds up to 25 predefined choices for this option.
- addChoices(Command.Choice...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceStrings(String...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addChoiceStrings(Collection<String>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
Add up to 25 choices which can be picked from by the user.
- addCommands(Collection<? extends CommandData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- addCommands(CommandData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- addComponents(Collection<? extends LayoutComponent>) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Adds
LayoutComponents
to this modal - addComponents(Collection<? extends LayoutComponent>) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- addComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
LayoutComponents
to the request. - addComponents(LayoutComponent...) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Adds
LayoutComponents
to this modal - addComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
LayoutComponents
to the request. - addContent(String) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- addContent(String) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the content to the currently set content of this request.
- addEmbeds(Collection<? extends MessageEmbed>) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- addEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
MessageEmbeds
to the request. - addEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
MessageEmbeds
to the request. - addEventListener(Object...) - Method in interface net.dv8tion.jda.api.JDA
-
Adds all provided listeners to the event-listeners that will be used to handle events.
- addEventListener(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- addEventListener(Object...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Adds all provided listeners to the event-listeners that will be used to handle events.
- addEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Adds the provided listener provider to the list of listener providers that will be used to create listeners.
- addEventListenerProviders(Collection<IntFunction<Object>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Adds the provided listener providers to the list of listener providers that will be used to create listeners.
- addEventListeners(Object...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Adds all provided listeners to the list of listeners that will be used to populate the
JDA
object. - addEventListeners(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Adds all provided listeners to the list of listeners that will be used to populate the
DefaultShardManager
object. - addEventListeners(Collection<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Adds all provided listeners to the list of listeners that will be used to populate the
DefaultShardManager
object. - addEventListeners(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- addEventListeners(IntFunction<Object>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Adds listeners provided by the listener provider to each shard to the event-listeners that will be used to handle events.
- addExemptChannels(Collection<? extends GuildChannel>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Add channels which can bypass this rule.
- addExemptChannels(GuildChannel...) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Add channels which can bypass this rule.
- addExemptRoles(Collection<? extends Role>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Add roles which can bypass this rule.
- addExemptRoles(Role...) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Add roles which can bypass this rule.
- addFeatures(String...) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Adds a
Guild Feature
to the list of features. - addFeatures(Collection<String>) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Adds a
Guild Feature
to the list of features. - addField(String, String, boolean) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Adds a Field to the embed.
- addField(MessageEmbed.Field) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Copies the provided Field into a new Field for this builder.
- addFiles(Collection<? extends FileUpload>) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- addFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
FileUploads
to the request. - addFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Appends the provided
FileUploads
to the request. - addKeywords(String...) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Add more keywords match against.
- addKeywords(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Add more keywords match against.
- addMember(String, UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Adds the user to this guild as a member.
- addMemberPermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Member
PermissionOverride
for the new GuildChannel. - addMemberPermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Member
PermissionOverride
for the new GuildChannel. - addOption(String, String) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addOption(String, String, String) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addOption(String, String, String, Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addOption(String, String, Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addOption(OptionType, String, String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Adds an option to this command.
- addOption(OptionType, String, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Adds an option to this subcommand.
- addOption(OptionType, String, String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addOption(OptionType, String, String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Adds an option to this command.
- addOption(OptionType, String, String, boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Adds an option to this command.
- addOption(OptionType, String, String, boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Adds an option to this subcommand.
- addOption(OptionType, String, String, boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addOption(OptionType, String, String, boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Adds an option to this command.
- addOption(OptionType, String, String, boolean, boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Adds an option to this command.
- addOption(OptionType, String, String, boolean, boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Adds an option to this subcommand.
- addOption(OptionType, String, String, boolean, boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addOptions(Collection<? extends OptionData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Adds up to 25 options to this command.
- addOptions(Collection<? extends OptionData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Adds up to 25 options to this subcommand.
- addOptions(Collection<? extends OptionData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addOptions(Collection<? extends OptionData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Adds up to 25 options to this command.
- addOptions(Collection<? extends SelectOption>) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addOptions(OptionData...) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Adds up to 25 options to this command.
- addOptions(OptionData...) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Adds up to 25 options to this subcommand.
- addOptions(OptionData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addOptions(OptionData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Adds up to 25 options to this command.
- addOptions(SelectOption...) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- addPart(MultipartBody.Builder, int) - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- addPart(MultipartBody.Builder, int) - Method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Used internally to build the multipart request.
- addPart(MultipartBody.Builder, int) - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- addPart(MultipartBody.Builder, int) - Method in class net.dv8tion.jda.api.utils.FileUpload
- addPatterns(String...) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Add keywords regex patterns to match against.
- addPatterns(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Add keywords regex patterns to match against.
- addPermissionOverride(IPermissionHolder, long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new GuildChannel. - addPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new GuildChannel. - addPermissionOverride(GuildAction.RoleData, long, long) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Adds a
PermissionOverride
to this channel with the providedRoleData
!
UseGuildAction.newRole()
to retrieve an instance of RoleData. - addPermissionOverride(GuildAction.RoleData, Collection<Permission>, Collection<Permission>) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Adds a
PermissionOverride
to this channel with the providedRoleData
!
UseGuildAction.newRole()
to retrieve an instance of RoleData. - addPermissions(Collection<Permission>) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addPermissions(Permission...) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addReaction(Emoji) - Method in interface net.dv8tion.jda.api.entities.Message
-
Adds a reaction to this Message using an
Emoji
. - addReactionById(long, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(String, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addRolePermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role
PermissionOverride
for the new GuildChannel. - addRolePermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role
PermissionOverride
for the new GuildChannel. - addRoleToMember(UserSnowflake, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- addSubcommandGroups(Collection<? extends SubcommandGroupData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Add up to 25
Subcommand-Groups
to this command. - addSubcommandGroups(Collection<? extends SubcommandGroupData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addSubcommandGroups(Collection<? extends SubcommandGroupData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Add up to 25
Subcommand-Groups
to this command. - addSubcommandGroups(SubcommandGroupData...) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Add up to 25
Subcommand-Groups
to this command. - addSubcommandGroups(SubcommandGroupData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addSubcommandGroups(SubcommandGroupData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Add up to 25
Subcommand-Groups
to this command. - addSubcommands(Collection<? extends SubcommandData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Add up to 25
Subcommands
to this command. - addSubcommands(Collection<? extends SubcommandData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Add up to 25
Subcommands
to this group. - addSubcommands(Collection<? extends SubcommandData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addSubcommands(Collection<? extends SubcommandData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Add up to 25
Subcommands
to this command. - addSubcommands(SubcommandData...) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Add up to 25
Subcommands
to this command. - addSubcommands(SubcommandData...) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Add up to 25
Subcommands
to this group. - addSubcommands(SubcommandData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- addSubcommands(SubcommandData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Add up to 25
Subcommands
to this command. - addTags(Collection<? extends ForumTagSnowflake>) - Method in class net.dv8tion.jda.api.requests.restaction.ThreadCreateMetadata
-
Apply the provided tags to the forum post.
- addTags(ForumTagSnowflake...) - Method in class net.dv8tion.jda.api.requests.restaction.ThreadCreateMetadata
-
Apply the provided tags to the forum post.
- addThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Adds a member to this thread.
- addThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Adds a member to this thread.
- addThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Adds a member to this thread.
- addThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Adds a member to this thread.
- ADMIN - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.
- ADMINISTRATOR - Enum constant in enum net.dv8tion.jda.api.Permission
- AFK_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the afk channel field
- AFK_TIMEOUT - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the afk timeout field
- after(long) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.now().plus(millis)
. - after(Duration) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.now().plus(duration)
. - AGE_RESTRICTED - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Is classified as NSFW and has an age restriction in place
- all(Collection<? extends CacheView<E>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
CacheView
for all provided CacheView implementations. - all(Supplier<? extends Stream<? extends CacheView<E>>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
CacheView
for all provided CacheView implementations. - all(MemberCachePolicy, MemberCachePolicy...) - Static method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Composes a policy which requires multiple other policies.
- ALL - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- ALL - Static variable in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Chunk all guilds
- ALL - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Enable all member caching.
- ALL_INTENTS - Static variable in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Bitmask with all intents enabled.
- ALL_MESSAGES - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
- allMembers(Collection<? extends MemberCacheView>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
UnifiedMemberCacheView
for all provided MemberCacheView implementations. - allMembers(Supplier<? extends Stream<? extends MemberCacheView>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
UnifiedMemberCacheView
for all provided MemberCacheView implementations. - allOf(Collection<? extends RestAction<? extends E>>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Creates a RestAction instance which accumulates all results of the provided actions.
- allOf(RestAction<? extends E>, RestAction<? extends E>...) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Creates a RestAction instance which accumulates all results of the provided actions.
- ALLOWED - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset the granted field
- allShards(Collection<ShardCacheView>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allShards(Supplier<? extends Stream<? extends ShardCacheView>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allSnowflakes(Collection<? extends SnowflakeCacheView<E>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - allSnowflakes(Supplier<? extends Stream<? extends SnowflakeCacheView<E>>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - ALREADY_AUTHENTICATED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- ALREADY_CROSSPOSTED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ALREADY_HAS_TEMPLATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- and(RestAction<U>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Combines this RestAction with the provided action.
- and(RestAction<U>, BiFunction<? super T, ? super U, ? extends O>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Combines this RestAction with the provided action.
- and(MemberCachePolicy) - Method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Convenience method to require another policy.
- AnnotatedEventManager - Class in net.dv8tion.jda.api.hooks
-
Implementation for
IEventManager
which checks forSubscribeEvent
annotations on both static and member methods. - AnnotatedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- ANNOUNCEMENT_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Answer(long, String, EmojiUnion, int, boolean) - Constructor for class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
- antiSpam() - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on spam content in messages (classified by Discord magic).
- AntiSpamTriggerConfig - Class in net.dv8tion.jda.api.entities.automod.build
-
Configuration for the
SPAM
trigger. - any(MemberCachePolicy, MemberCachePolicy...) - Static method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Composes a policy by concatenating multiple other policies.
- ANYWHERE - Static variable in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Strategy which splits at any character to satisfy the limit.
- APNG - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
The APNG format.
- appendDescription(CharSequence) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Appends to the description of the embed.
- appendSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.ConcurrentSessionController
- appendSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by a JDA session when a WebSocket should be started.
- appendSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- appendTo(Formatter, int, int, boolean, String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Can be used to append a String to a formatter.
- Application(String, String, String, String, long) - Constructor for class net.dv8tion.jda.api.entities.MessageActivity.Application
- APPLICATION_COMMAND_NAME_ALREADY_EXISTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- APPLICATION_COMMAND_PRIVILEGES_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A moderator updated the privileges for an application
- APPLICATION_EMOJI_CAP - Static variable in interface net.dv8tion.jda.api.entities.emoji.ApplicationEmoji
- APPLICATION_ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The id for an authorized application (webhook/bot/integration)
- APPLICATION_INTERACTION_FAILED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- APPLICATION_NOT_AVAILABLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- APPLICATION_SUBSCRIPTION - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was purchased as an app subscription
- ApplicationCommandUpdatePrivilegesEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that the
Privileges
of an application-command on a guild changed. - ApplicationCommandUpdatePrivilegesEvent(JDA, long, Guild, long, long, List<IntegrationPrivilege>) - Constructor for class net.dv8tion.jda.api.events.interaction.command.ApplicationCommandUpdatePrivilegesEvent
- ApplicationEmoji - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents a Custom Emoji hosted on the Bot Account.
- ApplicationEmojiManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update the name field for an
ApplicationEmoji
. - ApplicationInfo - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Application from its bot's point of view.
- ApplicationInfo.Flag - Enum in net.dv8tion.jda.api.entities
-
Flag constants corresponding to the Discord Enum
- Applications() - Constructor for class net.dv8tion.jda.api.requests.Route.Applications
- ApplicationTeam - Interface in net.dv8tion.jda.api.entities
-
Meta-data for the team of an application.
- ApplicationUpdatePrivilegesEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that the
Privileges
of an application changed. - ApplicationUpdatePrivilegesEvent(JDA, long, Guild, long, List<IntegrationPrivilege>) - Constructor for class net.dv8tion.jda.api.events.interaction.command.ApplicationUpdatePrivilegesEvent
- APPLIED_TAGS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The tags applied to a forum post thread.
- APPLIED_TAGS - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the applied tags field
- apply(String) - Method in interface net.dv8tion.jda.api.interactions.commands.localization.LocalizationFunction
-
Retrieves the localization mappings of the specified localization key
- apply(String) - Method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction
- apply(String, int, int) - Method in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Implements a splitting strategy.
- apply(CommandData) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Replace the command with the provided
CommandData
. - apply(T) - Method in interface net.dv8tion.jda.api.utils.IOFunction
- applyCreateData(MessageCreateData) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
Replaces all the fields configured on this request with the data provided by
MessageCreateData
. - applyData(MessageCreateData) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Applies the provided
MessageCreateData
to this request. - applyData(MessageEditData) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- applyData(MessageEditData) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
Applies the provided
MessageEditData
to this request. - applyEditData(MessageEditData) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Applies the provided
MessageEditData
to this request. - applyMessage(Message) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
- applyMessage(Message) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
- applyMessage(Message) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Applies all the data of the provided
Message
and attempts to copy it. - applyStream(Function<? super Stream<T>, ? extends R>) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an unordered sequenced stream of the elements in this cache.
- approveSpeaker() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Promote the member to speaker.
- approveSpeaker() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
-
Promote the member to speaker.
- ARCHIVED - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The archive state of this channel.
- ARCHIVED - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the archived field
- ARCHIVED_TIMESTAMP - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The time this channel's archival information was last updated.
- ARRAY - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- ARTICLE - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- asApplication() - Method in interface net.dv8tion.jda.api.entities.emoji.EmojiUnion
-
Returns the underlying
ApplicationEmoji
if applicable. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
AudioChannel
. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
AudioChannel
. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
AudioChannel
. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
AudioChannel
. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
AudioChannel
. - asAudioChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
AudioChannel
. - asCategory() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
Category
. - asCategory() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
Category
. - asCategory() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
Category
. - asCustom() - Method in interface net.dv8tion.jda.api.entities.emoji.EmojiUnion
-
Returns the underlying
CustomEmoji
if applicable. - asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Returns a copy of this component with
ActionComponent.isDisabled()
set to true. - asDisabled() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Returns a new instance of this LayoutComponent with all components set to disabled.
- asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
- asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
- asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Returns a copy of this component with
ActionComponent.isDisabled()
set to false. - asEnabled() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Returns a new instance of this LayoutComponent with all components set to enabled.
- asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
- asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
- asForumChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
ForumChannel
. - asForumChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
ForumChannel
. - asForumChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
ForumChannel
. - asForumChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
ForumChannel
. - asForumChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
ForumChannel
. - asGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
GuildChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.AudioChannelUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
GuildMessageChannel
. - asGuildSticker() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerUnion
-
Returns the underlying
GuildSticker
if applicable. - asList() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable snapshot of the current cache state.
- asMediaChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
MediaChannel
. - asMediaChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
MediaChannel
. - asMediaChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
MediaChannel
. - asMediaChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
MediaChannel
. - asMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
MessageChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.DefaultGuildChannelUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
NewsChannel
. - asNewsChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
NewsChannel
. - asPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
PrivateChannel
. - asPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
PrivateChannel
. - asRich() - Method in interface net.dv8tion.jda.api.entities.emoji.EmojiUnion
-
Returns the underlying
RichCustomEmoji
if applicable. - asRichPresence() - Method in interface net.dv8tion.jda.api.entities.Activity
-
RichPresence
representation of this Activity. - asSet() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable snapshot of the current cache state.
- asSet() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
- asSpoiler() - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Changes the name of this file, to be prefixed as
SPOILER_
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.AudioChannelUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
StageChannel
. - asStageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
StageChannel
. - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
StandardGuildChannel
. - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
StandardGuildChannel
. - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
StandardGuildChannel
.you can call this method - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
StandardGuildChannel
. - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
StandardGuildChannel
. - asStandardGuildChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
StandardGuildChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.DefaultGuildChannelUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardGuildMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
StandardGuildMessageChannel
. - asStandardSticker() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerUnion
-
Returns the underlying
StandardSticker
if applicable. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.DefaultGuildChannelUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IThreadContainerUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
TextChannel
. - asTextChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
TextChannel
. - asThreadChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
ThreadChannel
. - asThreadChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
ThreadChannel
. - asThreadChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
ThreadChannel
. - asThreadChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
ThreadChannel
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.DefaultGuildChannelUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
IThreadContainer
. - asThreadContainer() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
IThreadContainer
. - asUnicode() - Method in interface net.dv8tion.jda.api.entities.emoji.EmojiUnion
-
Returns the underlying
UnicodeEmoji
if applicable. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.AudioChannelUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.IWebhookContainerUnion
-
Casts this union to a
VoiceChannel
. - asVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
-
Casts this union to a
VoiceChannel
. - asVoiceMessage(MediaType, byte[], double) - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Turns this attachment into a voice message with the provided waveform.
- asVoiceMessage(MediaType, byte[], Duration) - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Turns this attachment into a voice message with the provided waveform.
- atInstant(Instant) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
- ATOM - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- ATOM_UTF8 - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- AttachedFile - Interface in net.dv8tion.jda.api.utils
-
Represents files that are attached to requests.
- Attachment(long, String, String, String, String, String, int, int, int, boolean, String, double, JDAImpl) - Constructor for class net.dv8tion.jda.api.entities.Message.Attachment
- ATTACHMENT - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept a file attachment
- AttachmentProxy - Class in net.dv8tion.jda.api.utils
-
A utility class to retrieve attachments.
- AttachmentProxy(String) - Constructor for class net.dv8tion.jda.api.utils.AttachmentProxy
-
Constructs a new
AttachmentProxy
for the provided URL. - AttachmentUpdate - Class in net.dv8tion.jda.api.utils
-
Represents existing message attachment.
- ATTEMPTING_TO_RECONNECT - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has been disconnected from Discord and is currently trying to reestablish the connection.
- atTimestamp(long) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Converts the provided unix epoch timestamp into a
Timestamp
with this style. - AUDIO_GATEWAY_VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- AUDIO_REGION_CHANGE - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the audio connection was closed due to the
Region
of the audio connection being changed. - AudioChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents a Guild Channel that is capable of handling audio.
- AudioChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.middleman -
Manager providing functionality common for all
AudioChannels
. - AudioChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
AudioChannel
. - AudioManager - Interface in net.dv8tion.jda.api.managers
-
AudioManager deals with creating, managing and severing audio connections to
VoiceChannels
. - AudioNatives - Class in net.dv8tion.jda.api.audio
-
Controller used by JDA to ensure the native binaries for opus en-/decoding are available.
- AudioReceiveHandler - Interface in net.dv8tion.jda.api.audio
-
Interface used to receive audio from Discord through JDA.
- AudioSendHandler - Interface in net.dv8tion.jda.api.audio
-
Interface used to send audio to Discord through JDA.
- AuditableRestAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of RestAction to allow setting a reason.
- AuditLogChange - Class in net.dv8tion.jda.api.audit
-
Plain-Old-Java-Object (POJO) representing a single change for an
AuditLogEntry
!
This object holds theold-
andnew value
for the updated field. - AuditLogChange(Object, Object, String) - Constructor for class net.dv8tion.jda.api.audit.AuditLogChange
- AuditLogEntry - Class in net.dv8tion.jda.api.audit
-
Single entry for an
AuditLogPaginationAction
. - AuditLogEntry(ActionType, int, long, long, long, GuildImpl, UserImpl, WebhookImpl, String, Map<String, AuditLogChange>, Map<String, Object>) - Constructor for class net.dv8tion.jda.api.audit.AuditLogEntry
- AuditLogKey - Enum in net.dv8tion.jda.api.audit
-
Enum of possible/expected keys that can be provided to
AuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey
. - AuditLogOption - Enum in net.dv8tion.jda.api.audit
-
Enum constants for possible options
Providing detailed description of possible occasions and expected types. - AuditLogPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the audit logs endpoint. - AUTHENTICATION_FAILED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- AUTHOR_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length the author name of an embed can have
- AuthorInfo(String, String, String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
- AUTO_ARCHIVE_DURATION - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The auto archive duration of this channel.
- AUTO_ARCHIVE_DURATION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the auto-archive-duration field
- AUTO_MODERATION - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- AUTO_MODERATION_ACTION - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This message was created by the automod system.
- AUTO_MODERATION_CONFIGURATION - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Events related to
AutoModRule
changes. - AUTO_MODERATION_EXECUTION - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Events related to
AutoModResponse
triggers. - AUTO_MODERATION_FLAG_TO_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An automod rule sent an alert to a channel
- AUTO_MODERATION_MEMBER_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An automod rule put a user in
timeout
- AUTO_MODERATION_RULE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- AUTO_MODERATION_RULE_BLOCK_MESSAGE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An automod rule blocked a message from being sent
- AUTO_MODERATION_RULE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A moderator created a new
AutoModRule
- AUTO_MODERATION_RULE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A moderator deleted an existing
AutoModRule
- AUTO_MODERATION_RULE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
AutoModRule.getName()
for the targetAutoModRule
- AUTO_MODERATION_RULE_TRIGGER_TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The
AutoModRule.getTriggerType()
for anAutoModRule
trigger - AUTO_MODERATION_RULE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A moderator updated an existing
AutoModRule
- AutoCompleteCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
An
InteractionCallbackAction
that can be used to suggest auto-complete choices. - AutoCompleteQuery - Class in net.dv8tion.jda.api.interactions
-
The query input for an
auto-complete interaction
. - AutoCompleteQuery(OptionMapping) - Constructor for class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- AUTOMATIC - Enum constant in enum net.dv8tion.jda.api.Region
- AutoModeration() - Constructor for class net.dv8tion.jda.api.requests.Route.AutoModeration
- AutoModEventType - Enum in net.dv8tion.jda.api.entities.automod
-
The type of event an
AutoModRule
is triggered by. - AutoModExecution - Interface in net.dv8tion.jda.api.entities.automod
-
Event triggered by an
AutoModRule
activation. - AutoModExecutionEvent - Class in net.dv8tion.jda.api.events.automod
-
Indicates that an automated
AutoModResponse
has been triggered through anAutoModRule
. - AutoModExecutionEvent(JDA, long, AutoModExecution) - Constructor for class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- AutoModResponse - Interface in net.dv8tion.jda.api.entities.automod
-
An automated response to an
AutoModRule
. - AutoModResponse.Type - Enum in net.dv8tion.jda.api.entities.automod
-
The type of response.
- AutoModRule - Interface in net.dv8tion.jda.api.entities.automod
-
Rule used for auto-moderation in a
Guild
. - AutoModRule.KeywordPreset - Enum in net.dv8tion.jda.api.entities.automod
-
Keyword presets that can be used in
AutoModRule.getFilteredPresets()
. - AutoModRuleCreateEvent - Class in net.dv8tion.jda.api.events.automod
-
Indicates that an
AutoModRule
was created. - AutoModRuleCreateEvent(JDA, long, AutoModRule) - Constructor for class net.dv8tion.jda.api.events.automod.AutoModRuleCreateEvent
- AutoModRuleData - Class in net.dv8tion.jda.api.entities.automod.build
-
Data class used to create new
AutoModRules
. - AutoModRuleDeleteEvent - Class in net.dv8tion.jda.api.events.automod
-
Indicates that an
AutoModRule
was deleted. - AutoModRuleDeleteEvent(JDA, long, AutoModRule) - Constructor for class net.dv8tion.jda.api.events.automod.AutoModRuleDeleteEvent
- AutoModRuleManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for an
AutoModRule
. - AutoModRuleUpdateEvent - Class in net.dv8tion.jda.api.events.automod
-
Indicates that an
AutoModRule
was updated. - AutoModRuleUpdateEvent(JDA, long, AutoModRule) - Constructor for class net.dv8tion.jda.api.events.automod.AutoModRuleUpdateEvent
- AutoModTriggerType - Enum in net.dv8tion.jda.api.entities.automod
-
The type which defines what triggers an
AutoModRule
. - AVAILABLE_TAGS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The applied tags of a
ForumChannel
. - AVAILABLE_TAGS - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the available tags field
- AVATAR - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the avatar field
- AVATAR - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the avatar field
- AVATAR_URL - Static variable in interface net.dv8tion.jda.api.entities.Member
-
Template for
Member.getAvatarUrl()
. - AVATAR_URL - Static variable in interface net.dv8tion.jda.api.entities.User
-
Template for
User.getAvatarUrl()
. - AWAITING_LOGIN_CONFIRMATION - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has sent authentication to discord and is awaiting confirmation
- awaitReady() - Method in interface net.dv8tion.jda.api.JDA
-
This method will block until JDA has reached the status
JDA.Status.CONNECTED
. - awaitShutdown() - Method in interface net.dv8tion.jda.api.JDA
-
Blocks the current thread until
JDA.getStatus()
returnsJDA.Status.SHUTDOWN
. - awaitShutdown(long, TimeUnit) - Method in interface net.dv8tion.jda.api.JDA
-
Blocks the current thread until
JDA.getStatus()
returnsJDA.Status.SHUTDOWN
. - awaitShutdown(Duration) - Method in interface net.dv8tion.jda.api.JDA
-
Blocks the current thread until
JDA.getStatus()
returnsJDA.Status.SHUTDOWN
. - awaitStatus(JDA.Status) - Method in interface net.dv8tion.jda.api.JDA
-
This method will block until JDA has reached the specified connection status.
- awaitStatus(JDA.Status, JDA.Status...) - Method in interface net.dv8tion.jda.api.JDA
-
This method will block until JDA has reached the specified connection status.
B
- BACKWARD - Enum constant in enum net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationOrder
-
Iterates backwards in time, listing the most recent entities first.
- ban(int, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Member
-
Bans this Member and deletes messages sent by the user based on the amount of delDays.
- ban(Collection<? extends UserSnowflake>, int, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans up to 200 of the provided users.
- ban(Collection<? extends UserSnowflake>, Duration) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans up to 200 of the provided users.
- ban(UserSnowflake, int, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the user specified by the provided
UserSnowflake
and deletes messages sent by the user based on thedeletionTimeframe
. - Ban(User, String) - Constructor for class net.dv8tion.jda.api.entities.Guild.Ban
- BAN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has banned a user.
- BAN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- BAN_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- BANNER - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the banner field
- BANNER - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the banner field
- BANNER_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getBannerUrl()
. - BANNER_URL - Static variable in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
Format string used for
StickerPack.getBannerUrl()
. - BANNER_URL - Static variable in interface net.dv8tion.jda.api.entities.User
-
Template for
User.Profile.getBannerUrl()
- BANNER1 - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- BANNER2 - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- BANNER3 - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- BANNER4 - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- BanPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the guild bans endpoint. - BaseForumTag - Interface in net.dv8tion.jda.api.entities.channel.forums
-
Information describing a forum tag.
- before(long) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.now().minus(millis)
. - before(Duration) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.now().minus(duration)
. - BEFORE_VALUE_EARLIER_THAN_THREAD_CREATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- BINARY - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- BITRATE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The bitrate (in bits per second) of the audio in this channel.
- BITRATE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the bitrate field
- BLOCK - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Codeblock region such as "```Hello```"
- BLOCK_MEMBER_INTERACTION - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Blocks the member from interacting with the guild until they update the offending content.
- BLOCK_MESSAGE - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Blocks the message from being sent.
- blockMemberInteraction() - Static method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
Create a response that will prevent the member from interacting with anything in the guild until the offending content is removed.
- blockMessage() - Static method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
Create a response that will block the message.
- blockMessage(String) - Static method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
Create a response that will block the message.
- bold(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing bold regions in the input and applies bold formatting to the entire string.
- BOLD - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Bold region such as "**Hello**"
- BOOLEAN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept boolean true or false inputs
- BOOLEAN - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- BOOLEAN_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- BOOLEAN_NOT_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- BOOST_PROGRESS_BAR_ENABLED - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the premium progress bar enabled field
- BOOSTER - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache members who are boosting the guild.
- BOT - Enum constant in enum net.dv8tion.jda.api.AccountType
-
An OAuth2 Bot which was created by an application
- BOT_ADD - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has added a bot to the server.
- BOT_HTTP_INTERACTIONS - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Bot uses only HTTP interactions and is shown in the online member list
- BOTS_NOT_ALLOWED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- BRAZIL - Enum constant in enum net.dv8tion.jda.api.Region
- BUG_HUNTER_LEVEL_1 - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- BUG_HUNTER_LEVEL_2 - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- build() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Returns a
MessageEmbed
that has been checked as being valid for sending. - build() - Method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction.Builder
-
Builds the resource bundle localization function.
- build() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
Creates a new
EntitySelectMenu
instance if all requirements are satisfied. - build() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Creates a new
SelectMenu
instance if all requirements are satisfied. - build() - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Creates a new
StringSelectMenu
instance if all requirements are satisfied. - build() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Builds a new TextInput from this Builder
- build() - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Builds and returns the
Modal
- build() - Method in class net.dv8tion.jda.api.JDABuilder
-
Builds a new
JDA
instance and uses the provided token to start the login process. - build() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Builds a new
ShardManager
instance and uses the provided token to start the login process. - build() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
Builds a validated instance of this builder's state, which can then be used for requests.
- build() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- build() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- build() - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Build the poll data.
- build(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Builds a new
ShardManager
instance. - builder(String) - Static method in class net.dv8tion.jda.api.utils.messages.MessagePollData
-
Creates a new
MessagePollBuilder
. - Builder(JDA, Class<E>) - Constructor for class net.dv8tion.jda.api.utils.Once.Builder
-
Creates a builder for a one-time event listener
- BULGARIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- BULK_BAN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- BulkBanResponse - Class in net.dv8tion.jda.api.entities
-
Response to
Guild.ban(java.util.Collection, Duration)
- BulkBanResponse(List<UserSnowflake>, List<UserSnowflake>) - Constructor for class net.dv8tion.jda.api.entities.BulkBanResponse
- Button - Interface in net.dv8tion.jda.api.interactions.components.buttons
-
Represents a Message Button.
- BUTTON - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A button
- ButtonInteraction - Interface in net.dv8tion.jda.api.interactions.components.buttons
-
Interaction on a
Button
component. - ButtonInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.component
-
Indicates that a custom
Button
on one of the bots messages was clicked by a user. - ButtonInteractionEvent(JDA, long, ButtonInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- ButtonStyle - Enum in net.dv8tion.jda.api.interactions.components.buttons
-
The available styles used for
Buttons
. - BYPASSES_VERIFICATION - Enum constant in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The Member bypasses guild verification requirements
C
- cache(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether already retrieved entities should be stored within the internal cache.
- CacheFlag - Enum in net.dv8tion.jda.api.utils.cache
-
Flags used to enable cache services for JDA.
- cacheMember(Member) - Method in class net.dv8tion.jda.api.utils.cache.LRUMemberCachePolicy
- cacheMember(Member) - Method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Idempotent (ideally pure) function which decided whether to cache the provided member or not.
- CacheRestAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
-
Requests which can use cached values instead of making a request to Discord.
- cacheSize() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The current amount of cached entities for this PaginationAction
- CacheView<T> - Interface in net.dv8tion.jda.api.utils.cache
-
Read-only view on internal JDA cache of items.
- CacheView.SimpleCacheView<T> - Class in net.dv8tion.jda.api.utils.cache
-
Basic implementation of
CacheView
interface. - CALL - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used for Groups as a System-Message showing that a Call was started.
- CALLBACK - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- cancel() - Method in class net.dv8tion.jda.api.requests.Request
- cancel() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Cancel the request.
- cancel() - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Cancels the task and will emit a
CancellationException
. - cancel(boolean) - Method in class net.dv8tion.jda.api.requests.RestFuture
- cancel(boolean) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- CANCELED - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
- cancelRequests() - Method in interface net.dv8tion.jda.api.JDA
-
Cancels all currently scheduled
RestAction
requests. - cancelRequests() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Cancel all currently queued requests, which are not marked as
priority
. - cancelRequests() - Method in class net.dv8tion.jda.api.requests.SequentialRestRateLimiter
- cancelRequestToSpeak() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
Cancels the
Request-to-Speak
. - cancelRequestToSpeak() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Cancels the
Request-to-Speak
. - canDecode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Whether
OpusPacket.decode()
is possible. - canDelete() - Method in enum net.dv8tion.jda.api.entities.MessageType
-
Whether messages of this type can be deleted.
- canInteract(RichCustomEmoji) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided
RichCustomEmoji
(use in a message) - canInteract(Member) - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Whether the specified Member can interact with this emoji
- canInteract(Member) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided Member (kick/ban/etc.)
- canInteract(Role) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided
Role
(kick/ban/move/modify/delete/etc.) - canInteract(Role) - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this Role can interact with the specified Role.
- canInteract(User, MessageChannel) - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Whether the specified User can interact with this emoji within the provided MessageChannel
Same logic ascanInteract(issuer, channel, true)
! - canInteract(User, MessageChannel, boolean) - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Whether the specified User can interact with this emoji within the provided MessageChannel
Special override to exclude elevated bot permissions in case of (for instance) reacting to messages. - CANNOT_CREATE_STAGE_CHANNEL_FOR_EVENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_DELETE_CHANNEL_COMMUNITY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_DELETE_GUILD_INTEGRATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_EDIT_STICKER_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_EDIT_VOICE_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_EXPIRE_MISSING_POLL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_MESSAGE_VC - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_MODIFY_SYSTEM_WEBHOOK - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_RESIZE_BELOW_MAXIMUM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SELF_REDEEM_GIFT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SEND_MESSAGE_IN_FORUM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SEND_STICKER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SEND_SUPER_REACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SEND_TO_USER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_SEND_VOICE_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_UPDATE_FINISHED_EVENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_UPDATE_POLL_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- canProvide() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If this method returns true JDA will attempt to retrieve audio data from this handler by calling
AudioSendHandler.provide20MsAudio()
. - canReceiveCombined() - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If this method returns true, then JDA will generate combined audio data and provide it to the handler.
- canReceiveEncoded() - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If this method returns true, then JDA will provide raw OPUS encoded packets to
AudioReceiveHandler.handleEncodedAudio(OpusPacket)
. - canReceiveUser() - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If this method returns true, then JDA will provide audio data to the
AudioReceiveHandler.handleUserAudio(UserAudio)
method. - canSupportChoices() - Method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Whether options of this type support predefined choices.
- canSync(IPermissionContainer) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Whether the permissions of this PermissionHolder are good enough to sync the target channel with any other channel.
- canSync(IPermissionContainer, IPermissionContainer) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Whether the permissions of this PermissionHolder are good enough to sync the target channel with the sync source.
- canTalk() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
- canTalk() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Whether the currently logged in user can send messages in this channel or not.
- canTalk(Member) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Whether the specified
Member
can send messages in this channel. - Category - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents a channel category in the official Discord API.
- CATEGORY - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
Category
, Guild-Only. - CategoryManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing methods to modify a
Category
. - CategoryOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
-
An extension of
ChannelOrderAction
with similar functionality, but constrained to the bounds of a singleCategory
. - CERTIFIED_MODERATOR - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- channel(long) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.CHANNEL
with the provided id. - channel(String) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.CHANNEL
with the provided id. - Channel - Interface in net.dv8tion.jda.api.entities.channel
-
Abstract Channel interface for all
ChannelTypes
. - CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such as:ActionType.MEMBER_VOICE_MOVE
ActionType.MESSAGE_PIN
ActionType.MESSAGE_UNPIN
ActionType.MESSAGE_DELETE
Use withGuild.getGuildChannelById(String)
. - CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- CHANNEL - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
GuildChannel
The first and only group matches the id of the mention. - CHANNEL - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept a single
GuildChannel
- CHANNEL - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
- CHANNEL - Enum constant in enum net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.SelectTarget
- CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the channel field
- CHANNEL_AVAILABLE_TAGS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The available tags of this
ForumChannel
. - CHANNEL_BITRATE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
VoiceChannel.getBitrate()
value. - CHANNEL_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator created a
GuildChannel
- CHANNEL_DEFAULT_REACTION_EMOJI - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
IPostContainer.getDefaultReaction()
value. - CHANNEL_DEFAULT_SORT_ORDER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The
IPostContainer.getDefaultSortOrder()
value. - CHANNEL_DEFAULT_THREAD_SLOWMODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
IThreadContainer.getDefaultThreadSlowmode()
value. - CHANNEL_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted a
GuildChannel
. - CHANNEL_FLAGS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
flags
value. - CHANNEL_FOLLOW_ADD - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce when a crosspost webhook is added to a channel
- CHANNEL_ICON_CHANGE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used for Groups as a System-Message showing that the icon of the Group was changed.
- CHANNEL_ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The relevant channel for the audit log entry.
- CHANNEL_MESSAGE_WITH_SOURCE - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Immediately respond to an interaction with a message
- CHANNEL_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildChannel.getName()
value. - CHANNEL_NAME_CHANGE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used for Groups as a System-Message showing that the name of the Group was changed.
- CHANNEL_NSFW - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
IAgeRestrictedChannel.isNSFW()
value. - CHANNEL_OVERRIDE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator created a
PermissionOverride
. - CHANNEL_OVERRIDE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted a
PermissionOverride
. - CHANNEL_OVERRIDE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated
PermissionOverride
information. - CHANNEL_OVERRIDES - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The overrides for this channel.
- CHANNEL_PARENT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ICategorizableChannel.getParentCategory()
ICategorizable.getParentCategory()} value. - CHANNEL_PINNED_ADD - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used in MessageChannels as a System-Message to announce new pins
- CHANNEL_REGION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Region
value. - CHANNEL_SELECT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu of channels
- CHANNEL_SLOWMODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ISlowmodeChannel.getSlowmode()
value. - CHANNEL_TOPIC - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
TextChannel.getTopic()
value. - CHANNEL_TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The integer type of this channel.
- CHANNEL_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated
GuildChannel
information. - CHANNEL_USER_LIMIT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
VoiceChannel.getUserLimit()
value. - CHANNEL_VOICE_STATUS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
VoiceChannel.getStatus()
value. - CHANNEL_WRITE_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ChannelAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aGuildChannel
. - ChannelCacheView<T> - Interface in net.dv8tion.jda.api.utils.cache
-
Specialized
SnowflakeCacheView
type used for handling channels. - ChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel
-
Indicates that a
Channel
was created. - ChannelCreateEvent(JDA, long, Channel) - Constructor for class net.dv8tion.jda.api.events.channel.ChannelCreateEvent
- ChannelData(ChannelType, String) - Constructor for class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Constructs a data object containing information on a
GuildChannel
to be used in the construction of aGuild
! - ChannelDeleteEvent - Class in net.dv8tion.jda.api.events.channel
-
Indicates that a
Channel
was deleted. - ChannelDeleteEvent(JDA, long, Channel) - Constructor for class net.dv8tion.jda.api.events.channel.ChannelDeleteEvent
- ChannelField - Enum in net.dv8tion.jda.api.entities.channel
-
This enum represents the attributes of a channel that can be modified by events.
- ChannelFlag - Enum in net.dv8tion.jda.api.entities.channel
-
Flags for specific channel settings.
- ChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel -
Manager providing functionality to update one or more fields for a
GuildChannel
. - ChannelOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
- ChannelReference(long, String) - Constructor for class net.dv8tion.jda.api.entities.Webhook.ChannelReference
- Channels() - Constructor for class net.dv8tion.jda.api.requests.Route.Channels
- CHANNELS - Static variable in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Used to reset the channels field
- ChannelType - Enum in net.dv8tion.jda.api.entities.channel
-
Enum used to differentiate between the different types of Discord channels.
- ChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
Channel
. - ChannelUpdateAppliedTagsEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that the tags applied to a
forum post thread
have been updated. - ChannelUpdateAppliedTagsEvent(JDA, long, ThreadChannel, List<Long>, List<Long>) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- ChannelUpdateArchivedEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
archived state has been updated. - ChannelUpdateArchivedEvent(JDA, long, Channel, Boolean, Boolean) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchivedEvent
- ChannelUpdateArchiveTimestampEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
archival timestamp was updated. - ChannelUpdateArchiveTimestampEvent(JDA, long, Channel, long, long) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- ChannelUpdateAutoArchiveDurationEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
auto archive duration has been updated. - ChannelUpdateAutoArchiveDurationEvent(JDA, long, Channel, ThreadChannel.AutoArchiveDuration, ThreadChannel.AutoArchiveDuration) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAutoArchiveDurationEvent
- ChannelUpdateBitrateEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
bitrate has been updated. - ChannelUpdateBitrateEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateBitrateEvent
- ChannelUpdateDefaultLayoutEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that the
default layout
of aForumChannel
changed. - ChannelUpdateDefaultLayoutEvent(JDA, long, Channel, ForumChannel.Layout, ForumChannel.Layout) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultLayoutEvent
- ChannelUpdateDefaultReactionEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that the
default reaction emoji
of aIPostContainer
changed. - ChannelUpdateDefaultReactionEvent(JDA, long, IPostContainer, EmojiUnion, EmojiUnion) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultReactionEvent
- ChannelUpdateDefaultSortOrderEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that the
default sort order
of aIPostContainer
changed. - ChannelUpdateDefaultSortOrderEvent(JDA, long, IPostContainer, IPostContainer.SortOrder) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultSortOrderEvent
- ChannelUpdateDefaultThreadSlowmodeEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that the
default thread slowmode
of athread container channel
changed. - ChannelUpdateDefaultThreadSlowmodeEvent(JDA, long, Channel, int, int) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- ChannelUpdateFlagsEvent - Class in net.dv8tion.jda.api.events.channel.update
- ChannelUpdateFlagsEvent(JDA, long, Channel, EnumSet<ChannelFlag>, EnumSet<ChannelFlag>) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- ChannelUpdateInvitableEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
invitable state has been updated. - ChannelUpdateInvitableEvent(JDA, long, Channel, boolean, boolean) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateInvitableEvent
- ChannelUpdateLockedEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
locked state has been updated. - ChannelUpdateLockedEvent(JDA, long, Channel, Boolean, Boolean) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateLockedEvent
- ChannelUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
name has been updated. - ChannelUpdateNameEvent(JDA, long, Channel, String, String) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNameEvent
- ChannelUpdateNSFWEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channels
nsfw state has been updated. - ChannelUpdateNSFWEvent(JDA, long, Channel, Boolean, Boolean) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNSFWEvent
- ChannelUpdateParentEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
parent has been updated. - ChannelUpdateParentEvent(JDA, long, Channel, Category, Category) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateParentEvent
- ChannelUpdatePositionEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
position has been updated. - ChannelUpdatePositionEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdatePositionEvent
- ChannelUpdateRegionEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
region has been updated. - ChannelUpdateRegionEvent(JDA, long, Channel, Region, Region) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateRegionEvent
- ChannelUpdateSlowmodeEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
slow mode has been updated. - ChannelUpdateSlowmodeEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateSlowmodeEvent
- ChannelUpdateTopicEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
topic has been updated. - ChannelUpdateTopicEvent(JDA, long, Channel, String, String) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTopicEvent
- ChannelUpdateTypeEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
ChannelType
was updated. - ChannelUpdateTypeEvent(JDA, long, Channel, ChannelType, ChannelType) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTypeEvent
- ChannelUpdateUserLimitEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
user limit was updated. - ChannelUpdateUserLimitEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateUserLimitEvent
- ChannelUpdateVoiceStatusEvent - Class in net.dv8tion.jda.api.events.channel.update
-
Indicates that a
Channel's
voice channel status has been updated. - ChannelUpdateVoiceStatusEvent(JDA, long, Channel, String, String) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateVoiceStatusEvent
- CHINESE_CHINA - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- CHINESE_TAIWAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- Choice(String, double) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Create a Choice tuple
- Choice(String, long) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Create a Choice tuple
- Choice(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Create a Choice tuple
- Choice(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Create a Choice tuple
- ChunkingFilter - Interface in net.dv8tion.jda.api.utils
-
Filter function for member chunking of guilds.
- clear() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Resets this builder to default state.
- clear() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
Clears this builder's state, resetting it to the initial state identical to creating a new instance.
- clear() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- clear() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- clear(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - clear(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - CLEAR_EMOJI_REACTIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- clearFields() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Clears all fields from the embed, such as those created with the
EmbedBuilder(MessageEmbed)
constructor or via theaddField
methods. - clearOptions() - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Removes all existing options/subcommands/groups from this command.
- clearOverridesAdded() - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Clears the overrides added via
IPermissionContainerManager.putPermissionOverride(IPermissionHolder, Collection, Collection)
. - clearOverridesRemoved() - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Clears the overrides removed via
IPermissionContainerManager.removePermissionOverride(IPermissionHolder)
. - clearPermissionOverrides() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes all currently configured permission overrides
- clearReactions() - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes all reactions from this Message.
- clearReactions() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this entire reaction from the message.
- clearReactions(Emoji) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes all reactions for the specified
Emoji
. - clearReactionsById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Attempts to remove all reactions from a message with the specified
messageId
in this TextChannel
This is useful for moderator commands that wish to remove all reactions at once from a specific message. - clearReactionsById(long, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- clearReactionsById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Attempts to remove all reactions from a message with the specified
messageId
in this TextChannel
This is useful for moderator commands that wish to remove all reactions at once from a specific message. - clearReactionsById(String, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- clearWelcomeChannels() - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Removes all welcome channels.
- CLIENT_STATUS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getOnlineStatus(ClientType)
- ClientType - Enum in net.dv8tion.jda.api.entities
-
The type of client a user might be active on.
- closable(String) - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Creates a new
ThreadLocalReason.Closable
instance. - Closable(String) - Constructor for class net.dv8tion.jda.api.audit.ThreadLocalReason.Closable
- ClosableIterator<T> - Interface in net.dv8tion.jda.api.utils
-
Iterator holding a resource that must be free'd by the consumer.
- close() - Method in class net.dv8tion.jda.api.audit.ThreadLocalReason.Closable
- close() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- close() - Method in class net.dv8tion.jda.api.requests.Response
- close() - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- close() - Method in interface net.dv8tion.jda.api.utils.ClosableIterator
- close() - Method in class net.dv8tion.jda.api.utils.FileUpload
- close() - Method in class net.dv8tion.jda.api.utils.LockIterator
- close() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
- close() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
- closeAudioConnection() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Close down the current audio connection of this
Guild
and disconnects from theAudioChannel
. - CloseCode - Enum in net.dv8tion.jda.api.requests
-
Constants representing main gateway close codes with association to an explaining message.
- closeFiles() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
Closes and removes all
FileUploads
added to this builder. - closeFiles() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- closeFiles() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- closeResources() - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction
-
Closes all owned resources used for this request.
- closeResources() - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
- closeResources() - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
- CLOUD_FLARE_LOAD - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- CLOUDFLARE_BLOCKED_REQUEST - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- code - Variable in class net.dv8tion.jda.api.requests.Response
- codeblock(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing codeblock regions in the input and applies codeblock formatting to the entire string.
- codeblock(String, String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing codeblock regions in the input and applies codeblock formatting to the entire string.
- collect(Collector<? super T, A, R>) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Collects all cached entities into a single Collection using the provided
Collector
. - COLOR - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the color field
- CombinedAudio - Class in net.dv8tion.jda.api.audio
-
Represents a packet of combined audio data from 0 to n Users.
- CombinedAudio(List<User>, short[]) - Constructor for class net.dv8tion.jda.api.audio.CombinedAudio
- Command - Interface in net.dv8tion.jda.api.interactions.commands
-
Represents a Discord slash-command.
- COMMAND - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.PrivilegeTargetType
-
Indicates that privileges have been updated on a command.
- COMMAND - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- COMMAND_AUTOCOMPLETE - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- COMMAND_AUTOCOMPLETE_CHOICES - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Provide auto-complete choices for a command
- Command.Choice - Class in net.dv8tion.jda.api.interactions.commands
-
Predefined choice used for options.
- Command.Option - Class in net.dv8tion.jda.api.interactions.commands
-
An Option for a command.
- Command.Subcommand - Class in net.dv8tion.jda.api.interactions.commands
-
An Subcommand for a command.
- Command.SubcommandGroup - Class in net.dv8tion.jda.api.interactions.commands
-
An Subcommand Group for a command.
- Command.Type - Enum in net.dv8tion.jda.api.interactions.commands
-
Possible command types
- CommandAutoCompleteInteraction - Interface in net.dv8tion.jda.api.interactions.commands
-
Interaction for auto-complete options in slash-commands.
- CommandAutoCompleteInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a user is typing in an
option
which supportsauto-complete
. - CommandAutoCompleteInteractionEvent(JDA, long, CommandAutoCompleteInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- CommandCreateAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used to create or update commands. - CommandData - Interface in net.dv8tion.jda.api.interactions.commands.build
-
Builder for Application Commands.
- CommandEditAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used to edit an existing command. - CommandInteraction - Interface in net.dv8tion.jda.api.interactions.commands
-
Interaction of any Application Command.
- CommandInteractionPayload - Interface in net.dv8tion.jda.api.interactions.commands
-
Interactions which provide command data.
- CommandListUpdateAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used to replace existing commands of a guild or globally. - Commands - Class in net.dv8tion.jda.api.interactions.commands.build
-
Provides various static factory methods for building commands of different types.
- Commands() - Constructor for class net.dv8tion.jda.api.interactions.commands.build.Commands
- COMMIT_HASH - Static variable in class net.dv8tion.jda.api.JDAInfo
- COMMUNITY_UPDATES_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the community updates channel field
- compareTo(Delayed) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- compareTo(OpusPacket) - Method in class net.dv8tion.jda.api.audio.OpusPacket
- compareTo(ForumTag) - Method in interface net.dv8tion.jda.api.entities.channel.forums.ForumTag
- compareTo(ScheduledEvent) - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Compares two
ScheduledEvent
objects based on their scheduled start times. - competing(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- COMPETING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asCompeting in...
in the official client. - compile(String...) - Method in class net.dv8tion.jda.api.requests.Route
-
Compile the route with provided parameters.
- complete() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Blocks the current Thread and awaits the completion of an
RestAction.submit()
request. - complete(boolean) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Blocks the current Thread and awaits the completion of an
RestAction.submit()
request. - completeAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Blocks the current Thread for the specified delay and calls
RestAction.complete()
when delay has been reached. - COMPLETED - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
- COMPLETED_ONBOARDING - Enum constant in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The Member has completed the onboarding process
- Component - Interface in net.dv8tion.jda.api.interactions.components
-
Component of a Message or Modal.
- COMPONENT - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- Component.Type - Enum in net.dv8tion.jda.api.interactions.components
-
The component types
- ComponentInteraction - Interface in net.dv8tion.jda.api.interactions.components
-
Interaction on a message
ActionComponent
. - COMPRESSED - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- Compression - Enum in net.dv8tion.jda.api.utils
-
Compression algorithms that can be used with JDA.
- compute(String) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Computes the provided input.
- ConcurrentSessionController - Class in net.dv8tion.jda.api.utils
-
Implementation of
SessionController
which respects concurrent shard login. - ConcurrentSessionController() - Constructor for class net.dv8tion.jda.api.utils.ConcurrentSessionController
- connect(AudioChannel) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
Requests a voice server endpoint for connecting to the voice gateway.
- CONNECTED - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
The audio connection has been successfully setup and is ready for use.
- CONNECTED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has finished loading everything, is receiving information from Discord and is firing events.
- CONNECTING_ATTEMPTING_UDP_DISCOVERY - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
JDA successfully authenticated the audio websocket and it now attempting UDP discovery.
- CONNECTING_AWAITING_AUTHENTICATION - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
JDA has connected the audio websocket to Discord and has sent the authentication information, awaiting reply.
- CONNECTING_AWAITING_ENDPOINT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
JDA is waiting on Discord to send a valid endpoint which to connect the audio websocket to.
- CONNECTING_AWAITING_READY - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
After determining our external ip and port, JDA forwards this information to Discord so that it can send audio packets for us to properly receive.
- CONNECTING_AWAITING_WEBSOCKET_CONNECT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
JDA has received a valid endpoint and is attempting to setup and connect the audio websocket
- CONNECTING_TO_WEBSOCKET - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is currently attempting to connect it's websocket to Discord.
- CONNECTION_REVOKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ConnectionListener - Interface in net.dv8tion.jda.api.audio.hooks
-
Used to monitor an audio connection, ping, and speaking users.
- ConnectionStatus - Enum in net.dv8tion.jda.api.audio.hooks
-
Represents the connection status of an audio connection.
- consume() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
Consumes the
Entitlement
if it has not already been consumed. - CONSUME_ENTITLEMENT - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- context(Command.Type, String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a context menu command builder for the specified command type.
- CONTEXT_COMMAND - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This message was created by an interaction.
- ContextException - Exception Class in net.dv8tion.jda.api.exceptions
-
Used to pass a context to async exception handling for debugging purposes.
- ContextException() - Constructor for exception class net.dv8tion.jda.api.exceptions.ContextException
- ContextException.ContextConsumer - Class in net.dv8tion.jda.api.exceptions
-
Wrapper for a failure
Consumer
that carries aContextException
as cause. - ContextInteraction<T> - Interface in net.dv8tion.jda.api.interactions.commands.context
-
Represents application comments which are invoked as context menu items in the client UI.
- ContextInteraction.ContextTarget - Enum in net.dv8tion.jda.api.interactions.commands.context
-
The target type, of a context interaction.
- copyFrom(EmbedBuilder) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Copies the data from the given builder into this builder.
- copyFrom(MessageEmbed) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Copies the data from the given embed into this builder.
- COUNT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible detail for
ActionType.MESSAGE_DELETE
ActionType.MESSAGE_BULK_DELETE
ActionType.MEMBER_VOICE_KICK
ActionType.MEMBER_VOICE_MOVE
describing the amount of targeted entities. - create() - Static method in interface net.dv8tion.jda.api.requests.RestRateLimiter.GlobalRateLimit
-
Creates a default instance of this interface.
- create(String) - Static method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
-
Creates a new
StringSelectMenu.Builder
for a select menu with the provided custom id. - create(String, String) - Static method in interface net.dv8tion.jda.api.interactions.modals.Modal
-
Creates a new Modal.
- create(String, String, TextInputStyle) - Static method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
Creates a new TextInput Builder.
- create(String, Collection<EntitySelectMenu.SelectTarget>) - Static method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
Creates a new
EntitySelectMenu.Builder
for a select menu with the provided custom id. - create(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with the predefined token.
- create(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with the predefined token.
- create(String, ErrorResponseException) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
- create(String, EntitySelectMenu.SelectTarget, EntitySelectMenu.SelectTarget...) - Static method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
Creates a new
EntitySelectMenu.Builder
for a select menu with the provided custom id. - create(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with the predefined token.
- create(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with the predefined token.
- create(Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a completely empty JDABuilder with the predefined intents.
- create(Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a completely empty DefaultShardManagerBuilder with the predefined intents.
- create(ErrorResponse, Response) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
- create(GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a completely empty JDABuilder with the predefined intents.
- create(GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a completely empty DefaultShardManagerBuilder with the predefined intents.
- CREATE_APPLICATION_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- CREATE_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- CREATE_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- CREATE_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Emojis
- CREATE_FOLLOWUP - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- CREATE_GUILD - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- CREATE_GUILD_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- CREATE_GUILD_EXPRESSIONS - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_GUILD_FROM_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- CREATE_GUILD_STICKER - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- CREATE_INSTANCE - Static variable in class net.dv8tion.jda.api.requests.Route.StageInstances
- CREATE_INSTANT_INVITE - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_INTEGRATION - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- CREATE_INVITE - Static variable in class net.dv8tion.jda.api.requests.Route.Invites
- CREATE_PERM_OVERRIDE - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- CREATE_PRIVATE_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- CREATE_PRIVATE_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_PUBLIC_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Roles
- CREATE_RULE - Static variable in class net.dv8tion.jda.api.requests.Route.AutoModeration
- CREATE_SCHEDULED_EVENT - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- CREATE_SCHEDULED_EVENTS - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- CREATE_TEST_ENTITLEMENT - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- CREATE_THREAD - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- CREATE_THREAD_FROM_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- CREATE_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- createApplicationEmoji(String, Icon) - Method in interface net.dv8tion.jda.api.JDA
-
Creates a new
ApplicationEmoji
for this bot. - createAutoModRule(AutoModRuleData) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
AutoModRule
for this guild. - createCategory(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Category
in this Guild. - createClient(JDA, String) - Static method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Creates an instance of
IncomingWebhookClient
capable of executing webhook requests. - createClient(JDA, String, String) - Static method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Creates an instance of
IncomingWebhookClient
capable of executing webhook requests. - createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICopyableChannel
-
Creates a copy of the specified
GuildChannel
. - createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.MediaChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.TextChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildMessageChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.Role
- createCopy() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- createCopy() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Creates a copy of this
LayoutComponent
. - createCopy() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
Creates a new preconfigured
EntitySelectMenu.Builder
with the same settings used for this select menu. - createCopy() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
Creates a new preconfigured
SelectMenu.Builder
with the same settings used for this select menu. - createCopy() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
-
Creates a new preconfigured
StringSelectMenu.Builder
with the same settings used for this select menu. - createCopy() - Method in interface net.dv8tion.jda.api.interactions.modals.Modal
-
Creates a new preconfigured
Modal.Builder
with the same settings used for this modal. - createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICopyableChannel
-
Creates a copy of the specified
GuildChannel
in the specifiedGuild
. - createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.MediaChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.TextChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildMessageChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.Role
- createCopyOfChannel(T) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a copy of the specified
GuildChannel
in thisGuild
. - createCopyOfRole(Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- createDefault(String) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with recommended default settings.
- createDefault(String) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with recommended default settings.
- createDefault(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with recommended default settings.
- createDefault(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with recommended default settings.
- createDefault(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with recommended default settings.
- createDefault(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with recommended default settings.
- createEmoji(String, Icon, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
RichCustomEmoji
in this Guild. - createErrorResponseException(Response) - Method in class net.dv8tion.jda.api.requests.Request
- createForumChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
ForumChannel
with this Category as parent. - createForumChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
ForumChannel
in this Guild. - createForumChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
ForumChannel
in this Guild. - createForumPost(String, MessageCreateData) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
Creates a new forum/media post (thread) in this channel.
- createGuild(String) - Method in interface net.dv8tion.jda.api.JDA
-
Constructs a new
Guild
with the specified name
Use the returnedGuildAction
to provide further details and settings for the resulting Guild! - createGuildFromTemplate(String, String, Icon) - Method in interface net.dv8tion.jda.api.JDA
-
Constructs a new
Guild
from the specified template code. - createInvite() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IInviteContainer
-
Creates a new
InviteAction
which can be used to create a newInvite
. - createLight(String) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with low memory profile settings.
- createLight(String) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with low memory profile settings.
- createLight(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with low memory profile settings.
- createLight(String, Collection<GatewayIntent>) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with low memory profile settings.
- createLight(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with low memory profile settings.
- createLight(String, GatewayIntent, GatewayIntent...) - Static method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with low memory profile settings.
- createMediaChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
MediaChannel
with this Category as parent. - createMediaChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
MediaChannel
in this Guild. - createMediaChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
MediaChannel
in this Guild. - createMultipartBody(List<? extends AttachedFile>) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Build a complete request using the provided files and payload data.
- createMultipartBody(List<? extends AttachedFile>, DataObject) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Build a complete request using the provided files and payload data.
- createMultipartBody(List<? extends AttachedFile>, RequestBody) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Build a complete request using the provided files and payload data.
- createNewsChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
NewsChannel
with this Category as parent. - createNewsChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
NewsChannel
in this Guild. - createNewsChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
NewsChannel
in this Guild. - createRole() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Role
in this Guild. - createScheduledEvent(String, String, OffsetDateTime, OffsetDateTime) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
ScheduledEvent
. - createScheduledEvent(String, GuildChannel, OffsetDateTime) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
ScheduledEvent
. - createSendSystem(IPacketProvider) - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendFactory
- createSendSystem(IPacketProvider) - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendFactory
-
Called by JDA's audio system when a new
IAudioSendSystem
instance is needed to handle the sending of UDP audio packets to discord. - createStageChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
StageChannel
with this Category as parent. - createStageChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
StageChannel
in this Guild. - createStageChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
StageChannel
in this Guild. - createStageInstance(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
Create a new
StageInstance
for this stage channel. - createSticker(String, String, FileUpload, String, String...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
GuildSticker
in this Guild. - createSticker(String, String, FileUpload, Collection<String>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
GuildSticker
in this Guild. - createTemplate(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to create a new
Template
for this Guild. - createTestEntitlement(long, long, TestEntitlementCreateAction.OwnerType) - Method in interface net.dv8tion.jda.api.JDA
-
Constructs a new
Entitlement
with the skuId and the type. - createTestEntitlement(String, String, TestEntitlementCreateAction.OwnerType) - Method in interface net.dv8tion.jda.api.JDA
-
Constructs a new
Entitlement
with the skuId and the type. - createTextChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
TextChannel
with this Category as parent. - createTextChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
TextChannel
in this Guild. - createTextChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
TextChannel
in this Guild. - createThread(String, ForumTagSnowflake...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction
-
Create a new thread channel for this webhook message.
- createThread(ThreadCreateMetadata) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction
-
Create a new thread channel for this webhook message.
- createThreadChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Creates a new public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates a new, public
ThreadChannel
spawning/starting at thisMessage
inside theIThreadContainer
this message was sent in. - createThreadChannel(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Creates a new
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String, long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Creates a new, public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String, String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Creates a new, public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createVoiceChannel(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Creates a new
VoiceChannel
with this Category as parent. - createVoiceChannel(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
VoiceChannel
in this Guild. - createVoiceChannel(String, Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
VoiceChannel
in this Guild. - createWebhook(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IWebhookContainer
-
Creates a new
Webhook
. - CREATION_TIME - Enum constant in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
Sort by the time the post was originally created.
- CROATIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- crosspost() - Method in interface net.dv8tion.jda.api.entities.Message
-
Attempts to crosspost this message.
- CROSSPOST_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- CROSSPOSTED - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
The Message has been published to subscribed Channels (via Channel Following)
- crosspostMessageById(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
-
Attempts to crosspost the provided message.
- crosspostMessageById(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
-
Attempts to crosspost the provided message.
- custom(Method, String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the given HTTP method.
- CUSTOM - Enum constant in enum net.dv8tion.jda.api.entities.emoji.Emoji.Type
-
Custom Guild Emoji or Custom Application Emoji.
- CUSTOM_STATUS - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display as a custom status in the official client. - CustomEmoji - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents a minimal custom emoji.
- CustomEmojiManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for an
RichCustomEmoji
. - CustomKeywordTriggerConfig - Class in net.dv8tion.jda.api.entities.automod.build
-
Configuration for a
KEYWORD
trigger. - customStatus(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- CZECH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
D
- danger(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
DANGER
Style. - danger(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
DANGER
Style. - DANGER - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Danger/Deny button style, usually in red.
- DANISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- DARK - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
- DataArray - Class in net.dv8tion.jda.api.utils.data
-
Represents a list of values used in communication with the Discord API.
- DataObject - Class in net.dv8tion.jda.api.utils.data
-
Represents a map of values used in communication with the Discord API.
- DataPath - Class in net.dv8tion.jda.api.utils.data
-
This utility class can be used to access nested values within
DataObjects
andDataArrays
. - DataPath() - Constructor for class net.dv8tion.jda.api.utils.data.DataPath
- DataType - Enum in net.dv8tion.jda.api.utils.data
-
Enum constants representing possible types for a
DataObject
value. - DATE_LONG - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date as
16 June 2021
- DATE_SHORT - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date as
16/06/2021
or06/16/2021
- DATE_TIME_LONG - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date and time as
Wednesday, 16 June 2021 18:49
orWednesday, June 16, 2021 6:49 PM
- DATE_TIME_SHORT - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date and time as
16 June 2021 18:49
orJune 16, 2021 6:49 PM
- DATETIME_GREATER_THAN_OR_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- DATETIME_LESS_THAN_OR_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- deadline() - Element in annotation type net.dv8tion.jda.annotations.ForRemoval
-
Version which will most likely remove this feature.
- deadline(long) - Method in interface net.dv8tion.jda.api.managers.Manager
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.FluentRestAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Similar to
RestAction.timeout(long, TimeUnit)
but schedules a deadline at which the request has to be completed. - deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.CacheRestAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Similar to
RestAction.timeout(long, TimeUnit)
but schedules a deadline at which the request has to be completed. - deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- deafen(boolean) - Method in interface net.dv8tion.jda.api.entities.Member
-
Sets the Guild Deafened state state of this Member based on the provided boolean.
- deafen(UserSnowflake, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sets the Guild Deafened state of the
Member
based on the provided boolean. - declineSpeaker() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
- declineSpeaker() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
-
Reject this members
request to speak
. - decode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Attempts to decode the opus packet.
- DECODE_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- DEFAULT - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Discord has not rated this guild.
- DEFAULT - Enum constant in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
This message reference indicates a replied to message
- DEFAULT - Enum constant in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
- DEFAULT - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
The normal text messages received when a user or bot sends a Message.
- DEFAULT - Static variable in enum net.dv8tion.jda.api.requests.GatewayIntent
-
All intents with some disabled: GUILD_MEMBERS (because its privileged) GUILD_PRESENCES (because its privileged) MESSAGE_CONTENT (because its privileged) GUILD_WEBHOOKS because its not useful for most bots GUILD_MESSAGE_TYPING because its not useful for most bots DIRECT_MESSAGE_TYPING because its not useful for most bots To use these intents you have to pass no other intents to
createLight(token)
orcreateDefault(token)
. - DEFAULT - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
The default policy to use with
JDABuilder.createDefault(String)
. - DEFAULT - Static variable in enum net.dv8tion.jda.api.utils.TimeFormat
-
The default time format used when no style is provided.
- DEFAULT_ACCENT_COLOR_RAW - Static variable in interface net.dv8tion.jda.api.entities.User
-
Used to keep consistency between color values used in the API
- DEFAULT_AVATAR_URL - Static variable in interface net.dv8tion.jda.api.entities.User
-
Template for
UserSnowflake.getDefaultAvatarUrl()
- DEFAULT_BASE_URL - Static variable in class net.dv8tion.jda.api.requests.RestConfig
-
The default base url used by JDA for all REST-api requests.
- DEFAULT_COLOR_RAW - Static variable in interface net.dv8tion.jda.api.entities.Role
-
Used to keep consistency between color values used in the API
- DEFAULT_CONNECTION_TIMEOUT - Static variable in interface net.dv8tion.jda.api.managers.AudioManager
- DEFAULT_FORUM_LAYOUT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The
ForumChannel.getDefaultLayout()
value. - DEFAULT_FORUM_LAYOUT - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The default layout of a forum channel.
- DEFAULT_LAYOUT - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the default layout field
- DEFAULT_REACTION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the default reaction emoji field
- DEFAULT_REACTION_EMOJI - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The default reaction emoji used in a
ForumChannel
. - DEFAULT_SORT_ORDER - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The default sort order of a forum channel.
- DEFAULT_SORT_ORDER - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the default sort order field
- DEFAULT_THREAD_FACTORY - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- DEFAULT_THREAD_SLOWMODE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The default slowmode applied to threads in a
ThreadContainer
. - DEFAULT_THREAD_SLOWMODE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the default thread slowmode of a thread container
- DEFAULT_VIEW - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Displayed as default (not set).
- DefaultGuildChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A specialized union representing all channel types that can be used for the "default" channel for
Guild.getDefaultChannel()
orMember.getDefaultChannel()
. - DefaultMemberPermissions - Class in net.dv8tion.jda.api.interactions.commands
-
Represents the default permissions for a Discord Application-Command.
- DefaultSendFactory - Class in net.dv8tion.jda.api.audio.factory
-
The default implementation of the
IAudioSendFactory
. - DefaultSendFactory() - Constructor for class net.dv8tion.jda.api.audio.factory.DefaultSendFactory
- DefaultSendSystem - Class in net.dv8tion.jda.api.audio.factory
-
The default implementation of the
IAudioSendSystem
. - DefaultSendSystem(IPacketProvider) - Constructor for class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- DefaultShardManager - Class in net.dv8tion.jda.api.sharding
-
JDA's default
ShardManager
implementation. - DefaultShardManager(String) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManager(String, Collection<Integer>) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManager(String, Collection<Integer>, ShardingConfig, EventConfig, PresenceProviderConfig, ThreadingProviderConfig, ShardingSessionConfig, ShardingMetaConfig, IntFunction<? extends RestConfig>, ChunkingFilter) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManagerBuilder - Class in net.dv8tion.jda.api.sharding
-
Used to create new instances of JDA's default
ShardManager
implementation. - defer(Supplier<? extends E>) - Static method in class net.dv8tion.jda.api.utils.Result
-
Creates a result instance from the provided supplier.
- deferEdit() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- deferEdit() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- deferEdit() - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
No-op acknowledgement of this interaction.
- DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Delayed or Deferred response to an interaction, this sends a "Thinking..." message to the channel
- DEFERRED_MESSAGE_UPDATE - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Defer the update of the message for a component interaction
- deferReply() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- deferReply() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- deferReply() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- deferReply() - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Acknowledge this interaction and defer the reply to a later time.
- deferReply(boolean) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Acknowledge this interaction and defer the reply to a later time.
- delay(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- delay(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- delay(Duration) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- delay(Duration, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- DelayedCompletableFuture<T> - Class in net.dv8tion.jda.api.utils.concurrent
-
Specialized
CompletableFuture
used in combination with a scheduler. - delete() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
Deletes this rule.
- delete() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
-
Deletes this Channel.
- delete() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
Deletes this GuildChannel.
- delete() - Method in interface net.dv8tion.jda.api.entities.emoji.ApplicationEmoji
-
Deletes this emoji.
- delete() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Deletes this emoji.
- delete() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to completely delete a Guild.
- delete() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Deletes this invite.
- delete() - Method in interface net.dv8tion.jda.api.entities.Message
-
Deletes this Message from Discord.
- delete() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Deletes this PermissionOverride.
- delete() - Method in interface net.dv8tion.jda.api.entities.Role
-
Deletes this Role.
- delete() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Deletes this Scheduled Event.
- delete() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
Deletes this stage instance
- delete() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
Deletes this sticker from the guild.
- delete() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Deletes this template.
- delete() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
Deletes this Webhook.
- delete() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Delete this command.
- delete(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to completely delete a guild.
- delete(String) - Method in interface net.dv8tion.jda.api.entities.Webhook
-
Deletes this Webhook.
- delete(String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the with the
DELETE
method. - DELETE - Enum constant in enum net.dv8tion.jda.api.requests.Method
- DELETE_APPLICATION_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- DELETE_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- DELETE_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- DELETE_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Emojis
- DELETE_FOLLOWUP - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- DELETE_GUILD - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- DELETE_GUILD_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- DELETE_GUILD_STICKER - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- DELETE_INSTANCE - Static variable in class net.dv8tion.jda.api.requests.Route.StageInstances
- DELETE_INTEGRATION - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- DELETE_INVITE - Static variable in class net.dv8tion.jda.api.requests.Route.Invites
- DELETE_MEMBER_DAYS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the period of inactivity for that prune. - DELETE_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- DELETE_MESSAGES - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- DELETE_PERM_OVERRIDE - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- DELETE_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Roles
- DELETE_RULE - Static variable in class net.dv8tion.jda.api.requests.Route.AutoModeration
- DELETE_SCHEDULED_EVENT - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- DELETE_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- DELETE_TEST_ENTITLEMENT - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- DELETE_TOKEN_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- DELETE_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- deleteAutoModRuleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deletes the
AutoModRule
for the provided id. - deleteAutoModRuleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deletes the
AutoModRule
for the provided id. - deleteCommandById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Delete the command for this id.
- deleteCommandById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Delete the global command for this id.
- deleteCommandById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Delete the command for this id.
- deleteCommandById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Delete the global command for this id.
- deleteMessageById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to delete a
Message
from the Discord servers that has the same id as the id provided. - deleteMessageById(long) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Delete a message from this webhook.
- deleteMessageById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to delete a
Message
from the Discord servers that has the same id as the id provided. - deleteMessageById(String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Delete a message from this webhook.
- deleteMessages(Collection<Message>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Bulk deletes a list of messages.
- deleteMessagesByIds(Collection<String>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Bulk deletes a list of messages.
- deleteOriginal() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Delete the original reply.
- deleteSticker(StickerSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deletes a sticker from the guild.
- deleteTestEntitlement(long) - Method in interface net.dv8tion.jda.api.JDA
-
Deletes a test entitlement by its id.
- deleteTestEntitlement(String) - Method in interface net.dv8tion.jda.api.JDA
-
Deletes a test entitlement by its id.
- deleteWebhookById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IWebhookContainer
-
Deletes a
Webhook
attached to this channel by theid
specified. - DENIED - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset the denied field
- deny(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
bits from the selectedPermissionOverride
. - deny(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- deny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - deny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- deny(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - deny(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- DeprecatedSince - Annotation Type in net.dv8tion.jda.annotations
-
In combination with
Deprecated
specifies when this feature was marked as deprecated. - DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the description field
- DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Used to reset description field
- DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Used to reset the description field
- DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the description field
- DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.TemplateManager
-
Used to reset the description field
- DESCRIPTION_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length the description of an embed can have
- DESCRIPTION_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The maximum length a select option description can have
- DESKTOP - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
The official discord desktop client
- DEVELOPER - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Members which can access information about team-owned apps, like the client secret or public key.
- DEVELOPER_GIFT - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was gifted by developer
- DID_REJOIN - Enum constant in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The Member has left and rejoined the guild
- DIRECT_MESSAGE_POLLS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Events for poll votes in
PrivateChannels
. - DIRECT_MESSAGE_REACTIONS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message reaction events in private channels.
- DIRECT_MESSAGE_TYPING - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Typing events in private channels.
- DIRECT_MESSAGES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message events in private channels.
- DirectAudioController - Interface in net.dv8tion.jda.api.managers
-
Direct access to internal gateway communication.
- disableCache(Collection<CacheFlag>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Disable specific cache flags.
- disableCache(Collection<CacheFlag>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Disable specific cache flags.
- disableCache(CacheFlag, CacheFlag...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Disable specific cache flags.
- disableCache(CacheFlag, CacheFlag...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Disable specific cache flags.
- DISABLED - Static variable in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
"Empty" permissions of a command.
- disableIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Disable the specified
GatewayIntents
. - disableIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Disable the specified
GatewayIntents
. - disableIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Disable the specified
GatewayIntents
. - disableIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Disable the specified
GatewayIntents
. - disablePresets(Collection<AutoModRule.KeywordPreset>) - Method in class net.dv8tion.jda.api.entities.automod.build.PresetKeywordTriggerConfig
-
Disable the provided keyword preset lists.
- disablePresets(AutoModRule.KeywordPreset...) - Method in class net.dv8tion.jda.api.entities.automod.build.PresetKeywordTriggerConfig
-
Disable the provided keyword preset lists.
- DISALLOWED_INTENTS - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- disconnect(Guild) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
Requests to terminate the connection to a voice channel.
- DISCONNECTED - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session has disconnected, possibly to resume.
- DISCONNECTED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA's main websocket has been disconnected.
- DISCONNECTED_AUTHENTICATION_FAILURE - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that our token was not valid.
- DISCONNECTED_CHANNEL_DELETED - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the channel which the audio connection was connected to was deleted, thus the connection was severed.
- DISCONNECTED_KICKED_FROM_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that we were kicked from a channel by a moderator
- DISCONNECTED_LOST_PERMISSION - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the logged in account lost the
Permission.VOICE_CONNECT
and cannot connect to the channel. - DISCONNECTED_REMOVED_DURING_RECONNECT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the logged in account was removed from the
Guild
while reconnecting to the gateway - DISCONNECTED_REMOVED_FROM_GUILD - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the logged in account was removed from the
Guild
that this audio connection was connected to, thus the connection was severed. - DISCORD_EPOCH - Static variable in class net.dv8tion.jda.api.utils.TimeUtil
- DISCORD_GATEWAY_VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- DISCORD_REST_VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- DiscordLocale - Enum in net.dv8tion.jda.api.interactions
-
Enum representing the locales that Discord supports.
- DO_NOT_DISTURB - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently on do not disturb (red circle)
This means the user won't receive notifications for mentions. - doesBotRequireCodeGrant() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Whether the bot requires code grant to invite or not.
- download() - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Retrieves the
InputStream
of this file - download(int) - Method in class net.dv8tion.jda.api.utils.ImageProxy
-
Retrieves the
InputStream
of this image at the specified size. - download(int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Retrieves the
InputStream
of this attachment at the specified width and height. - downloadAsIcon() - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Downloads the data of this attachment, and constructs an
Icon
from the data. - downloadAsIcon(int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Downloads the data of this attachment, at the specified size, and constructs an
Icon
from the data. - downloadToFile(File) - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Downloads the data of this file into the specified file.
- downloadToFile(File, int) - Method in class net.dv8tion.jda.api.utils.ImageProxy
-
Downloads the data of this image, at the specified size, and stores it in the specified file.
- downloadToFile(File, int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Downloads the data of this attachment, at the specified width and height, and stores it in the specified file.
- downloadToPath() - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Downloads the data of this file, and stores it in a file with the same name as the queried file name (this would be the last segment of the URL).
- downloadToPath(int) - Method in class net.dv8tion.jda.api.utils.ImageProxy
-
Downloads the data of this image, at the specified size, and stores it in a file with the same name as the queried file name (this would be the last segment of the URL).
- downloadToPath(int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Downloads the data of this attachment, at the specified width and height, and stores it in a file with the same name as the queried file name (this would be the last segment of the URL).
- downloadToPath(Path) - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Downloads the data of this file into the specified file.
- downloadToPath(Path, int) - Method in class net.dv8tion.jda.api.utils.ImageProxy
-
Downloads the data of this image, at the specified size, and stores it in the specified file.
- downloadToPath(Path, int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Downloads the data of this attachment, at the specified size, and stores it in the specified file.
- DUPLICATE_RESOURCE_ENTITLEMENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- DUPLICATE_TAG_NAME - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- DUTCH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
E
- EARLY_SUPPORTER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- EDIT_ALL_COMMAND_PERMISSIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- EDIT_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- EDIT_COMMAND_PERMISSIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- EDIT_FOLLOWUP - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- EDIT_GUILD_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- EDIT_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- editButton(Button) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.ButtonInteraction
-
Update the button with a new button instance.
- editCommand() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Edit this command.
- editCommandById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Edit an existing command by id.
- editCommandById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Edit an existing global command by id.
- editCommandById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Edit an existing command by id.
- editCommandById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Edit an existing global command by id.
- editComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessage(CharSequence) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message and updates the content.
- editMessage(String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessage(MessageEditData) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided
MessageEditData
. - editMessage(MessageEditData) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageAttachments(Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided files.
- editMessageAttachments(Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageAttachments(AttachedFile...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided files.
- editMessageAttachments(AttachedFile...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageAttachmentsById(long, Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageAttachmentsById(long, Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageAttachmentsById(long, AttachedFile...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageAttachmentsById(long, AttachedFile...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageAttachmentsById(String, Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageAttachmentsById(String, Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageAttachmentsById(String, AttachedFile...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageAttachmentsById(String, AttachedFile...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, CharSequence) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this channel.
- editMessageById(long, String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, MessageEditData) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, MessageEditData) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, CharSequence) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this channel.
- editMessageById(String, String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, MessageEditData) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, MessageEditData) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided
LayoutComponents
. - editMessageComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided
LayoutComponents
. - editMessageComponentsById(long, Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageComponentsById(long, Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageComponentsById(long, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageComponentsById(long, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageComponentsById(String, Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageComponentsById(String, Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageComponentsById(String, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageComponentsById(String, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided
MessageEmbeds
. - editMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided
MessageEmbeds
. - editMessageEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageEmbedsById(long, Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageEmbedsById(long, Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageEmbedsById(long, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageEmbedsById(long, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageEmbedsById(String, Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageEmbedsById(String, Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageEmbedsById(String, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageEmbedsById(String, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this message using the provided format arguments.
- editMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageFormatById(long, String, Object...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageFormatById(long, String, Object...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageFormatById(String, String, Object...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageFormatById(String, String, Object...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editOriginal(String) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(MessageEditData) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginalAttachments(Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
- editOriginalAttachments(AttachedFile...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
- editOriginalComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginalComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginalEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginalEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginalFormat(String, Object...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editSelectMenu(SelectMenu) - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
Update the select menu with a new select menu instance.
- editSticker(StickerSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modify a sticker using
GuildStickerManager
. - EMBED_DISABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- EMBED_MAX_LENGTH_BOT - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum amount of total visible characters an embed can have
- EmbedBuilder - Class in net.dv8tion.jda.api
-
Builder system used to build
MessageEmbeds
. - EmbedBuilder() - Constructor for class net.dv8tion.jda.api.EmbedBuilder
-
Constructs a new EmbedBuilder instance, which can be used to create
MessageEmbeds
. - EmbedBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.api.EmbedBuilder
-
Creates an EmbedBuilder using fields from an existing builder
- EmbedBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.api.EmbedBuilder
-
Creates an EmbedBuilder using fields in an existing embed.
- EMBEDDED - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Indicates if an app is embedded within the Discord client (currently unavailable publicly)
- EMBEDDED_APPLICATION - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite points to an application in a voice channel.
- EMBEDS_SUPPRESSED - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Embeds are suppressed on the Message.
- EmbedType - Enum in net.dv8tion.jda.api.entities
-
Represents the embedded resource type.
- Emoji - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents a Discord Emoji.
- EMOJI - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- EMOJI - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
CustomEmoji
The first group matches the name of the emoji and the second the id of the mention. - EMOJI - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Guild.getEmojiCache()
- EMOJI_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator created an
Custom Emoji
. - EMOJI_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted an
Custom Emoji
. - EMOJI_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Emoji.getName()
value. - EMOJI_NAME_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
- EMOJI_ROLES_ADD - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles added to
RichCustomEmoji.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOJI_ROLES_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles remove from
RichCustomEmoji.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOJI_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated an
Custom Emoji
. - Emoji.Type - Enum in net.dv8tion.jda.api.entities.emoji
-
Possible emoji types.
- EmojiAddedEvent - Class in net.dv8tion.jda.api.events.emoji
-
Indicates that a new
Custom Emoji
was added to aGuild
. - EmojiAddedEvent(JDA, long, RichCustomEmoji) - Constructor for class net.dv8tion.jda.api.events.emoji.EmojiAddedEvent
- EmojiRemovedEvent - Class in net.dv8tion.jda.api.events.emoji
-
Indicates that a
Custom Emoji
was removed from a Guild. - EmojiRemovedEvent(JDA, long, RichCustomEmoji) - Constructor for class net.dv8tion.jda.api.events.emoji.EmojiRemovedEvent
- Emojis() - Constructor for class net.dv8tion.jda.api.requests.Route.Emojis
- EmojiUnion - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents possible
Emoji
types. - EmojiUpdateNameEvent - Class in net.dv8tion.jda.api.events.emoji.update
-
Indicates that the name of a
Custom Emoji
changed. - EmojiUpdateNameEvent(JDA, long, RichCustomEmoji, String) - Constructor for class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
- EmojiUpdateRolesEvent - Class in net.dv8tion.jda.api.events.emoji.update
-
Indicates that the role whitelist for a
Custom Emoji
changed. - EmojiUpdateRolesEvent(JDA, long, RichCustomEmoji, List<Role>) - Constructor for class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
- empty() - Static method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction
-
Creates an empty
ResourceBundleLocalizationFunction
builder. - empty() - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Creates a new empty DataArray, ready to be populated with values.
- empty() - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Creates a new empty DataObject, ready to be populated with values.
- EMPTY_FLAGS - Static variable in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Empty array of UserFlag enum, useful for optimized use in
Collection.toArray(Object[])
. - EMPTY_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- EMPTY_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
Empty array of Permission enum, useful for optimized use in
Collection.toArray(Object[])
. - ENABLE_ONBOARDING_MISSING_REQUIREMENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- enableCache(Collection<CacheFlag>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enable specific cache flags.
- enableCache(Collection<CacheFlag>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enable specific cache flags.
- enableCache(CacheFlag, CacheFlag...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enable specific cache flags.
- enableCache(CacheFlag, CacheFlag...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enable specific cache flags.
- ENABLED - Static variable in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
Default permissions of a command with no restrictions applied.
- ENABLED - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the enabled field.
- ENABLED - Static variable in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Used to reset the enabled field
- enabledFor(long) - Static method in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
Returns a DefaultMemberPermissions instance with the predefined permissions a member must have to see and access a command.
- enabledFor(Collection<Permission>) - Static method in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
Returns a DefaultMemberPermissions instance with the predefined permissions a member must have to see and access a command.
- enabledFor(Permission...) - Static method in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
Returns a DefaultMemberPermissions instance with the predefined permissions a member must have to see and access a command.
- enableIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enable the specified
GatewayIntents
. - enableIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enable the specified
GatewayIntents
. - enableIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enable the specified
GatewayIntents
. - enableIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enable the specified
GatewayIntents
. - enablePresets(Collection<AutoModRule.KeywordPreset>) - Method in class net.dv8tion.jda.api.entities.automod.build.PresetKeywordTriggerConfig
-
Enable the provided keyword preset lists.
- enablePresets(AutoModRule.KeywordPreset...) - Method in class net.dv8tion.jda.api.entities.automod.build.PresetKeywordTriggerConfig
-
Enable the provided keyword preset lists.
- END_POLL - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- END_TIME - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the end time field
- endPoll() - Method in interface net.dv8tion.jda.api.entities.Message
-
End the poll attached to this message.
- endPollById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
End the poll attached to this message.
- endPollById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
End the poll attached to this message.
- ENGLISH_UK - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- ENGLISH_US - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- enqueue(RestRateLimiter.Work) - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Enqueue a new request.
- enqueue(RestRateLimiter.Work) - Method in class net.dv8tion.jda.api.requests.SequentialRestRateLimiter
- ensureOpus() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Checks whether the opus binary was loaded, if not it will be initialized here.
- Entitlement - Interface in net.dv8tion.jda.api.entities
-
Represents a user or guild that has access to a premium offering in your application.
- Entitlement.EntitlementType - Enum in net.dv8tion.jda.api.entities
-
Represents the type of this Entitlement
- EntitlementCreateEvent - Class in net.dv8tion.jda.api.events.entitlement
-
Indicates that a user subscribed to a SKU.
- EntitlementCreateEvent(JDA, long, Entitlement) - Constructor for class net.dv8tion.jda.api.events.entitlement.EntitlementCreateEvent
- EntitlementDeleteEvent - Class in net.dv8tion.jda.api.events.entitlement
-
Indicates that an
Entitlement
was deleted. - EntitlementDeleteEvent(JDA, long, Entitlement) - Constructor for class net.dv8tion.jda.api.events.entitlement.EntitlementDeleteEvent
- EntitlementPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the application entitlements endpoint. - EntitlementUpdateEvent - Class in net.dv8tion.jda.api.events.entitlement
-
Indicates an
Entitlement
has renewed for the next billing period. - EntitlementUpdateEvent(JDA, long, Entitlement) - Constructor for class net.dv8tion.jda.api.events.entitlement.EntitlementUpdateEvent
- EntitySelectInteraction - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Component Interaction for a
EntitySelectMenu
. - EntitySelectInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.component
-
Indicates that a custom
EntitySelectMenu
on one of the bots messages was used by a user. - EntitySelectInteractionEvent(JDA, long, EntitySelectInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.component.EntitySelectInteractionEvent
- EntitySelectMenu - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Specialized
SelectMenu
for selecting Discord entities. - EntitySelectMenu.Builder - Class in net.dv8tion.jda.api.interactions.components.selections
-
A preconfigured builder for the creation of entity select menus.
- EntitySelectMenu.DefaultValue - Class in net.dv8tion.jda.api.interactions.components.selections
-
Represents the default values used in
EntitySelectMenu.getDefaultValues()
. - EntitySelectMenu.SelectTarget - Enum in net.dv8tion.jda.api.interactions.components.selections
-
Supported entity types for a EntitySelectMenu.
- EPHEMERAL - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this Message is ephemeral, the Message is only visible to the bot and the interacting user
- equals(Object) - Method in class net.dv8tion.jda.api.audio.OpusPacket
- equals(Object) - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- equals(Object) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- equals(Object) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
- equals(Object) - Method in class net.dv8tion.jda.api.entities.MessageReaction
- equals(Object) - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- equals(Object) - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- equals(Object) - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
- equals(Object) - Method in class net.dv8tion.jda.api.entities.RoleIcon
- equals(Object) - Method in class net.dv8tion.jda.api.entities.templates.Template
- equals(Object) - Method in class net.dv8tion.jda.api.entities.VanityInvite
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
- equals(Object) - Method in class net.dv8tion.jda.api.JDA.ShardInfo
- equals(Object) - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
- equals(Object) - Method in class net.dv8tion.jda.api.requests.Route
- equals(Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
- equals(Object) - Method in class net.dv8tion.jda.api.utils.data.DataObject
- ERROR_CANNOT_RESUME - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the audio WebSocket was unable to resume an active session.
- ERROR_CODE - Static variable in class net.dv8tion.jda.api.requests.Response
- ERROR_CONNECTION_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Occurs when it takes longer than
AudioManager.getConnectTimeout()
to establish the Websocket connection and setup the UDP connection. - ERROR_LOST_CONNECTION - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the connection was lost, either via UDP socket problems or the audio Websocket disconnecting.
- ERROR_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Response
- ERROR_UDP_UNABLE_TO_CONNECT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the UDP setup failed.
- ERROR_UNSUPPORTED_ENCRYPTION_MODES - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the audio WebSocket was unable to complete a handshake with discord, because discord did not provide any supported encryption modes.
- ERROR_WEBSOCKET_UNABLE_TO_CONNECT - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that the audio Websocket was unable to connect to discord.
- ErrorHandler - Class in net.dv8tion.jda.api.exceptions
-
Utility class to simplify error handling with
RestActions
andErrorResponses
. - ErrorHandler() - Constructor for class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Create an ErrorHandler with
RestAction.getDefaultFailure()
as base consumer. - ErrorHandler(Consumer<? super Throwable>) - Constructor for class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Create an ErrorHandler with the specified consumer as base consumer.
- ErrorResponse - Enum in net.dv8tion.jda.api.requests
-
Constants for easy use in
ErrorResponseException
andErrorHandler
. - ErrorResponseException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates an unhandled error that is returned by Discord API Request using
RestAction
It holds anErrorResponse
- ErrorResponseException.ErrorCode - Class in net.dv8tion.jda.api.exceptions
-
An error for a
ErrorResponseException.SchemaError
. - ErrorResponseException.SchemaError - Class in net.dv8tion.jda.api.exceptions
-
Schema error which supplies more context to a ErrorResponse.
- escape(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Escapes every markdown formatting found in the provided string.
- escape(String, boolean) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Escapes every single markdown formatting token found in the provided string.
- escape(String, int) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Escapes every markdown formatting found in the provided string.
- ESCAPE - Enum constant in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Escape any format tokens that are not escaped or within a special region.
- ETF - Enum constant in enum net.dv8tion.jda.api.GatewayEncoding
-
Erlang External Term Format (binary).
- Event - Class in net.dv8tion.jda.api.events
-
Top-level event type
All events JDA fires are derived from this class. - Event(JDA) - Constructor for class net.dv8tion.jda.api.events.Event
-
Creates a new Event from the given JDA instance
Uses the currentJDA.getResponseTotal()
as sequence - Event(JDA, long) - Constructor for class net.dv8tion.jda.api.events.Event
-
Creates a new Event from the given JDA instance
- EventListener - Interface in net.dv8tion.jda.api.hooks
-
JDA pushes
GenericEvents
to the registered EventListeners. - EVERYONE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for all users in a server, literal
@everyone
. - ExceptionEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA encountered a Throwable that could not be forwarded to another end-user frontend.
- ExceptionEvent(JDA, Throwable, boolean) - Constructor for class net.dv8tion.jda.api.events.ExceptionEvent
- exclude(long...) - Static method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Factory method to disable chunking for a blacklist of guild ids.
- excludeEnded(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Whether to exclude subscriptions which have gone past their end date.
- execute() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Executes the request on the calling thread (blocking).
- execute(T) - Method in interface net.dv8tion.jda.api.utils.Procedure
- EXECUTE_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXECUTE_WEBHOOK_DELETE - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXECUTE_WEBHOOK_EDIT - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXECUTE_WEBHOOK_FETCH - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXECUTE_WEBHOOK_GITHUB - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXECUTE_WEBHOOK_SLACK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- EXEMPT_CHANNELS - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the exempt channels field.
- EXEMPT_ROLES - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the exempt roles field.
- expand() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Tries to retrieve a new expanded
Invite
with more info. - expect(Predicate<? super Throwable>) - Method in class net.dv8tion.jda.api.utils.Result
-
Throws the wrapped exception if the provided predicate returns true.
- EXPLICIT - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Is classified as a NSFW server
- EXPLICIT_CONTENT_CANNOT_SEND_TO_RECIPIENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- EXPLICIT_CONTENT_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the explicit content level field
- ExTermDecoder - Class in net.dv8tion.jda.api.utils.data.etf
-
Decodes an ETF encoded payload to a java object representation.
- ExTermDecoder() - Constructor for class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
- ExTermEncoder - Class in net.dv8tion.jda.api.utils.data.etf
-
Encodes an object into a binary ETF representation.
- ExTermEncoder() - Constructor for class net.dv8tion.jda.api.utils.data.etf.ExTermEncoder
- ExTermTag - Class in net.dv8tion.jda.api.utils.data.etf
-
Tags used for encoding and decoding for external terms.
- ExTermTag() - Constructor for class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- EXTERNAL - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
An event held externally.
F
- FAILED_TO_BAN_USERS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- FAILED_TO_LOGIN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
While attempting to authenticate, Discord reported that the provided authentication information was invalid.
- failOnInvalidReply(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Whether to throw a exception if the referenced message does not exist, when replying to a message.
- failure(Throwable) - Static method in class net.dv8tion.jda.api.utils.Result
-
Creates a failure result.
- FEATURE_TEMPORARILY_DISABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- FEATURES - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to add or remove modifiable features (such as
"INVITES_DISABLED"
) - Field(String, String, boolean) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Field
- Field(String, String, boolean, boolean) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Field
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchivedEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAutoArchiveDurationEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateBitrateEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultLayoutEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultReactionEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultSortOrderEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateInvitableEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateLockedEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNameEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNSFWEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateParentEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdatePositionEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateRegionEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateSlowmodeEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTopicEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTypeEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateUserLimitEvent
- FIELD - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateVoiceStatusEvent
- FILE_UPLOAD_MAX_SIZE_EXCEEDED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- FileProxy - Class in net.dv8tion.jda.api.utils
-
A utility class to download files.
- FileProxy(String) - Constructor for class net.dv8tion.jda.api.utils.FileProxy
-
Constructs a new
FileProxy
for the provided URL. - FileUpload - Class in net.dv8tion.jda.api.utils
-
Represents a file that is intended to be uploaded to Discord for arbitrary requests.
- filter(long) - Method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Decide whether the specified guild should chunk members.
- filter(Predicate<? super E>) - Method in class net.dv8tion.jda.api.utils.Once.Builder
-
Adds an event filter, all filters need to return
true
for the event to be consumed. - findMembers(Predicate<? super Member>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves and collects members of this guild into a list.
- findMembersWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves and collects members of this guild into a list.
- findMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves and collects members of this guild into a list.
- FINNISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- FLAGS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The flags of the channel.
- flatMap(Function<? super T, ? extends RestAction<O>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- flatMap(Function<? super T, ? extends Result<U>>) - Method in class net.dv8tion.jda.api.utils.Result
-
Composite function to convert a result value to another result.
- flatMap(Predicate<? super T>, Function<? super T, ? extends RestAction<O>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- FLOAT - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- FLOAT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- FluentAuditableRestAction<T,
R> - Interface in net.dv8tion.jda.api.requests.restaction -
Interface used to mixin the customization parameters for
AuditableRestActions
. - FluentRestAction<T,
R> - Interface in net.dv8tion.jda.api.requests -
Interface used to mixin the customization parameters for
RestActions
. - follow(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- follow(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- follow(TextChannel) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- FOLLOW_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- FOLLOWER - Enum constant in enum net.dv8tion.jda.api.entities.WebhookType
-
Webhook responsible for re-posting messages from another channel
- Footer(String, String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Footer
- forceClose() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- forceClose() - Method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Forces the underlying resource to be closed, even if the file is already handled by a request.
- forceClose() - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- forceClose() - Method in class net.dv8tion.jda.api.utils.FileUpload
- forEachAsync(Procedure<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all entities until the provided action returns
false
!
This operation is different fromIterable.forEach(Consumer)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachAsync(Procedure<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all entities until the provided action returns
false
!
This operation is different fromIterable.forEach(Consumer)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachRemaining(Procedure<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
Skipping past already cached entities to iterate all remaining entities of this PaginationAction. - forEachRemainingAsync(Procedure<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
This operation is different fromPaginationAction.forEachRemaining(Procedure)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachRemainingAsync(Procedure<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
This operation is different fromPaginationAction.forEachRemaining(Procedure)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachUnordered(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Behavior similar to
Iterable.forEach(Consumer)
but does not preserve order. - forEachUnordered(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
Iterable.forEach(Consumer)
but does not preserve order. - format(long) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats the provided unix epoch timestamp into a timestamp markdown.
- format(TemporalAccessor) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats the provided
TemporalAccessor
instance into a timestamp markdown. - formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.channel.Channel
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.emoji.Emoji
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.IMentionable
- ForRemoval - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with ForRemoval will no longer be supported and should not be used anymore in new code.
- FORUM - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
ForumChannel
, Guild-Only. - FORUM_POST_TAG_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- FORUM_TAGS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
IPostContainer.getAvailableTagCache()
andThreadChannel.getAppliedTags()
- ForumChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
A Forum Channel which contains
Forum Posts
. - ForumChannel.Layout - Enum in net.dv8tion.jda.api.entities.channel.concrete
-
The layout used to sort forum posts.
- ForumChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality to modify a
ForumChannel
. - ForumPost - Class in net.dv8tion.jda.api.entities.channel.forums
-
Result of creating a post in a
ForumChannel
. - ForumPost(Message, ThreadChannel) - Constructor for class net.dv8tion.jda.api.entities.channel.forums.ForumPost
- ForumPostAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create new Forum Post Threads. - ForumTag - Interface in net.dv8tion.jda.api.entities.channel.forums
-
Represents a Discord Forum Tag.
- ForumTagAddEvent - Class in net.dv8tion.jda.api.events.channel.forum
-
Indicates that a new
ForumTag
was added to aIPostContainer
. - ForumTagAddEvent(JDA, long, IPostContainer, ForumTag) - Constructor for class net.dv8tion.jda.api.events.channel.forum.ForumTagAddEvent
- ForumTagData - Class in net.dv8tion.jda.api.entities.channel.forums
-
Data class used to create or update existing forum tags.
- ForumTagData(String) - Constructor for class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
-
Create a new
ForumTagData
instance. - ForumTagRemoveEvent - Class in net.dv8tion.jda.api.events.channel.forum
-
Indicates that a
ForumTag
was removed from aIPostContainer
. - ForumTagRemoveEvent(JDA, long, IPostContainer, ForumTag) - Constructor for class net.dv8tion.jda.api.events.channel.forum.ForumTagRemoveEvent
- ForumTagSnowflake - Interface in net.dv8tion.jda.api.entities.channel.forums
-
Minimal representation for a forum tag.
- ForumTagUpdateEmojiEvent - Class in net.dv8tion.jda.api.events.channel.forum.update
- ForumTagUpdateEmojiEvent(JDA, long, IPostContainer, ForumTag, EmojiUnion) - Constructor for class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateEmojiEvent
- ForumTagUpdateModeratedEvent - Class in net.dv8tion.jda.api.events.channel.forum.update
-
Indicates that the
moderated status
of aForumTag
changed. - ForumTagUpdateModeratedEvent(JDA, long, IPostContainer, ForumTag, boolean) - Constructor for class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateModeratedEvent
- ForumTagUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.forum.update
- ForumTagUpdateNameEvent(JDA, long, IPostContainer, ForumTag, String) - Constructor for class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- FORWARD - Enum constant in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
This message reference indicates a forwarded message
- FORWARD - Enum constant in enum net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationOrder
-
Iterates forward in time, listing the oldest entities first.
- FORWARD_CANNOT_HAVE_CONTENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- forwardTo(MessageChannel) - Method in interface net.dv8tion.jda.api.entities.Message
-
Forwards this message into the provided channel.
- FREE_PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was granted when the SKU was free
- FRENCH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- from(byte[]) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specified image data. - from(byte[], Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specified image data. - from(int) - Static method in enum net.dv8tion.jda.api.audit.ActionType
- from(int) - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Retrieves the CloseCode representation for the specified integer close code
- from(File) - Static method in class net.dv8tion.jda.api.entities.Icon
- from(File, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
- from(InputStream) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specifiedInputStream
. - from(InputStream, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specifiedInputStream
. - from(String) - Static method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
Converts the provided locale tag (such as
en-GB
orfr
) to the enum constant - from(Collection<Class<? extends GenericEvent>>, Collection<CacheFlag>) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Parse the required GatewayIntents from the provided
Event Types
andCacheFlags
. - from(Locale) - Static method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
Converts the provided
Locale
to the enum constant - from(BaseForumTag) - Static method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
-
Creates a new
ForumTagData
instance based on the providedBaseForumTag
. - from(GuildChannel) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.CHANNEL
for the provided channel. - from(MessagePoll) - Static method in class net.dv8tion.jda.api.utils.messages.MessagePollData
-
Converts a
MessagePoll
to a sendable MessagePollData instance. - from(Role) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.ROLE
for the provided role. - from(UserSnowflake) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.USER
for the provided user. - from(JDA, String) - Static method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Creates an instance of
InteractionHook
capable of executing webhook requests. - from(MessageCreateData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
-
Factory method to start a builder from an existing instance of
MessageCreateData
. - from(MessageEditData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
-
Factory method to start a builder from an existing instance of
MessageEditData
. - fromAttachment(long) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Creates an
AttachmentUpdate
with the given attachment id. - fromAttachment(long) - Static method in class net.dv8tion.jda.api.utils.AttachmentUpdate
-
Creates an
AttachmentUpdate
with the given attachment id. - fromAttachment(String) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Creates an
AttachmentUpdate
with the given attachment id. - fromAttachment(String) - Static method in class net.dv8tion.jda.api.utils.AttachmentUpdate
-
Creates an
AttachmentUpdate
with the given attachment id. - fromAttachment(Message.Attachment) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Creates an
AttachmentUpdate
with the given attachment. - fromAttachment(Message.Attachment) - Static method in class net.dv8tion.jda.api.utils.AttachmentUpdate
-
Creates an
AttachmentUpdate
with the given attachment. - fromBitField(int) - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Given a bitfield, this function extracts all Enum values according to their bit values and returns an EnumSet containing all matching MessageFlags
- fromBundle(ResourceBundle, DiscordLocale) - Static method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction
-
Creates an empty
ResourceBundleLocalizationFunction
builder and adds the provided bundle and locale. - fromBundles(String, DiscordLocale...) - Static method in class net.dv8tion.jda.api.interactions.commands.localization.ResourceBundleLocalizationFunction
-
Creates a
ResourceBundleLocalizationFunction
builder with the provided bundles. - fromCacheFlags(Collection<CacheFlag>) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Parse the required GatewayIntents from the provided
CacheFlags
. - fromCacheFlags(CacheFlag, CacheFlag...) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Parse the required GatewayIntents from the provided
CacheFlags
. - fromCode(int) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
- fromCollection(Collection<?>) - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Creates a new DataArray and populates it with the contents of the provided collection.
- fromCommand(Command) - Static method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Converts the provided
Command
into a CommandData instance. - fromCommand(Command) - Static method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Converts the provided
Command
into a SlashCommandData instance. - fromContent(String) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().setContent(content).build()
. - fromContent(String) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().setContent(content).build()
. - fromCreateData(MessageCreateData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
-
Factory method to start a builder from an existing instance of
MessageCreateData
. - fromCreateData(MessageCreateData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageCreateBuilder().applyCreateData(data).build()
. - fromCustom(String, long, boolean) - Static method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Creates a reference for a custom emoji with the provided name.
- fromCustom(CustomEmoji) - Static method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Creates a reference for a custom emoji from the provided
CustomEmoji
- fromData(byte[], String) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for a byte array. - fromData(byte[], String) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for a byte array. - fromData(File) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for a local file. - fromData(File) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for a local file. - fromData(File, String) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for a local file. - fromData(File, String) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for a local file. - fromData(InputStream, String) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for an input stream. - fromData(InputStream, String) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for an input stream. - fromData(Path, String, OpenOption...) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for a local file. - fromData(Path, String, OpenOption...) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for a local file. - fromData(Path, OpenOption...) - Static method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Create a new
FileUpload
for a local file. - fromData(Path, OpenOption...) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Create a new
FileUpload
for a local file. - fromData(DataObject) - Static method in class net.dv8tion.jda.api.EmbedBuilder
-
Creates an instance of this builder from the provided
DataObject
. - fromData(DataObject) - Static method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Parses the provided JSON representation to an emoji instance.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Parses a
RoleConnectionMetadata
from aDataObject
. - fromData(DataObject) - Static method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Parses the provided serialization back into an CommandData instance.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Parses the provided serialization back into an OptionData instance.
- fromData(DataObject) - Static method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Parses the provided serialization back into a SlashCommandData instance.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Parses the provided serialization back into an SubcommandData instance.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Parses the provided serialization back into an SubcommandGroupData instance.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Load ActionRow from serialized representation.
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Parses the provided
DataObject
into the default value. - fromData(DataObject) - Static method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Inverse function for
SelectOption.toData()
which parses the serialized option data - fromEditData(MessageEditData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
-
Factory method to start a builder from an existing instance of
MessageEditData
. - fromEditData(MessageEditData) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().applyEditData(data).build()
. - fromEmbeds(Collection<? extends MessageEmbed>) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().setEmbeds(embeds).build()
. - fromEmbeds(Collection<? extends MessageEmbed>) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().setEmbeds(embeds).build()
. - fromEmbeds(MessageEmbed...) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().setEmbeds(embeds).build()
. - fromEmbeds(MessageEmbed...) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().setEmbeds(embeds).build()
. - fromETF(byte[]) - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Parses using
ExTermDecoder
. - fromETF(byte[]) - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Parses using
ExTermDecoder
. - fromEvents(Class<? extends GenericEvent>...) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Parse the required GatewayIntents from the provided
Event Types
. - fromEvents(Collection<Class<? extends GenericEvent>>) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Parse the required GatewayIntents from the provided
Event Types
. - fromExtension(String) - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Resolves the provided file extension type to the equivalent IconType.
- fromFiles(Collection<? extends FileUpload>) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().setFiles(embeds).build()
. - fromFiles(Collection<? extends FileUpload>) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().setFiles(embeds).build()
. - fromFiles(FileUpload...) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().setFiles(embeds).build()
. - fromFiles(FileUpload...) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().setFiles(embeds).build()
. - fromFormatted(String) - Static method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Parses the provided markdown formatting, or unicode characters, to an Emoji instance.
- fromGroup(Command.SubcommandGroup) - Static method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Converts the provided
Command.SubcommandGroup
into a SubcommandGroupData instance. - fromId(int) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Static accessor for retrieving a channel type based on its Discord id key.
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Static accessor for retrieving a target type based on its Discord id key.
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
Convert the raw type id to the message reference type enum
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Used to retrieve a MessageType based on the Discord id key.
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
Resolves the specified format identifier to the StickerFormat enum constant.
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
Gets the sticker type related to the provided id.
- fromId(int) - Static method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
Resolves the provided command type id to the enum constant
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.channel.forums.ForumTagSnowflake
-
Wraps the provided id into a ForumTagSnowflake instance.
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.SkuSnowflake
-
Creates a SKU instance which only wraps an ID.
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
Creates a sticker snowflake instance which only wraps an ID.
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.sticker.StickerSnowflake
-
Creates a sticker snowflake instance which only wraps an ID.
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.User
-
Creates a User instance which only wraps an ID.
- fromId(long) - Static method in interface net.dv8tion.jda.api.entities.UserSnowflake
-
Creates a User instance which only wraps an ID.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.channel.forums.ForumTagSnowflake
-
Wraps the provided id into a ForumTagSnowflake instance.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.SkuSnowflake
-
Creates a SKU instance which only wraps an ID.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
Creates a sticker snowflake instance which only wraps an ID.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.sticker.StickerSnowflake
-
Creates a sticker snowflake instance which only wraps an ID.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.User
-
Creates a User instance which only wraps an ID.
- fromId(String) - Static method in interface net.dv8tion.jda.api.entities.UserSnowflake
-
Creates a User instance which only wraps an ID.
- fromJson(byte[]) - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Parses a JSON payload into a DataObject instance.
- fromJson(InputStream) - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Parses a JSON Array into a DataArray instance.
- fromJson(InputStream) - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Parses a JSON payload into a DataObject instance.
- fromJson(Reader) - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Parses a JSON Array into a DataArray instance.
- fromJson(Reader) - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Parses a JSON payload into a DataObject instance.
- fromJson(String) - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Parses a JSON Array into a DataArray instance.
- fromJson(String) - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Parses a JSON payload into a DataObject instance.
- fromJSON(DataObject) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Gets the ActivityType related to the provided key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
The
AutoModEventType
represented by the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
The
AutoModResponse.Type
represented by the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
The
AutoModRule.KeywordPreset
represented by the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The
AutoModTriggerType
that matches the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
The
IPostContainer.SortOrder
for the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
The
ForumChannel.Layout
for the provided key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
-
Provides the corresponding enum constant for the provided number of minutes.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Gets the EntitlementType related to the provided key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Resolves the provided API key to the boost tier.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Used to retrieve a
MFALevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Used to retrieve a
NotificationLevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Used to retrieve a
NSFWLevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Retrieves the
Timeout
based on the amount of seconds requested. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Used to retrieve a
VerificationLevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
-
Resolves the provided raw API key to the layout enum constant.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
-
Used to retrieve a Status based on a Discord id key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
Used to retrieve a Type based on a Discord id key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Converts the raw API key into the respective enum value
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Resolves the provided key to the correct MembershipState.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Resolves the provided raw api key to the corresponding webhook type.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Converts the provided raw type to the enum constant.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
-
Returns the appropriate enum constant for the given key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Returns the style associated with the provided key
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Maps the provided type id to the respective enum instance.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
-
Returns the TextInputStyle associated with the provided key.
- fromKey(int) - Static method in enum net.dv8tion.jda.api.interactions.InteractionType
- fromKey(String) - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Resolves the provided raw API key to the enum constant.
- fromKey(String) - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Attempts to find the EmbedType from the provided key.
- fromKey(String) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Resolves the provided key to the correct RoleType.
- fromKey(String) - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Will get the
OnlineStatus
from the provided key. - fromKey(String) - Static method in enum net.dv8tion.jda.api.Region
-
Retrieves the
Region
based on the provided key. - fromList(Collection<? extends DataObject>) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Parses the provided serialization back into an CommandData instance.
- fromList(DataArray) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Parses the provided serialization back into an CommandData instance.
- fromMessage(Message) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
-
Factory method to start a builder from an existing instance of
Message
. - fromMessage(Message) - Static method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Shortcut for
new MessageCreateBuilder().applyMessage(message).build()
. - fromMessage(Message) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
-
Factory method to start a builder from an existing instance of
Message
. - fromMessage(Message) - Static method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Shortcut for
new MessageEditBuilder().applyMessage(message).build()
. - fromMIME(String) - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Resolves the provided MIME Type to the equivalent IconType.
- fromOption(Command.Option) - Static method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Converts the provided
Command.Option
into a OptionData instance. - fromRaw(int) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
Parses the provided bitset to the corresponding enum constants.
- fromRaw(int) - Static method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The
Flags
represented by the provided raw value. - fromRaw(long) - Static method in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Converts the provided bitset to the corresponding enum constants.
- fromSortBucket(int) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
An
EnumSet
populated with all channel types using the provided sorting bucket. - fromSourceSupplier(String, Supplier<? extends Source>) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Creates a FileUpload that sources its data from the supplier.
- fromStreamSupplier(String, Supplier<? extends InputStream>) - Static method in class net.dv8tion.jda.api.utils.FileUpload
-
Creates a FileUpload that sources its data from the supplier.
- fromStyle(String) - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Returns the time format for the provided style flag.
- fromSubcommand(Command.Subcommand) - Static method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Converts the provided
Command.Subcommand
into a SubCommandData instance. - fromUnicode(String) - Static method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Creates a reference for a unicode emoji with the provided unicode.
- fromValue(int) - Static method in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
-
The MetadataType for the provided raw value.
G
- GALLERY_VIEW - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Displayed as a collection of tiles.
- GATEWAY - Static variable in class net.dv8tion.jda.api.requests.Route.Misc
- GATEWAY_BOT - Static variable in class net.dv8tion.jda.api.requests.Route.Misc
- GATEWAY_GUILD_MEMBERS - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.GUILD_MEMBERS
in 100 or more guilds - GATEWAY_GUILD_MEMBERS_LIMITED - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.GUILD_MEMBERS
in under 100 guilds - GATEWAY_MESSAGE_CONTENT - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.MESSAGE_CONTENT
in 100 or more guilds - GATEWAY_MESSAGE_CONTENT_LIMITED - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.MESSAGE_CONTENT
in under 100 guilds - GATEWAY_PRESENCE - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.GUILD_PRESENCES
in 100 or more guilds - GATEWAY_PRESENCE_LIMITED - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Bot can use
GatewayIntent.GUILD_PRESENCES
in under 100 guilds - GatewayEncoding - Enum in net.dv8tion.jda.api
-
Encoding mode used by the gateway for incoming and outgoing payloads.
- GatewayIntent - Enum in net.dv8tion.jda.api.requests
-
Flags which enable or disable specific events from the discord gateway.
- GatewayPingEvent - Class in net.dv8tion.jda.api.events
-
Indicates that the gateway ping has been updated by the heartbeat cycle.
- GatewayPingEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.GatewayPingEvent
- GenericAutoCompleteInteractionEvent - Class in net.dv8tion.jda.api.events.interaction
-
Indicates that a user is typing in an auto-complete interactive field.
- GenericAutoCompleteInteractionEvent(JDA, long, Interaction) - Constructor for class net.dv8tion.jda.api.events.interaction.GenericAutoCompleteInteractionEvent
- GenericAutoModRuleEvent - Class in net.dv8tion.jda.api.events.automod
-
Indicates that an
AutoModRule
was created/removed/updated. - GenericAutoModRuleEvent(JDA, long, AutoModRule) - Constructor for class net.dv8tion.jda.api.events.automod.GenericAutoModRuleEvent
- GenericChannelEvent - Class in net.dv8tion.jda.api.events.channel
-
Top-level channel event type
All channel events JDA fires are derived from this class. - GenericChannelEvent(JDA, long, Channel) - Constructor for class net.dv8tion.jda.api.events.channel.GenericChannelEvent
- GenericChannelUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.update
-
Top-level channel update event type indicating that a field of a
Channel
was updated. - GenericChannelUpdateEvent(JDA, long, Channel, ChannelField, T, T) - Constructor for class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
- GenericCommandInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a
CommandInteraction
was used. - GenericCommandInteractionEvent(JDA, long, CommandInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- GenericComponentInteractionCreateEvent - Class in net.dv8tion.jda.api.events.interaction.component
-
Indicates that a
ComponentInteraction
was created in a channel. - GenericComponentInteractionCreateEvent(JDA, long, ComponentInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- GenericContextInteractionEvent<T> - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a
ContextInteraction
was used. - GenericContextInteractionEvent(JDA, long, ContextInteraction<T>) - Constructor for class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- GenericEmojiEvent - Class in net.dv8tion.jda.api.events.emoji
-
Indicates that a
Custom Emoji
was created/removed/updated. - GenericEmojiEvent(JDA, long, RichCustomEmoji) - Constructor for class net.dv8tion.jda.api.events.emoji.GenericEmojiEvent
- GenericEmojiUpdateEvent<T> - Class in net.dv8tion.jda.api.events.emoji.update
-
Indicates that an
Custom Emoji
was updated. - GenericEmojiUpdateEvent(JDA, long, RichCustomEmoji, T, T, String) - Constructor for class net.dv8tion.jda.api.events.emoji.update.GenericEmojiUpdateEvent
- GenericEntitlementEvent - Class in net.dv8tion.jda.api.events.entitlement
-
Indicates that an
Entitlement
was either created, updated, or deleted - GenericEvent - Interface in net.dv8tion.jda.api.events
-
Interface for events supported by
EventManagers
. - GenericForumTagEvent - Class in net.dv8tion.jda.api.events.channel.forum
-
Abstraction of all tags relating to
ForumTag
changes (excludingThreadChannel.getAppliedTags()
). - GenericForumTagEvent(JDA, long, IPostContainer, ForumTag) - Constructor for class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
- GenericForumTagUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.forum.update
-
Abstraction of all
ForumTag
updates. - GenericForumTagUpdateEvent(JDA, long, IPostContainer, ForumTag, T, T, String) - Constructor for class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
- GenericGuildEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
event is fired. - GenericGuildEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GenericGuildEvent
- GenericGuildInviteEvent - Class in net.dv8tion.jda.api.events.guild.invite
- GenericGuildInviteEvent(JDA, long, String, GuildChannel) - Constructor for class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
- GenericGuildMemberEvent - Class in net.dv8tion.jda.api.events.guild.member
-
Indicates that a
Guild
member event is fired. - GenericGuildMemberEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
- GenericGuildMemberUpdateEvent<T> - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that a
Guild
member event is fired. - GenericGuildMemberUpdateEvent(JDA, long, Member, T, T, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- GenericGuildStickerEvent - Class in net.dv8tion.jda.api.events.sticker
-
Indicates that an
GuildSticker
was created/removed/updated. - GenericGuildStickerEvent(JDA, long, Guild, GuildSticker) - Constructor for class net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
- GenericGuildStickerUpdateEvent<T> - Class in net.dv8tion.jda.api.events.sticker.update
-
Indicates that an
GuildSticker
was updated. - GenericGuildStickerUpdateEvent(JDA, long, Guild, GuildSticker, String, T, T) - Constructor for class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
- GenericGuildUpdateEvent<T> - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that a
Guild
was updated. - GenericGuildUpdateEvent(JDA, long, Guild, T, T, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- GenericGuildVoiceEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Guild
voice event is fired. - GenericGuildVoiceEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
- GenericInteractionCreateEvent - Class in net.dv8tion.jda.api.events.interaction
-
Indicates that an
Interaction
was created. - GenericInteractionCreateEvent(JDA, long, Interaction) - Constructor for class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- GenericMessageEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a
Message
was created/deleted/changed. - GenericMessageEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.GenericMessageEvent
- GenericMessagePollVoteEvent - Class in net.dv8tion.jda.api.events.message.poll
-
Indicates that a poll vote was added/removed.
- GenericMessagePollVoteEvent(MessageChannel, long, long, long, long) - Constructor for class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
- GenericMessageReactionEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a MessageReaction was added/removed.
- GenericMessageReactionEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
- GenericPermissionOverrideEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
for aGuildChannel
was created, deleted, or updated. - GenericPermissionOverrideEvent(JDA, long, IPermissionContainer, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
- GenericPrivilegeUpdateEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that the privileges of an integration or its commands changed.
- GenericPrivilegeUpdateEvent(JDA, long, Guild, long, long, List<IntegrationPrivilege>) - Constructor for class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
- GenericRoleEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was created/deleted/changed. - GenericRoleEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.GenericRoleEvent
- GenericRoleUpdateEvent<T> - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
was updated. - GenericRoleUpdateEvent(JDA, long, Role, T, T, String) - Constructor for class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- GenericScheduledEventGatewayEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a gateway event relating to a
ScheduledEvent
has been fired. - GenericScheduledEventGatewayEvent(JDA, long, ScheduledEvent) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventGatewayEvent
- GenericScheduledEventUpdateEvent<T> - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
A generic gateway event class representing an update of a
ScheduledEvent
entity. - GenericScheduledEventUpdateEvent(JDA, long, ScheduledEvent, T, T, String) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- GenericScheduledEventUserEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a
User
has subscribed or unsubscribed to aScheduledEvent
. - GenericScheduledEventUserEvent(JDA, long, ScheduledEvent, long) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
- GenericSelectMenuInteractionEvent<T,
S> - Class in net.dv8tion.jda.api.events.interaction.component -
Indicates that a custom
SelectMenu
on one of the bots messages was used by a user. - GenericSelectMenuInteractionEvent(JDA, long, SelectMenuInteraction<T, S>) - Constructor for class net.dv8tion.jda.api.events.interaction.component.GenericSelectMenuInteractionEvent
- GenericSelfUpdateEvent<T> - Class in net.dv8tion.jda.api.events.self
-
Indicates that a
SelfUser
changed or started an activity. - GenericSelfUpdateEvent(JDA, long, T, T, String) - Constructor for class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- GenericSessionEvent - Class in net.dv8tion.jda.api.events.session
-
Events which update the gateway session status.
- GenericSessionEvent(JDA, SessionState) - Constructor for class net.dv8tion.jda.api.events.session.GenericSessionEvent
- GenericStageInstanceEvent - Class in net.dv8tion.jda.api.events.stage
-
Indicates that a
StageInstance
was created/deleted/changed. - GenericStageInstanceEvent(JDA, long, StageInstance) - Constructor for class net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
- GenericStageInstanceUpdateEvent<T> - Class in net.dv8tion.jda.api.events.stage.update
-
Indicates that a
StageInstance
was updated. - GenericStageInstanceUpdateEvent(JDA, long, StageInstance, T, T, String) - Constructor for class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- GenericThreadEvent - Class in net.dv8tion.jda.api.events.thread
-
Top-level thread event type
All thread events JDA fires are derived from this class. - GenericThreadEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.GenericThreadEvent
- GenericThreadMemberEvent - Class in net.dv8tion.jda.api.events.thread.member
-
Indicates that a
ThreadMember
event has been fired. - GenericThreadMemberEvent(JDA, long, ThreadChannel, long, ThreadMember) - Constructor for class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
- GenericUserEvent - Class in net.dv8tion.jda.api.events.user
-
Indicates that a
User
changed or started an activity. - GenericUserEvent(JDA, long, User) - Constructor for class net.dv8tion.jda.api.events.user.GenericUserEvent
- GenericUserPresenceEvent - Interface in net.dv8tion.jda.api.events.user.update
-
Indicates that the presence of a
User
has changed. - GenericUserUpdateEvent<T> - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that a user has updated their presence on discord.
- GenericUserUpdateEvent(JDA, long, User, T, T, String) - Constructor for class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- GERMAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- get() - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Blocks the current thread until the result is ready.
- get() - Method in class net.dv8tion.jda.api.utils.Result
-
Unwraps the success value of this result.
- get(Class<T>, IOFunction<BufferedReader, T>) - Method in class net.dv8tion.jda.api.requests.Response
- get(String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the with the
GET
method. - get(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves any type to the provided key.
- get(DiscordLocale) - Method in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
-
Gets the localized string for the specified
DiscordLocale
. - get(DataArray, String, BiFunction<DataObject, String, ? extends T>, BiFunction<DataArray, Integer, ? extends T>) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - get(DataObject, String, BiFunction<DataObject, String, ? extends T>, BiFunction<DataArray, Integer, ? extends T>) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - GET - Enum constant in enum net.dv8tion.jda.api.requests.Method
- GET_ALL_COMMAND_PERMISSIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_APPLICATION_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_APPLICATION_EMOJIS - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_AUDIT_LOGS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_BAN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_BANS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_BOT_APPLICATION - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- GET_CHANNEL_INVITES - Static variable in class net.dv8tion.jda.api.requests.Route.Invites
- GET_CHANNELS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_COMMAND_PERMISSIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_COMMANDS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Emojis
- GET_EMOJIS - Static variable in class net.dv8tion.jda.api.requests.Route.Emojis
- GET_ENTITLEMENT - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_ENTITLEMENTS - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_GUILD - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_GUILD_COMMAND - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_GUILD_COMMANDS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_GUILD_EMBED - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_GUILD_EMOJIS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_GUILD_INVITES - Static variable in class net.dv8tion.jda.api.requests.Route.Invites
- GET_GUILD_STICKER - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- GET_GUILD_STICKERS - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- GET_GUILD_TEMPLATES - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- GET_GUILDS - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- GET_INSTANCE - Static variable in class net.dv8tion.jda.api.requests.Route.StageInstances
- GET_INTEGRATIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_INVITE - Static variable in class net.dv8tion.jda.api.requests.Route.Invites
- GET_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- GET_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- GET_MESSAGE_HISTORY - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- GET_PERM_OVERRIDE - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- GET_PERMISSIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- GET_PINNED_MESSAGES - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- GET_POLL_ANSWER_VOTERS - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- GET_PRIVATE_CHANNELS - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- GET_REACTION_USERS - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- GET_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Roles
- GET_ROLE_CONNECTION_METADATA - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- GET_ROLES - Static variable in class net.dv8tion.jda.api.requests.Route.Roles
- GET_RULE - Static variable in class net.dv8tion.jda.api.requests.Route.AutoModeration
- GET_SCHEDULED_EVENT - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_SCHEDULED_EVENT_USERS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_SCHEDULED_EVENTS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_SELF - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- GET_STICKER - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- GET_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- GET_THREAD_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- GET_TOKEN_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- GET_USER - Static variable in class net.dv8tion.jda.api.requests.Route.Users
- GET_VANITY_URL - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_VOICE_REGIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_VOICE_REGIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Misc
- GET_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- GET_WEBHOOKS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- GET_WEBHOOKS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- GET_WELCOME_SCREEN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- getAccentColor() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The user's accent color.
- getAccentColorRaw() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The raw RGB value of this user's accent color.
- getAccessToken() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The access token
- getActionComponents() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Immutable filtered copy of
LayoutComponent.getComponents()
elements which areActionComponents
. - getActionRows() - Method in interface net.dv8tion.jda.api.entities.Message
-
Rows of interactive components such as
Buttons
. - getActions() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The automated
AutoModResponses
that will be activated when the rule is triggered. - getActiveClients() - Method in interface net.dv8tion.jda.api.entities.Member
-
A Set of all active
ClientTypes
of this Member. - getActivities() - Method in interface net.dv8tion.jda.api.entities.Member
-
The activities of the user.
- getActivity() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
MessageActivity
that contains its type and party id. - getActivity() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
The game that the member is currently playing.
- getActivity() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The current Activity for this session.
- getAddedTags() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
-
The newly added tags.
- getAfkChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
VoiceChannel
that has been set as the channel whichMembers
will be moved to after they have been inactive in aVoiceChannel
for longer thanGuild.getAfkTimeout()
. - getAfkChannel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Provides the
TemplateChannel
that has been set as the channel whichMembers
will be moved to after they have been inactive in aVoiceChannel
for longer thanTemplateGuild.getAfkTimeout()
. - getAfkTimeout() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Timeout
set for this Guild representing the amount of time that must pass for a Member to have had no activity in aVoiceChannel
to be considered AFK. - getAfkTimeout() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
AFK Timeout
for this guild. - getAlertMessageId() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the alert
Message
sent to the alert channel. - getAlertMessageIdLong() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the alert
Message
sent to the alert channel. - getAlertMessageIdLong() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getAllowed() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
EnumSet of all
Permissions
that are specifically allowed by this override. - getAllowed() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
EnumSet of all
Permissions
that are specifically allowed by this override. - getAllowed() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of allowed permission bits.
- getAllowedFileSize() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
Returns the maximum size for files that can be uploaded with this account.
- getAllowedMentions() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getAllowedMentions() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The mention types which are whitelisted.
- getAllowedMentions() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The mention types which are whitelisted.
- getAllowedMentions() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The mention types which are whitelisted.
- getAllowedPermissions() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Set of
Permissions
that would be granted by the PermissionOverride that is created by this action. - getAllowedRaw() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions allowed by this override.
- getAllowedRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions allowed by this override.
- getAllowlist() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The whitelisted keywords that are allowed by this rule.
- getAnswerId() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
The id of the answer, usually the ordinal position.
- getAnswers() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
The poll answers.
- getApplication() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The target
Invite.EmbeddedApplication
of this invite ornull
if theTargeType
is notInvite.TargetType.EMBEDDED_APPLICATION
- getApplication() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The
Application
thisMessageActivity
may have. - getApplicationId() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the parent application of this
Entitlement
- getApplicationId() - Method in interface net.dv8tion.jda.api.entities.Message
-
If this message is from an application-owned
Webhook
or is a response to anInteraction
, this will return the application's id. - getApplicationId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The ID for the responsible application.
- getApplicationId() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The associated application id for the bot account.
- getApplicationId() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The id of the application of which privileges have been changed.
- getApplicationId() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The id of the application this command belongs to.
- getApplicationIdLong() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the parent application of this
Entitlement
- getApplicationIdLong() - Method in interface net.dv8tion.jda.api.entities.Message
-
If this message is from an application-owned
Webhook
or is a response to anInteraction
, this will return the application's id. - getApplicationIdLong() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The ID for the responsible application.
- getApplicationIdLong() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The associated application id for the bot account.
- getApplicationIdLong() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The id of the application of which privileges have been changed.
- getApplicationIdLong() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The id of the application this command belongs to.
- getApplicationPrivileges() - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
The
IntegrationPrivileges
that have been applied to this application in this guild. - getAppliedTags() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
The
forum tags
applied to this thread. - getAppliedTags() - Method in class net.dv8tion.jda.api.requests.restaction.ThreadCreateMetadata
-
The applied tags for the thread / forum post.
- getApproximateMembers() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The approximate number of members in this guild.
- getApproximatePosition() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the approximate position of this message in a
ThreadChannel
. - getApproximatePresences() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The approximate number of online members in this guild.
- getArray() - Method in class net.dv8tion.jda.api.requests.Response
- getArray(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a DataArray
- getArray(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataArray to a key.
- getArray(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getArray(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getAsAttachment() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The file uploaded for this option.
- getAsBoolean() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The boolean value.
- getAsChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
GuildChannel
for this option value. - getAsCodepoints() - Method in interface net.dv8tion.jda.api.entities.emoji.UnicodeEmoji
-
Converts the unicode name into codepoint notation like
U+1F602
. - getAsDouble() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The value of this choice.
- getAsDouble() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The double value for this option.
- getAsInt() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The int value for this option.
- getAsLong() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The value of this choice.
- getAsLong() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The long value for this option.
- getAsMap() - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
Map containing all privileges, with the command-id as the Key, and a List of
IntegrationPrivilege
as Value. - getAsMember() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
Member
for this option value. - getAsMention() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.IMentionable
-
Retrieve a Mention for this Entity.
- getAsMention() - Method in interface net.dv8tion.jda.api.interactions.commands.ICommandReference
-
Retrieve a Mention for this Entity.
- getAsMentionable() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
IMentionable
instance for this option value. - getAsReactionCode() - Method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
The reaction code for this emoji.
- getAsRole() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
Role
for this option value. - getAsString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The value of this choice.
- getAsString() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The String representation of this option value.
- getAsString() - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
-
The String representation of this component.
- getAsTag() - Method in interface net.dv8tion.jda.api.entities.User
-
The "tag" for this user
- getAsUser() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
User
for this option value. - getAttachments() - Method in interface net.dv8tion.jda.api.entities.Message
-
An immutable list of
Attachments
that are attached to this message. - getAttachments() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Message attachments of the forwarded message.
- getAttachments() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- getAttachments() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
- getAttachments() - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
- getAttachments() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The configured message attachments as
AttachedFile
, this is the opposite ofMessageRequest.setFiles(Collection)
and only returns what was set using that setter. - getAttachments() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- getAttachments() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The
AttachedFiles
attached to this message. - getAudience() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
All current audience members of this stage instance.
- getAudioController() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the audio controller of this JDA instance
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.CombinedAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Decodes and adjusts the opus audio for the specified volume.
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.UserAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioData(short[], double) - Static method in class net.dv8tion.jda.api.audio.OpusPacket
-
Decodes and adjusts the opus audio for the specified volume.
- getAudioManager() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
AudioManager
that represents the audio connection for this Guild. - getAudioManagerCache() - Method in interface net.dv8tion.jda.api.JDA
-
CacheView
of all cachedAudioManagers
created for this JDA instance. - getAudioManagers() - Method in interface net.dv8tion.jda.api.JDA
-
Immutable list of all created
AudioManagers
for this JDA instance! - getAuditLogKey() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelField
- getAuthor() - Method in interface net.dv8tion.jda.api.entities.Message
-
The author of this Message
- getAuthor() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information on the creator of the embedded content.
- getAuthor() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The Author of the Message received as
User
object. - getAuthor() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
The author of the Message.
- getAutoArchiveDuration() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
The inactivity timeout of this thread.
- getAvailableTagById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
Retrieves the tag for the provided id.
- getAvailableTagById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
Retrieves the tag for the provided id.
- getAvailableTagCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The available
ForumTags
for this forum channel. - getAvailableTags() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The available
ForumTags
for this channel. - getAvailableTagsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The available
ForumTags
for this channel. - getAvatar() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns an
ImageProxy
for this member's avatar. - getAvatar() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns an
ImageProxy
for this user's avatar. - getAvatar() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Returns an
ImageProxy
for this user's avatar image. - getAvatarId() - Method in interface net.dv8tion.jda.api.entities.Member
-
The Discord Id for this member's per guild avatar image.
- getAvatarId() - Method in interface net.dv8tion.jda.api.entities.User
-
The Discord ID for this user's avatar image.
- getAvatarId() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the avatar hash of the member, or null if they do not have an avatar set.
- getAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Member
-
The URL for the member's per guild avatar image.
- getAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
The URL for the user's avatar image.
- getAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the avatar url of the member, or null if they do not have an avatar set.
- getAverageGatewayPing() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
The average time in milliseconds between all shards that discord took to respond to our last heartbeat.
- getBannedUsers() - Method in class net.dv8tion.jda.api.entities.BulkBanResponse
-
List of successfully banned users.
- getBanner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns an
ImageProxy
for this guild's banner image. - getBanner() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The
ImageProxy
for the pack banner. - getBanner() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
Returns an
ImageProxy
for this user's banner. - getBannerId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The guild banner id.
- getBannerId() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The id for the pack banner.
- getBannerId() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The Discord Id for this user's banner image.
- getBannerIdLong() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The id for the pack banner.
- getBannerUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The guild banner url.
- getBannerUrl() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The url for the pack banner.
- getBannerUrl() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The URL for the user's banner image.
- getBaseRoute() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
-
The route template with the original placeholders.
- getBaseUrl() - Method in class net.dv8tion.jda.api.requests.RestConfig
-
The configured base-url for REST-api requests.
- getBitrate() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.AudioChannel
-
The audio bitrate of the voice audio that is transmitted in this channel.
- getBitrate() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The audio bitrate of the voice audio that is transmitted in this channel.
- getBody() - Method in class net.dv8tion.jda.api.requests.Request
- getBoolean(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a boolean.
- getBoolean(int, boolean) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a boolean.
- getBoolean(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
Boolean
to a key. - getBoolean(String, boolean) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
Boolean
to a key. - getBoolean(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getBoolean(DataArray, String, boolean) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getBoolean(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getBoolean(DataObject, String, boolean) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getBoostCount() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The amount of boosts this server currently has.
- getBoosters() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted list of
Members
that boost this guild. - getBoostRole() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up the role which is the booster role of this guild.
- getBoostTier() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The boost tier for this guild.
- getBotId() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the bot associated with this role.
- getBotIdLong() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the bot associated with this role.
- getBotRole() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up the role which is the integration role for the currently connected bot (self-user).
- getButton() - Method in class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- getButton() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.ButtonInteraction
-
The
Button
this interaction belongs to. - getButtonById(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Gets the
Button
with the specified ID. - getButtons() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
Buttons
attached to this message. - getButtons() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
List of buttons in this component layout.
- getButtonsByLabel(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Message
-
All
Buttons
with the specified label attached to this message. - getCached() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The currently cached entities of recent execution tasks.
- getCacheFlags() - Method in interface net.dv8tion.jda.api.JDA
-
The
cache flags
that have been enabled for this JDA session. - getCallbackPool() - Method in interface net.dv8tion.jda.api.JDA
-
ExecutorService
used to handleRestAction
callbacks and completions. - getCategories() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
Categories
in the cache. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
Categories
in this Guild that have the same name as the one provided. - getCategory() - Method in interface net.dv8tion.jda.api.entities.Message
-
The
Category
this message was sent in. - getCategory() - Method in interface net.dv8tion.jda.api.requests.restaction.order.CategoryOrderAction
-
Gets the
Category
controlled by this CategoryOrderAction. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
Category
that has the same id as the one provided. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
Category
that has the same id as the one provided. - getCategoryCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Sorted
SnowflakeCacheView
ofCategory
. - getCategoryCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getCategoryCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedCategories
visible to this ShardManager instance. - getCause() - Method in class net.dv8tion.jda.api.events.ExceptionEvent
-
The cause Throwable for this event
- getCFRays() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getCFRays() - Method in class net.dv8tion.jda.api.requests.Response
- getChangeByKey(String) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChangeByKey(AuditLogKey) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChanges() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Key-Value
Map
containing allAuditLogChanges
made in this entry. - getChangesForKeys(AuditLogKey...) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Filters all changes by the specified keys
- getChannel() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The
GuildMessageChannelUnion
that this execution occurred in. - getChannel() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
The channel to send the alert message to.
- getChannel() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the current
AudioChannelUnion
that theMember
is in. - getChannel() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
Returns the
GuildChannel
that is linked to this recommended channel. - getChannel() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Channel
object containing information about this invite's origin channel. - getChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
MessageChannel
that this message was sent in. - getChannel() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Returns the
MessageChannel
that this MessageHistory is related to. - getChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
MessageChannel
this Reaction was used in. - getChannel() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The channel from which this message originates.
- getChannel() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
The
GuildChannel
that this PermissionOverride affects. - getChannel() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The guild channel the event is set to take place in.
- getChannel() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
StageChannel
for this stage instance - getChannel() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
channel
instance this Webhook is attached to. - getChannel() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Gets the channel the member is in
- getChannel() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
-
The
IPostContainer
which has been updated. - getChannel() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
The
Channel
the event was fired from. - getChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
GuildChannel
this invite points to. - getChannel() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
guild channel
this override belongs to. - getChannel() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
MessageChannel
for this Message - getChannel() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
The
GuildMessageChannel
where the messages have been deleted - getChannel() - Method in class net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
-
The
StageChannel
this instance belongs to - getChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The channel where the typing was started
- getChannel() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
-
The update voice channel
- getChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction
-
The respective
MessageChannelUnion
for this interaction. - getChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
- getChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction
-
The respective
MessageChannelUnion
for this interaction. - getChannel() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The respective
MessageChannelUnion
for this interaction. - getChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The channel this interaction happened in.
- getChannel() - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
- getChannel() - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
The
GuildChannel
that will be modified by this Manager instance - getChannel() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The
GuildChannel
this Manager'sPermissionOverride
is in. - getChannel() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
- getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.ForumPostAction
-
The
IPostContainer
to create the post in - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.MessagePaginationAction
-
The targeted
MessageChannel
- getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ThreadChannelPaginationAction
-
The
IThreadContainerUnion
for this action
This can also be used for casting down to more concrete types. - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
IPermissionContainer
this will be created in - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
The
channel
to create this webhook in. - getChannel(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Gets the
ChannelData
of the specified index. - getChannel(JDA) - Method in exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The
GuildChannel
instance for thechannel id
. - getChannelById(Class<T>, long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get a channel of the specified type by id.
- getChannelById(Class<T>, String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get a channel of the specified type by id.
- getChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Unified cache of all channels associated with this shard or guild.
- getChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getChannelId() - Method in interface net.dv8tion.jda.api.entities.Message
-
The ID for the channel this message was sent in.
- getChannelId() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The ID for the channel this reaction happened in.
- getChannelId() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the channel id for this reference, or 0 if no channel id was provided.
- getChannelId() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
-
The ID for the channel this webhook belongs to
- getChannelId() - Method in exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The id for the responsible
GuildChannel
instance. - getChannelId() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The ID of the channel this interaction happened in.
- getChannelIdLong() - Method in interface net.dv8tion.jda.api.entities.Message
-
The ID for the channel this message was sent in.
- getChannelIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The ID for the channel this reaction happened in.
- getChannelIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the channel id for this reference, or 0 if no channel id was provided.
- getChannelIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
-
The ID for the channel this webhook belongs to
- getChannelIdLong() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getChannelIdLong() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The ID of the channel this interaction happened in.
- getChannelJoined() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The
AudioChannelUnion
that was joined - getChannelLeft() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The
AudioChannelUnion
that theMember
is moved from - getChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
Channels
listed for this Category. - getChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Populated list of
channels
for this guild. - getChannels() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
-
The channels shown in the welcome screen.
- getChannels() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
GuildChannels
. - getChannels() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
- getChannels(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Populated list of
channels
for this guild. - getChannels(Class<T>) - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
GuildChannels
of typeclazz
. - getChannelsBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentioned channels. - getChannelsBag(Class<T>) - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentioned channels of typeclazz
. - getChannelType() - Method in interface net.dv8tion.jda.api.entities.Message
-
Gets the
ChannelType
that this message was received from. - getChannelType() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
ChannelType
this Reaction was used in. - getChannelType() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
The
ChannelType
of the channel the event was fired from. - getChannelType() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
ChannelType
for of thechannel
this invite points to. - getChannelType() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
ChannelType
of theGuildChannel
this override belongs to. - getChannelType() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
ChannelType
for this message - getChannelType() - Method in exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The
ChannelType
for thechannel id
. - getChannelType() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The
ChannelType
for the resolved channel. - getChannelType() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
ChannelType
for the channel this interaction came from. - getChannelTypes() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The
ChannelTypes
this option is restricted to. - getChannelTypes() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The
ChannelTypes
this option is restricted to. - getChannelTypes() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
The allowed
ChannelTypes
for this menu. - getChannelTypes() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The
ChannelTypes
for thesorting bucket
. - getCheck() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
The current checks for this RestAction.
- getChoices() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The choices for this option.
- getChoices() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The predefined choices available for this option.
- getClassic() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.GlobalRateLimit
-
The current global rate-limit reset time.
- getClientCloseFrame() - Method in class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
-
The close frame we sent to discord
- getCloseCode() - Method in class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
-
Possibly-null
CloseCode
representing the meaning for this DisconnectEvent - getCloseCode() - Method in class net.dv8tion.jda.api.events.session.ShutdownEvent
-
Possibly-null
CloseCode
representing the meaning for this ShutdownEvent. - getCloudflare() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.GlobalRateLimit
-
The current cloudflare rate-limit reset time.
- getCode() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The invite code
- getCode() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The template code.
- getCode() - Method in class net.dv8tion.jda.api.entities.VanityInvite
-
The invite code used for the invite url.
- getCode() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The invite code.
- getCode() - Method in class net.dv8tion.jda.api.events.session.ShutdownEvent
-
The server close code that was in the disconnect close frame of this JDA instance.
- getCode() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
-
The machine parsable error code
- getCode() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
The integer code in the form of
4xxx
/1xxx
- getCode() - Method in enum net.dv8tion.jda.api.requests.ErrorResponse
- getColor() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
Color
of this Member's name in a Guild. - getColor() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The color of the stripe on the side of the embed.
- getColor() - Method in interface net.dv8tion.jda.api.entities.Role
-
The color this
Role
is displayed in. - getColor() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The color this
Role
is displayed in. - getColorRaw() - Method in interface net.dv8tion.jda.api.entities.Member
-
The raw RGB value for the color of this member.
- getColorRaw() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The raw RGB color value for this embed
Defaults toRole.DEFAULT_COLOR_RAW
if no color is set - getColorRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The raw color RGB value used for this role
Defaults toRole.DEFAULT_COLOR_RAW
if this role has no set color - getColorRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The raw color RGB value used for this role
Defaults toRole.DEFAULT_COLOR_RAW
if this role has no set color - getCommandId() - Method in class net.dv8tion.jda.api.events.interaction.command.ApplicationCommandUpdatePrivilegesEvent
-
The id of the command whose privileges have been changed.
- getCommandId() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The command id
This is the id generated when a command is created viaGuild.updateCommands()
or similar. - getCommandIdLong() - Method in class net.dv8tion.jda.api.events.interaction.command.ApplicationCommandUpdatePrivilegesEvent
-
The id of the command whose privileges have been changed.
- getCommandIdLong() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getCommandIdLong() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getCommandIdLong() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The command id.
- getCommandPrivileges(String) - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
The
IntegrationPrivileges
that have been applied to the command with the given id in this guild. - getCommandPrivileges(Command) - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
The
IntegrationPrivileges
that have been applied to the suppliedCommand
. - getCommandString() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets the display string for this command.
- getCommandType() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getCommandType() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getCommandType() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The
Type
of command this interaction is for. - getCommunityUpdatesChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that receives community updates. - getCompiledRoute() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
-
The compiled route string of the endpoint, including all arguments and query parameters.
- getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericSelectMenuInteractionEvent
- getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.ButtonInteraction
- getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
ActionComponent
instance. - getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
- getComponentId() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponentId() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The custom component ID provided to the component when it was originally created.
- getComponents() - Method in interface net.dv8tion.jda.api.entities.Message
-
Layouts of interactive components, usually
ActionRows
. - getComponents() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Components of the forwarded message.
- getComponents() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Mutable list of components in this ActionRow.
- getComponents() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
List representation of this component layout.
- getComponents() - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Returns a modifiable list of all components
- getComponents() - Method in interface net.dv8tion.jda.api.interactions.modals.Modal
-
A List of
LayoutComponents
that this modal contains. - getComponents() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getComponents() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The components of the message.
- getComponents() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The configured message components, this is the opposite of
MessageRequest.setComponents(Collection)
and only returns what was set using that setter. - getComponents() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The components of the message.
- getComponentType() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponentType() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
Component.Type
- getConcurrency() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The concurrency level for this bot.
- getConnectedChannel() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Provides the current channel that this connection is transmitting to.
- getConnectedChannel() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
AudioChannelUnion
that JDA currently has an audio connection to. - getConnectionListener() - Method in interface net.dv8tion.jda.api.managers.AudioManager
- getConnectionStatus() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The current
ConnectionStatus
. - getConnectTimeout() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set timeout value, in milliseconds, used when waiting for an audio connection to be established.
- getContent() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The user content that triggered this rule.
- getContent() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getContent() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getContent() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The content of the message.
- getContent() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The configured message content, this is the opposite for
MessageRequest.setContent(String)
and only returns what was set using that setter. - getContent() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The content of the message.
- getContentDisplay() - Method in interface net.dv8tion.jda.api.entities.Message
-
The textual content of this message in the format that would be shown to the Discord client.
- getContentRaw() - Method in interface net.dv8tion.jda.api.entities.Message
-
The raw textual content of this message.
- getContentRaw() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The raw content of the message, including markdown and mentions.
- getContentStripped() - Method in interface net.dv8tion.jda.api.entities.Message
-
Gets the textual content of this message using
Message.getContentDisplay()
and then strips it of markdown characters like *, **, __, ~~, || that provide text formatting. - getContentType() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The Content-Type of this file.
- getCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The total amount of users that already reacted with this Reaction.
- getCount(MessageReaction.ReactionType) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The specific amount of users that already reacted with this Reaction.
- getCover() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
Returns an
ImageProxy
for this cover's icon. - getCoverId() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The cover aka splash id of this Application.
- getCoverId() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The id of the sticker shown as cover.
- getCoverIdLong() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The id of the sticker shown as cover.
- getCoverSticker() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The
StandardSticker
shown as cover. - getCoverUrl() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The url of the cover image for this application.
- getCreator() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The user who originally created the event.
- getCreator() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The user who created this template.
- getCreatorId() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The user id of the creator of this rule.
- getCreatorId() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The ID of the user who originally created this event.
- getCreatorIdLong() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The user id of the creator of this rule.
- getCreatorIdLong() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The ID of the user who originally created this event.
- getCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
The current reason that should be used for
AuditableRestAction
. - getCurrentOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Immutable List representing the currently selected order of entities in this OrderAction instance
- getCustomAuthorizationUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The custom Authorization URL of this bot's application.
- getCustomBuilder() - Method in class net.dv8tion.jda.api.requests.RestConfig
-
The custom request interceptor.
- getCustomEmojis() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
All
CustomEmojis
used. - getCustomEmojisBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of custom emojis used. - getCustomMessage() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
The custom message to send to the user.
- getData() - Method in class net.dv8tion.jda.api.utils.FileUpload
-
The
InputStream
representing the data to upload as a file. - getDateTimeString(OffsetDateTime) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Returns a prettier String-representation of a OffsetDateTime object
- getDefaultAvatar() - Method in interface net.dv8tion.jda.api.entities.UserSnowflake
-
Returns an
ImageProxy
for this user's default avatar. - getDefaultAvatar() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Returns an
ImageProxy
for this user's default avatar image. - getDefaultAvatarId() - Method in interface net.dv8tion.jda.api.entities.UserSnowflake
-
The Discord ID for this user's default avatar image.
- getDefaultAvatarId() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the asset id of the member's default avatar
- getDefaultAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.UserSnowflake
-
The URL for the user's default avatar image.
- getDefaultAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the url of the member's default avatar
- getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The default
StandardGuildChannel
for aGuild
. - getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
default channel
for aMember
. - getDefaultFailure() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - getDefaultLayout() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
-
The default layout used to show threads.
- getDefaultMentions() - Static method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Returns the default
MentionTypes
previously set byAllowedMentions.setDefaultMentions(Collection)
. - getDefaultNotificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the default message Notification-Level of this Guild.
- getDefaultNotificationLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
NotificationLevel
of this guild. - getDefaultPermissions() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Gets the
DefaultMemberPermissions
of this command. - getDefaultPermissions() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
DefaultMemberPermissions
of this command. - getDefaultReaction() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The emoji which will show up on new forum posts as default reaction.
- getDefaultSortOrder() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The default order used to show threads.
- getDefaultSuccess() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - getDefaultThreadSlowmode() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
The default
slowmode
for thread channels that is copied on thread creation. - getDefaultTimeout() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default timeout to apply to every RestAction in milliseconds.
- getDefaultUser() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The default User for this Webhook.
- getDefaultValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
Default selected values.
- getDelay(TimeUnit) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- getDenied() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
EnumSet of all
Permissions
that are denied by this override. - getDenied() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
EnumSet of all
Permissions
that are denied by this override. - getDenied() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of denied permission bits.
- getDeniedPermissions() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Set of
Permissions
that would be denied by the PermissionOverride that is created by this action. - getDeniedRaw() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions denied by this override.
- getDeniedRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions denied by this override.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The description of the bot's application.
- getDescription() - Method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Description of this level in the official Discord Client (as of 5th May, 2017)
- getDescription() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The description for this guild.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
The description of this recommended channel shown in the welcome screen.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
-
The server description shown in the welcome screen.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The description of this application.
- getDescription() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The description (alt text) of this attachment.
- getDescription() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
A short description of this Application.
- getDescription() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The description of the embedded resource.
- getDescription() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The description of the metadata.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The description of the event.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.sticker.RichSticker
-
The description of the sticker, or empty String if the sticker doesn't have one.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The description of the sticker pack
- getDescription() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The template description.
- getDescription() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The description for this guild.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The description for this option
- getDescription() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The configured description
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The configured description
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The description for this subcommand group
- getDescription() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The description of this command.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The description of this option, subcommand, or subcommand group.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The description of this subcommand.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The description of this subcommand group.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current description for this option.
- getDescription() - Method in class net.dv8tion.jda.api.utils.FileUpload
-
The description for the file.
- getDescriptionBuilder() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The
StringBuilder
used to build the description for the embed. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The localizations of this record's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The localizations of this option's description for
various languages
. - getDescriptionLocalizations() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The localizations of this command's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The localizations of this subcommand's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The localizations of this subcommand's description for
various languages
group. - getDescriptionLocalizations() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The localizations of this command's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The localizations of this option's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The localizations of this subcommand's description for
various languages
. - getDescriptionLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The localizations of this subcommand group's description for
various languages
. - getDetails() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
What the player is currently doing
Example: "Competitive - Captain's Mode", "In Queue", "Unranked PvP" - getDirectAudioController() - Method in interface net.dv8tion.jda.api.JDA
-
Direct access to audio (dis-)connect requests.
- getDiscordTimestamp(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Converts the provided epoch millisecond timestamp to a Discord Snowflake.
- getDiscriminator() - Method in interface net.dv8tion.jda.api.entities.User
-
The discriminator of the
User
. - getDiscriminator() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the discriminator of the member
- getDouble(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a double.
- getDouble(int, double) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a double.
- getDouble(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a double to a key.
- getDouble(String, double) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a double to a key.
- getDouble(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getDouble(DataArray, String, double) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getDouble(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getDouble(DataObject, String, double) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getDuration() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Gets the duration of this attachment.
- getEffectiveAvatar() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns an
ImageProxy
for this member's effective avatar image. - getEffectiveAvatar() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns an
ImageProxy
for this user's effective avatar image. - getEffectiveAvatar() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Returns an
ImageProxy
for this user's effective avatar image. - getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Member
-
The URL for the member's effective avatar image.
- getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
The URL for the user's avatar image.
- getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
The URL for the user's avatar image
If they do not have an avatar set, this will return the URL of their default avatar - getEffectiveName() - Method in interface net.dv8tion.jda.api.entities.Member
-
Retrieves the Name displayed in the official Discord Client.
- getEffectiveName() - Method in interface net.dv8tion.jda.api.entities.User
-
The name visible in the UI.
- getEffectiveName() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the visible name of the member.
- getElapsedTime(TemporalUnit) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Calculates the elapsed time from
Activity.Timestamps.getStartTime()
to now in terms of the specified unit. - getElastic() - Method in class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
-
The elastic
ExecutorService
used to execute rate-limit tasks. - getElementById(int) - Method in interface net.dv8tion.jda.api.utils.cache.ShardCacheView
-
Retrieves the JDA instance represented by the provided shard ID.
- getElementById(long) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(long) - Method in interface net.dv8tion.jda.api.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.ShardCacheView
-
Retrieves the JDA instance represented by the provided shard ID or
null
if none of the connected shards match the provided id. - getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementById(ChannelType, long) - Method in interface net.dv8tion.jda.api.utils.cache.ChannelCacheView
-
Retrieves the entity represented by the provided ID.
- getElementById(ChannelType, String) - Method in interface net.dv8tion.jda.api.utils.cache.ChannelCacheView
-
Retrieves the entity represented by the provided ID.
- getElementsById(long) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsById(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsByName(String) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByName(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Role...) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Role...) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getEmbeds() - Method in interface net.dv8tion.jda.api.entities.Message
-
An immutable list of
MessageEmbeds
that are part of this Message. - getEmbeds() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Message embeds of the forwarded message.
- getEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The embeds of the message.
- getEmbeds() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The configured message embeds, this is the opposite of
MessageRequest.setEmbeds(Collection)
and only returns what was set using that setter. - getEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The embeds of the message.
- getEmoji() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The emoji (or custom emoji) attached to a custom status.
- getEmoji() - Method in interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
-
The emoji used as the tag icon.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
- getEmoji() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
The emoji that is used for this recommended channel.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
Emoji
of this Reaction. - getEmoji() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
-
The emoji assigned to this answer.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Question
-
Possible emoji related to the poll question.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The Unicode Emoji of this
Role
that is used instead of a custom image. - getEmoji() - Method in class net.dv8tion.jda.api.events.emoji.GenericEmojiEvent
-
The affected
RichCustomEmoji
for this event - getEmoji() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
Emoji
of the reaction, shortcut forgetReaction().getEmoji()
- getEmoji() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmojiEvent
-
The reaction
Emoji
. - getEmoji() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The emoji attached to this button.
- getEmoji() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The emoji attached to this option which is shown next to the option in the select menu
- getEmoji() - Method in interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
-
The target
ApplicationEmoji
that will be modified by this Manager - getEmoji() - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
The target
RichCustomEmoji
that will be modified by this Manager - getEmoji() - Method in enum net.dv8tion.jda.api.Region
-
The unicode flag representative of this Region.
- getEmojiById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets an
RichCustomEmoji
from this guild that has the same id as the one provided. - getEmojiById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a custom emoji matching the specified
id
if one is available in our cache. - getEmojiById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves a custom emoji matching the specified
id
if one is available in our cache. - getEmojiById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
RichCustomEmoji
from this guild that has the same id as the one provided. - getEmojiById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a custom emoji matching the specified
id
if one is available in our cache. - getEmojiById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves a custom emoji matching the specified
id
if one is available in our cache. - getEmojiCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
SnowflakeCacheView
of all cachedCustom Emojis
of this Guild. - getEmojiCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedCustom Emojis
visible to this JDA session. - getEmojiCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedRichCustomEmojis
visible to this ShardManager instance. - getEmojis() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
Custom Emojis
belonging to thisGuild
. - getEmojis() - Method in interface net.dv8tion.jda.api.JDA
-
A collection of all to us known custom emoji (managed/restricted included).
- getEmojis() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
A collection of all known custom emojis (managed/restricted included).
- getEmojisByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Custom Emojis
in this Guild that have the same name as the one provided. - getEmojisByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
Custom Emojis
that have the same name as the one provided. - getEmojisByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
RichCustomEmojis
that have the same name as the one provided. - getEncoding() - Method in class net.dv8tion.jda.api.entities.Icon
-
The base64 encoded data for this Icon
- getEnd() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Epoch second timestamp of match end, or
0
of unset. - getEndpoint() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The voice server endpoint
- getEndTime() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getEndTime() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The time the event is set to end at.
- getEntitlement() - Method in class net.dv8tion.jda.api.events.entitlement.GenericEntitlementEvent
-
The
Entitlement
- getEntitlements() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getEntitlements() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the list of
entitlements
for the current guild and user. - getEntity() - Method in class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
-
The
Channel
entity affected by this update event. - getEntity() - Method in class net.dv8tion.jda.api.events.emoji.update.GenericEmojiUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
- getEntity() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The affected entity
- getEntity() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getEntityType() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
Class representation of the affected entity, useful when dealing with refection.
- getEntityTypes() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
-
The
SelectTargets
supported by this menu. - getEntry() - Method in class net.dv8tion.jda.api.events.guild.GuildAuditLogEntryCreateEvent
-
The
AuditLogEntry
that was added to theGuild
- getErrorCode() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The discord error code for this error response.
- getErrorResponse() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The
ErrorResponse
corresponding for the received error response from Discord - getErrors() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
-
The list of
ErrorCodes
associated with this schema error. - getEventManager() - Method in interface net.dv8tion.jda.api.JDA
-
The EventManager used by this JDA instance.
- getEventType() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The type of event that triggers this rule.
- getException() - Method in class net.dv8tion.jda.api.requests.Response
- getExemptChannels() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The channels which are exempt from the rule.
- getExemptRoles() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The roles which are exempt from the rule.
- getExpirationTimestamp() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The unix millisecond timestamp for the expiration of this interaction hook.
- getExplicitContentLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The level of content filtering enabled in this Guild.
- getExplicitContentLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
ExplicitContentLevel
of this guild. - getExtension() - Method in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
The file extension used for the sticker asset.
- getFailedUsers() - Method in class net.dv8tion.jda.api.entities.BulkBanResponse
-
List of users which could not be banned.
- getFailure() - Method in class net.dv8tion.jda.api.utils.Result
-
Unwraps the error for this result.
- getFeatures() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Features of the
Guild
. - getFeatures() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The Features of the
Guild
. - getFieldName() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelField
- getFields() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Modifiable list of
MessageEmbed
Fields that the builder will use forEmbedBuilder.build()
. - getFields() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The fields in a message embed.
- getFileExtension() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file extension of the Attachment when it was first uploaded.
- getFileName() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file name of the Attachment when it was first uploaded.
- getFiles() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The
FileUploads
attached to this message. - getFiles() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The
FileUploads
attached to this message. - getFilteredKeywords() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The keywords that are blocked by this rule.
- getFilteredPresets() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The keyword presets that are blocked by this rule.
- getFilteredRegex() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The regex patterns that are blocked by this rule.
- getFirst() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The first cached entity retrieved by this PaginationAction instance
- getFlags() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The
Flags
set for the application. - getFlags() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
-
The flags configured for this channel.
- getFlags() - Method in interface net.dv8tion.jda.api.entities.Member
- getFlags() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns an EnumSet of all
MessageFlags
present for this Message. - getFlags() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The message flags fo the forwarded message.
- getFlags() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence
- getFlags() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the
UserFlags
of this user. - getFlags(int) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Maps the ActivityFlags based on the provided bitmask.
- getFlags(int) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
A set of all UserFlags that are specified by this raw int representation of flags.
- getFlagSet() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence in an enum set
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The raw bitset representing this application's flags.
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.Member
-
The raw
flags
bitset for this member. - getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the raw message flags of this message
- getFlagsRaw() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The raw message flags of the forwarded message.
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the bitmask representation of the
UserFlags
of this user. - getFocusedOption() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getFocusedOption() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction
-
The focused option which the user is typing.
- getFooter() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The footer (bottom) of the embedded content.
- getFormat() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
The
TimeFormat
used to display this timestamp. - getFormatted() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
- getFormatted() - Method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
Formatted string used in messages.
- getFormatted() - Method in interface net.dv8tion.jda.api.entities.emoji.UnicodeEmoji
- getFormatType() - Method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
The format type of this sticker, used for
Sticker.getIconUrl()
. - getForumChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
ForumChannel
that has the same id as the one provided. - getForumChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
ForumChannel
that has the same id as the one provided. - getForumChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
- getForumChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getForumChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getForumChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
ForumChannel
in the cache. - getForumChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
ForumChannels
listed for this Category - getForumChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
ForumChannels
in this Guild that have the same name as the one provided. - getFromOffset(int) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Gets the first UserFlag relating to the provided offset.
- getFromOffset(int) - Static method in enum net.dv8tion.jda.api.Permission
-
Gets the first
Permission
relating to the provided offset. - getFullCommandName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- getFullCommandName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- getFullCommandName() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
- getFullCommandName() - Method in interface net.dv8tion.jda.api.interactions.commands.ICommandReference
-
Returns the full command name, including possible subcommand name and subcommand group name.
- getFullCommandName() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- getGateway() - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Discord's gateway URL, which is used to receive events.
- getGatewayIntents() - Method in interface net.dv8tion.jda.api.JDA
-
The
GatewayIntents
for this JDA session. - getGatewayIntents() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getGatewayIntents() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
The
GatewayIntents
for the JDA sessions of this shard manager. - getGatewayPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to our last heartbeat
This roughly represents the WebSocket ping of this session - getGatewayPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to send WebSocket messages to discord. - getGlobalName() - Method in interface net.dv8tion.jda.api.entities.User
-
The global display name of the user.
- getGlobalRateLimit() - Method in class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
-
The global rate-limit store.
- getGroup() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Group
object containing information about this invite's origin group. - getGuild() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Guild
this audit-log entry refers to - getGuild() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The
Guild
that this execution occurred in. - getGuild() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The
Guild
this rule belongs to. - getGuild() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
Returns the
Guild
that this GuildChannel is part of. - getGuild() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
The
Guild
this emoji is attached to. - getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
- getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
- getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Guild
object containing information about this invite's origin guild. - getGuild() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild to which this PermissionHolder is related
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Member
-
The Guild in which this Member is represented.
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
Guild
that this message was sent in. - getGuild() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
Guild
this Reaction was used in. - getGuild() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The guild for this reference.
- getGuild() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
Guild
this Role exists in - getGuild() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The guild that this event was created in
- getGuild() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
Guild
this stage instance is in - getGuild() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
The
Guild
this sticker belongs to. - getGuild() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
A
Template.Guild
object containing information about this template's origin guild. - getGuild() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
Guild
instance for this Webhook. - getGuild() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
The
Guild
in which this channel event happened. - getGuild() - Method in class net.dv8tion.jda.api.events.emoji.GenericEmojiEvent
-
The
Guild
where the emoji came from - getGuild() - Method in class net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
The
Guild
- getGuild() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
Guild
the Message was received in. - getGuild() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
The
Guild
where the messages were deleted. - getGuild() - Method in class net.dv8tion.jda.api.events.role.GenericRoleEvent
-
The guild of the role
- getGuild() - Method in class net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
-
The
Guild
this sticker belongs to - getGuild() - Method in class net.dv8tion.jda.api.events.thread.GenericThreadEvent
-
The
Guild
containing theThreadChannel
. - getGuild() - Method in interface net.dv8tion.jda.api.events.user.update.GenericUserPresenceEvent
-
Guild in which the presence has changed.
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Guild
in which this users started typing, ornull
if this was not in a Guild. - getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- getGuild() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The
Guild
for this update - getGuild() - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
The guild in which this PrivilegeConfig is applied in.
- getGuild() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
The
Guild
this IntegrationPrivilege was created in. - getGuild() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
Guild
this interaction happened in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Gets the
Guild
instance that this AudioManager is used for. - getGuild() - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
The
Guild
this Manager'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
The
Guild
this Manager'sRichCustomEmoji
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
The
Guild
object of this Manager. - getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
The
Guild
this Manager'sGuildSticker
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
The
Guild
this Manager'sGuildWelcomeScreen
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The
Guild
this Manager'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.RoleManager
- getGuild() - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
The
Guild
thisScheduledEvent
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractThreadCreateAction
-
The guild to create this
GuildChannel
for. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The guild to create this
GuildChannel
in - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The
Guild
to which the user will be added. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The
Guild
which holds the channels fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.RoleOrderAction
-
The
Guild
which holds the roles fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
The current target
Guild
for this AuditLogPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.BanPaginationAction
-
The current target
Guild
for this BanPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ScheduledEventMembersPaginationAction
-
The current target
Guild
for this ScheduledEventMembersPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ThreadChannelPaginationAction
-
The current target
Guild
for this ThreadChannelPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Guild
for this override - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
The guild to create the role in
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
The guild to create the
ScheduledEvent
in - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
The
Guild
to create this webhook in - getGuild(JDA) - Method in exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- getGuildAvailableCount() - Method in class net.dv8tion.jda.api.events.session.ReadyEvent
-
Number of available guilds for this session.
- getGuildById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(long) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getGuildById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedGuilds
visible to this JDA session. - getGuildCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedGuilds
visible to this ShardManager instance. - getGuildChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
GuildMessageChannel
that this message was sent in if it was sent in a Guild. - getGuildChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
channel
this Reaction was used in. - getGuildChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
GuildMessageChannel
for this Message if it was sent in a Guild. - getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
GuildChannel
this interaction happened in. - getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
- getGuildChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getGuildChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getGuildChannelById(ChannelType, String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Get
GuildChannel
for the provided ID. - getGuildId() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The guild id that is granted access to the
Entitlement
s SKU - getGuildId() - Method in interface net.dv8tion.jda.api.entities.Message
-
The ID for the guild this message was sent in.
- getGuildId() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the guild id for this reference, or 0 if no guild id was provided.
- getGuildId() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
The ID of the guild this sticker belongs to.
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
-
The guild id for the timed out guild
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
-
The id for the guild we left.
- getGuildId() - Method in exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The id for the responsible
Guild
instance. - getGuildId() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the guild id
- getGuildId() - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
The ID of the guild this sticker belongs to.
- getGuildIdLong() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The guild id that is granted access to the
Entitlement
s SKU - getGuildIdLong() - Method in interface net.dv8tion.jda.api.entities.Message
-
The ID for the guild this message was sent in.
- getGuildIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the guild id for this reference, or 0 if no guild id was provided.
- getGuildIdLong() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
The ID of the guild this sticker belongs to.
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
-
The guild id for the timed out guild
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
-
The id for the guild we left.
- getGuildIdLong() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the guild id
- getGuildIdLong() - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
The ID of the guild this sticker belongs to.
- getGuildLocale() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getGuildLocale() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the preferred language of the Guild.
- getGuilds() - Method in interface net.dv8tion.jda.api.JDA
-
An immutable List of all
Guilds
that the logged account is connected to. - getGuilds() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
Guilds
that the logged account is connected to. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An immutable list of all
Guilds
that have the same name as the one provided. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
Guilds
that have the same name as the one provided. - getGuildTotalCount() - Method in class net.dv8tion.jda.api.events.session.ReadyEvent
-
Sum of both
ReadyEvent.getGuildAvailableCount()
andReadyEvent.getGuildUnavailableCount()
. - getGuildUnavailableCount() - Method in class net.dv8tion.jda.api.events.session.ReadyEvent
-
Number of guilds currently not available to this session
Discord failed to connect these guilds to our gateway and we had to discard them for now. - getHeader() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The data header for the encoding of an image.
- getHeaders() - Method in class net.dv8tion.jda.api.requests.Request
- getHeight() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The height of the Attachment if this Attachment is an image/video.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The height of the image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The height of the thumbnail image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The height of the video.
- getHistory() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Creates a new
MessageHistory
object for each call of this method. - getHistoryAfter(long, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(String, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent after the mentioned message ID (exclusive). - getHistoryAfter(Message, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent after the marker.
- getHistoryAround(long, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages around the marker. - getHistoryAround(String, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent around the marker. - getHistoryAround(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent around the mentioned message ID (inclusive). - getHistoryAround(Message, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
Message
as a marker and retrieves messages around the marker. - getHistoryBefore(long, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(String, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent before the mentioned message ID (exclusive). - getHistoryBefore(Message, int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent before the marker.
- getHistoryFromBeginning(int) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Retrieves messages from the beginning of this
MessageChannel
. - getHistoryFromBeginning(MessageChannel) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent. - getHook() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getHook() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getHook() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getHook() - Method in interface net.dv8tion.jda.api.interactions.callbacks.IDeferrableCallback
-
The
InteractionHook
which can be used to send deferred replies or followup messages. - getHttpClient() - Method in interface net.dv8tion.jda.api.JDA
-
The
OkHttpClient
used for handling http requests fromRestActions
. - getIcon() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Returns an
ImageProxy
for this application info's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Returns an
ImageProxy
for this application team's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns an
ImageProxy
for this guild's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
Returns an
ImageProxy
for this application invite's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
Returns an
ImageProxy
for this group invite's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns an
ImageProxy
for this guild's icon - getIcon() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
Returns an
ImageProxy
for this application's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
Icon
of this role ornull
if no custom image or emoji is set. - getIcon() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
Returns an
ImageProxy
for this role's icon. - getIcon() - Method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
Returns an
ImageProxy
for this sticker's image. - getIcon() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns an
ImageProxy
for this template guild's icon. - getIconId() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The icon id of the bot's application.
- getIconId() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id hash for the icon of this team.
- getIconId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Discord hash-id of the
Guild
icon image. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The icon id of this application or
null
if the application has no icon. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The icon id of this group or
null
if the group has no icon. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The icon id of this guild.
- getIconId() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The icon id of this Application.
- getIconId() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The Discord hash-id of the
Role
icon image. - getIconId() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The icon id of this guild.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The icon-url of the bot's application.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The url for the icon of this team.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The URL of the
Guild
icon image. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The icon url of this application or
null
if the application has no icon. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The icon url of this group or
null
if the group has no icon. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The icon url of this guild.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The url of the icon image for this application.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The url of the footer's icon.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The URL of the
Role
icon image. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
The url of the sticker image.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The icon url of this guild.
- getId() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
The Discord id key used to represent the channel type.
- getId() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The Snowflake id of the target entity of this invite.
- getId() - Method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The Discord id key used to represent the target type.
- getId() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The Snowflake id of this entity.
- getId() - Method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The id of this
ActivityType
. - getId() - Method in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
The raw type id used in the API.
- getId() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
-
The id of this answer.
- getId() - Method in enum net.dv8tion.jda.api.entities.MessageType
-
The Discord id key used to reference the MessageType.
- getId() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
ID for this party, relevant to the game.
- getId() - Method in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
The Discord defined id key for this sticker type.
- getId() - Method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
The raw command type id used in the API
- getId() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
The component ID or null.
- getId() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The custom id used to identify the select menu.
- getId() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The custom id
- getId() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The custom id of this TextInput component.
- getId() - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Returns the custom id
- getId() - Method in interface net.dv8tion.jda.api.interactions.modals.Modal
-
The custom id of this modal
- getId() - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
-
The custom id of this component
- getIdentifier() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Provides a unique String identifier for the connection.
- getIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- getIdLong() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
The id of this recommended channel.
- getIdLong() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The Snowflake id of the target entity of this invite.
- getIdLong() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The Snowflake id of this entity.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
- getIdLong() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The ids of channels are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
The ids of roles are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The ids of roles are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.ChannelReference
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.GuildReference
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
- getIdLong() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The Snowflake id of this entity.
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The Snowflake id of this entity.
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- getIdLong() - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- getImage() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
-
Returns an
ImageProxy
for this emoji's image. - getImage() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the image in the message embed
- getImage() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Returns an
ImageProxy
for this events cover image. - getImageUrl() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
-
A String representation of the URL which leads to image displayed within the official Discord™ client when this emoji is used
- getImageUrl() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The cover image url of the event.
- getInherit() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
EnumSet of all
Permission
that are unaffected by this override. - getInherit() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
EnumSet of all
Permission
that are unaffected by this override. - getInherited() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of inherited permission bits.
- getInheritedPermissions() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Set of
Permissions
that would be inherited from other permission holders. - getInheritRaw() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions not affected by this override.
- getInheritRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions not affected by this override.
- getInstance() - Method in class net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
-
The affected
StageInstance
- getInt(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an int.
- getInt(int, int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an int.
- getInt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an int to a key.
- getInt(String, int) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an int to a key.
- getInt(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getInt(DataArray, String, int) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getInt(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getInt(DataObject, String, int) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getIntegrationId() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the integration associated with this role.
- getIntegrationIdLong() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the integration associated with this role.
- getIntents(int) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts a bitmask into an
EnumSet
of enum values. - getInteraction() - Method in interface net.dv8tion.jda.api.entities.Message
-
This is sent on the message object when the message is a response to an
Interaction
without an existing message. - getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.EntitySelectInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericSelectMenuInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.StringSelectInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericAutoCompleteInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
-
The
Interaction
instance. - getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getInteraction() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The interaction attached to this hook.
- getInteractionsEndpointUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The interaction endpoint URL of this bot's application.
- getInterestedUserCount() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The amount of users who are interested in attending the event.
- getInterface() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
The interface this channel type corresponds to.
- getInvite() - Method in class net.dv8tion.jda.api.events.guild.invite.GuildInviteCreateEvent
-
The invite which was created.
- getInviteCode() - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets an invite code for the guild, or null if no invite channel is enabled in the widget
- getInviter() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The user who created this invite.
- getInvites() - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable List of
Invite
codes that are included in this Message. - getInvites() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Invite codes found in the message content.
- getInviteUrl(long, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(long, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getIterableHistory() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
A
PaginationAction
implementation that allows toiterate
over recentMessages
of this MessageChannel. - getJDA() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The corresponding JDA instance of the referring Guild
- getJDA() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The
JDA
instance of this ApplicationInfo (the one logged into this application's bot account). - getJDA() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
-
Returns the
JDA
instance of this channel - getJDA() - Method in interface net.dv8tion.jda.api.entities.emoji.ApplicationEmoji
-
The
JDA
instance of this emoji - getJDA() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
The
JDA
instance of this emoji - getJDA() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the
JDA
instance of this Guild - getJDA() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the
JDA
instance of this VoiceState - getJDA() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The
JDA
instance used to create this Invite - getJDA() - Method in interface net.dv8tion.jda.api.entities.Member
-
The JDA instance.
- getJDA() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
The corresponding JDA instance
- getJDA() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The corresponding JDA instance for this Attachment
- getJDA() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
JDA
instance related to this Message. - getJDA() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The corresponding JDA instance for this MessageHistory
- getJDA() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The JDA instance of this Reaction
- getJDA() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the JDA instance related to this message reference.
- getJDA() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
The
JDA
instance that this PermissionOverride is related to. - getJDA() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
JDA
instance of this Role - getJDA() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The JDA instance associated with this event object
- getJDA() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The
JDA
instance used to create this Template instance. - getJDA() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
-
Returns the
JDA
instance of this thread member. - getJDA() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the
JDA
instance of this User - getJDA() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The JDA instance of this Webhook.
- getJDA() - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
The associated
JDA
instance. - getJDA() - Method in class net.dv8tion.jda.api.events.Event
- getJDA() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current JDA instance corresponding to this Event
- getJDA() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Returns the
JDA
instance of this Command - getJDA() - Method in class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
-
The JDA-instance.
- getJDA() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the
JDA
instance of this interaction - getJDA() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The JDA instance for this interaction
- getJDA() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Gets the
JDA
instance that this AudioManager is a part of. - getJDA() - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
The associated JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The JDA instance of this Presence
- getJDA() - Method in class net.dv8tion.jda.api.requests.Request
- getJDA() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
The current JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
The JDA instance which started the request.
- getJDA() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
JDA
instance for this request - getJumpUrl() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
Returns the jump-to URL for this channel.
- getJumpUrl() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the jump-to URL for the received message.
- getJumpUrl() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Returns the jump-to URL of the event.
- getJumpUrl() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Returns the jump-to URL for the received message.
- getKey() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The raw key used to identify types within the api.
- getKey() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The key which defines the field that was updated by this change
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Key used in
AuditLogEntry.getOptionByName(String)
- getKey() - Method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
The Discord defined id key for this ActivityType.
- getKey() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
The raw value used by Discord to represent this type.
- getKey() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
The raw value used by Discord to represent this type.
- getKey() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
The raw value used by Discord to represent this preset.
- getKey() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The raw API key used to indicate this type.
- getKey() - Method in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
The underlying value as used by Discord.
- getKey() - Method in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
The underlying value as used by Discord.
- getKey() - Method in enum net.dv8tion.jda.api.entities.ClientType
-
The raw key used by the API to identify this type
- getKey() - Method in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
The Discord defined id key for this EntitlementType.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The API key used to represent this tier, identical to the ordinal.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
The key for this level
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
The Discord id key used to represent this MFALevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
The Discord id key used to represent this NotificationLevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
The Discord id key used to represent this NSFW level.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
The Discord id key for this Verification Level.
- getKey() - Method in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
-
The raw API key used to identify this layout.
- getKey() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
The key for this image, used for
RichPresence.Image.getUrl()
- getKey() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The key of the metadata.
- getKey() - Method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
-
The Discord id key for this Status.
- getKey() - Method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
The Discord id key used to represent the scheduled event type.
- getKey() - Method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
The raw API key for this privacy level
- getKey() - Method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The key for this state that is used in the API.
- getKey() - Method in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
The key for this role that is used in the API.
- getKey() - Method in enum net.dv8tion.jda.api.entities.WebhookType
-
The raw api key for this type
- getKey() - Method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
The raw value for this type or -1 for
OptionType.UNKNOWN
- getKey() - Method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
The raw style integer key
- getKey() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Raw int representing this ComponentType
- getKey() - Method in enum net.dv8tion.jda.api.interactions.InteractionType
- getKey() - Method in enum net.dv8tion.jda.api.OnlineStatus
-
The valid API key for this OnlineStatus
- getKey() - Method in enum net.dv8tion.jda.api.Region
-
The Region key as defined by Discord.
- getKey() - Method in enum net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationOrder
-
The API query parameter key
- getKey() - Method in enum net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction.OwnerType
-
The Discord defined id key for this OwnerType.
- getKey() - Method in enum net.dv8tion.jda.api.utils.Compression
-
The key used for the gateway query to enable this compression
- getLabel() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The visible text on the button, or an empty string if this is a
PREMIUM
-style button. - getLabel() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current option label which would be shown to the user in the client.
- getLabel() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The label shown above this text input box
- getLabel() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The label of this TextInput component.
- getLanguageName() - Method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
The language's human-readable name, in English.
- getLargeImage() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the large image displayed in the profile view
- getLast() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The most recent entity retrieved by this PaginationAction instance
- getLastKey() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The current iteration anchor used for pagination.
- getLatestMessageId() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLatestMessageIdLong() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLayout() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
The layout of the poll.
- getLength() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The total amount of characters that is displayed when this embed is displayed by the Discord client.
- getLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The currently used limit.
- getListener() - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- getLocale() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The preferred locale for this guild.
- getLocale() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The preferred locale for this guild.
- getLocale() - Method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
The locale tag, could be parsed by
Locale.forLanguageTag(String)
- getLocation() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The location the event is set to take place in.
- getLocation() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
-
The JSON-path for the error.
- getLong(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a long.
- getLong(int, long) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a long.
- getLong(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a long to a key.
- getLong(String, long) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a long to a key.
- getLong(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getLong(DataArray, String, long) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getLong(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getLong(DataObject, String, long) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getMajorParameters() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
-
The string of major parameters used by this route.
- getManager() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
Returns an
AutoModRuleManager
, which can be used to modify this rule. - getManager() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPositionableChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ISlowmodeChannel
-
Returns the
ISlowmodeChannelManager
for thisslow mode channel
. - getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.MediaChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.NewsChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.TextChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.AudioChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
Returns the
ChannelManager
for this GuildChannel. - getManager() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildMessageChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.emoji.ApplicationEmoji
-
The
Manager
for this emoji, used to modify properties of the emoji like name. - getManager() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
The
Manager
for this emoji, used to modify properties of the emoji like name and role restrictions. - getManager() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the
GuildManager
for this Guild, used to modify all properties and settings of the Guild. - getManager() - Method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
-
Returns the
Manager
for this guild's welcome screen. - getManager() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Returns the
PermissionOverrideAction
to modify this PermissionOverride. - getManager() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
RoleManager
for this Role. - getManager() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The
ScheduledEventManager
for this event. - getManager() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The
AccountManager
for the currently logged in account. - getManager() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
StageInstanceManager
used to update this stage instance. - getManager() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
Modify this sticker using
GuildStickerManager
. - getManager() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns the
TemplateManager
for this Template. - getManager() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
WebhookManager
for this Webhook. - getMatchedContent() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The substring match of the user content that triggered this rule.
- getMatchedContent() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getMatchedKeyword() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The keyword that was found in the
AutoModExecution.getContent()
. - getMatchedKeyword() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getMax() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
The maximum size of this party, or
0
if unset - getMaxAge() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The max age of this invite in seconds.
- getMaxBitrate() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum bitrate that can be applied to voice channels when this tier is reached.
- getMaxBitrate() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum bitrate that can be applied to a voice channel in this guild.
- getMaxEmojis() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum amount of custom emojis a guild can have when this tier is reached.
- getMaxEmojis() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of custom emojis a guild can have based on the guilds boost tier.
- getMaxFileSize() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum size for files that can be uploaded to this Guild.
- getMaxFileSize() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the maximum size for files that can be uploaded to this Guild.
- getMaxLength() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length for strings which can be provided for this option.
- getMaxLength() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The maximum length for strings which can be provided for this option.
- getMaxLength() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The maximum length.
- getMaxLength() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The maximum amount of characters that can be written to submit the Modal.
- getMaxLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The maximum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be greater than the returned value. - getMaxMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of members that can join this guild.
- getMaxParticipants() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The max participant count of this application or
-1
if no max participant count is set - getMaxPerGuild() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The maximum number of rules that can use this trigger type in a guild.
- getMaxPerRow() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
How many of these components can be added to one
ActionRow
. - getMaxPerRow() - Method in interface net.dv8tion.jda.api.interactions.components.ItemComponent
-
How many of these components can be added to one
ActionRow
. - getMaxPresences() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of connected members this guild can have at a time.
- getMaxReconnectDelay() - Method in interface net.dv8tion.jda.api.JDA
-
This value is the maximum amount of time, in seconds, that JDA will wait between reconnect attempts.
- getMaxUses() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The max uses of this invite.
- getMaxValue() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum value which can be provided for this option.
- getMaxValue() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The maximum value which can be provided for this option.
- getMaxValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The maximum amount of values a user can select at once.
- getMaxValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum amount of values a user can select at once.
- getMeaning() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The meaning for this error.
- getMeaning() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
The message which further explains the reason for this close code's occurrence
- getMeaning() - Method in enum net.dv8tion.jda.api.requests.ErrorResponse
- getMediaChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
MediaChannel
that has the same id as the one provided. - getMediaChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
MediaChannel
that has the same id as the one provided. - getMediaChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
- getMediaChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getMediaChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
MediaChannel
in the cache. - getMediaChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
MediaChannels
listed for this Category - getMediaChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
MediaChannels
in this Guild that have the same name as the one provided. - getMember() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the
Member
corresponding to this GuildVoiceState instance (BackReference) - getMember() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the author of this Message as a
member
. - getMember() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
Member
who caused this interaction. - getMember() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getMember() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
-
The corresponding guild
Member
to this thread member. - getMember() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Gets the
Member
to which this VoiceState belongs - getMember() - Method in class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
-
The
Member
instance - getMember() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
-
The member instance for this user, if it was cached at the time.
- getMember() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
Member
for the override. - getMember() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
The
Member
instance for the user ornull
if the user is not in this guild. - getMember() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
-
The affected
Member
- getMember() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getMember() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The Author of the Message received as
Member
object. - getMember() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
Member instance for the author of this message or
null
if this was not in a Guild. - getMember() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
Member
instance for the reacting user ornull
if the reaction was from a user not in this guild. - getMember() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
-
The
ThreadMember
as a guildMember
. - getMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
-
The
ThreadMember
that just joined the thread as a guildMember
. - getMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberLeaveEvent
-
The
ThreadMember
that just left the thread as a guildMember
. - getMember() - Method in interface net.dv8tion.jda.api.events.user.update.GenericUserPresenceEvent
-
Member who changed their presence.
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Member
instance for the User, or null if this was not in a Guild. - getMember() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
Member
who caused this interaction. - getMember() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Member
for this override - getMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user. - getMember(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the Guild specific
Member
object for the providedUserSnowflake
. - getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets a member with the given ID, or
null
if the member is not found - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets a member with the given ID, or null if the member is not found
- getMemberByTag(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberByTag(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
MemberCacheView
for all cachedMembers
of this Guild. - getMemberCount() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the current number of members that have joined this thread.
- getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The expected member count for this guild.
- getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of total members in the guild.
- getMemberLimit() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The active member limit for this guild.
- getMemberPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
- getMembers() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The
Team Members
. - getMembers() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IMemberContainer
-
A List of all
Members
that are in this GuildChannel
ForTextChannels
, this returns all Members with thePermission.VIEW_CHANNEL
Permission. - getMembers() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
- getMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
A list of all
Members
in this Guild. - getMembers() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
Members
. - getMembers() - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets a list of online members in the guild
- getMembers() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceChannel
-
Gets a list of all members in the channel
- getMembersBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentionedMembers
. - getMembersByEffectiveName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same effective name as the one provided. - getMembersByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same name as the one provided. - getMembersByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same nickname as the one provided. - getMembershipState() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The state of this member.
- getMembersWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMentionedRoles() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getMentionedRoles() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The IDs for roles which are allowed to be mentioned, or an empty list.
- getMentionedRoles() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The IDs for roles which are allowed to be mentioned, or an empty list.
- getMentionedRoles() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The IDs for roles which are allowed to be mentioned, or an empty list.
- getMentionedUsers() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- getMentionedUsers() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The IDs for users which are allowed to be mentioned, or an empty list.
- getMentionedUsers() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
The IDs for users which are allowed to be mentioned, or an empty list.
- getMentionedUsers() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
The IDs for users which are allowed to be mentioned, or an empty list.
- getMentionLimit() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of mentions that are allowed in a message.
- getMentions() - Method in interface net.dv8tion.jda.api.entities.Message
-
The
Mentions
used in this message. - getMentions() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The mentions of the forwarded message.
- getMentions() - Method in class net.dv8tion.jda.api.events.interaction.component.EntitySelectInteractionEvent
- getMentions() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
Resolved mentions for a
STRING
option. - getMentions() - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectInteraction
-
The resolved
Mentions
for this selection. - getMentions(Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Mentions
-
Combines all instances of
IMentionable
filtered by the specifiedMentionType
values. - getMessage() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumPost
-
The starter message of the post.
- getMessage() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The resolved message, if available.
- getMessage() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getMessage() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getMessage() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The received
Message
object. - getMessage() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
The
Message
that was updated
Note: Messages in JDA are not updated, they are immutable and will not change their state. - getMessage() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
-
The human readable explanation message for this error
- getMessage() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
Message
instance. - getMessage() - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
-
Message this modal came from, if it was a reply to a
ComponentInteraction
. - getMessageAuthorId() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
-
The user id of the original message author.
- getMessageAuthorIdLong() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
-
The user id of the original message author.
- getMessageById(long) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Used to get a Message from the set of already retrieved message via it's message Id.
- getMessageById(String) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Used to get a Message from the set of already retrieved message via it's message Id.
- getMessageChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
MessageChannel
this interaction happened in. - getMessageCount() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the current number of messages present in this thread.
- getMessageFlagsRaw() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
The flags set on this message.
- getMessageId() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the
Message
which triggered the rule. - getMessageId() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageId() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the message id for this reference, or 0 if no message id was provided.
- getMessageId() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The id for this message
- getMessageId() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The id of the message.
- getMessageIdLong() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the
Message
which triggered the rule. - getMessageIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the message id for this reference, or 0 if no message id was provided.
- getMessageIdLong() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getMessageIdLong() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The id for this message
- getMessageIdLong() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The id of the message.
- getMessageIds() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
List of messages that have been deleted.
- getMessageReference() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
MessageReference
for this Message. - getMessageSnapshots() - Method in interface net.dv8tion.jda.api.entities.Message
-
The
MessageSnaphots
attached to this message. - getMethod() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
-
The HTTP method.
- getMethod() - Method in class net.dv8tion.jda.api.requests.Route
-
The
Method
of this route template. - getMIME() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The MIME Type
- getMinLength() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The minimum length for strings which can be provided for this option.
- getMinLength() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The minimum length for strings which can be provided for this option.
- getMinLength() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The minimum length.
- getMinLength() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The minimum amount of characters that must be written to submit the Modal.
- getMinLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The minimum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be less than the returned value. - getMinutes() - Method in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
-
The number of minutes before an idle thread will be automatically hidden.
- getMinValue() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The minimum value which can be provided for this option.
- getMinValue() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The minimum value which can be provided for this option.
- getMinValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum amount of values a user has to select.
- getMinValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The minimum amount of values a user has to select.
- getModalId() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getModalId() - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
-
Returns the custom id of the Modal in question
- getModes(int) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Parses the active modes represented by the provided bitmask
- getMutualGuilds() - Method in interface net.dv8tion.jda.api.entities.User
- getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getName() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The displayed name of the
Activity
. - getName() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The name of the bot's application.
- getName() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The name of this rule.
- getName() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
-
The human readable name of this channel.
- getName() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.PrivateChannel
-
The human-readable name of this channel.
- getName() - Method in interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
-
The name of the tag.
- getName() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
- getName() - Method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
The name of this emoji.
- getName() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The human readable name of the
Guild
. - getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Channel
-
The name of this channel.
- getName() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The name of this application.
- getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The name of this group or
null
if the group has no name. - getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The name of this guild.
- getName() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The command name.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The name of this Application.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The name of the Author.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
The name of the field
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
The name of the provider.
- getName() - Method in interface net.dv8tion.jda.api.entities.Role
-
The Name of this
Role
. - getName() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The display name of the metadata.
- getName() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The name of the event.
- getName() - Method in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
The name of the sticker.
- getName() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The name of this pack.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The template name.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The human readable name of the GuildChannel.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The name of this guild.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The Name of this
Role
. - getName() - Method in interface net.dv8tion.jda.api.entities.User
-
The username of the
User
. - getName() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The readable name as used in the Discord Client.
- getName() - Method in class net.dv8tion.jda.api.entities.Webhook.ChannelReference
-
The source channel's name
- getName() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The name of this Webhook.
- getName() - Method in class net.dv8tion.jda.api.entities.Webhook.GuildReference
-
The source guild's name
- getName() - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets the name of the guild
- getName() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Returns the username of the member
- getName() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceChannel
-
Gets the name of the channel *
- getName() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getName() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getName() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The name of the input field, usually an option name in
CommandAutoCompleteInteraction
. - getName() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The current command name
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The name for this option
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The configured name
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The name for this subcommand group
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The readable name of this choice.
- getName() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The name of this command.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The name of this option, subcommand, or subcommand group.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The name of this subcommand.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The name of this subcommand group.
- getName() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The command name.
- getName() - Method in interface net.dv8tion.jda.api.interactions.commands.ICommandReference
-
Returns the name of the slash command.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The name of this option.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- getName() - Method in enum net.dv8tion.jda.api.Permission
-
The readable name as used in the Discord client.
- getName() - Method in enum net.dv8tion.jda.api.Region
-
The human readable region name.
- getName() - Method in class net.dv8tion.jda.api.requests.restaction.ThreadCreateMetadata
-
The thread name.
- getName() - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
-
The existing attachment filename.
- getName() - Method in class net.dv8tion.jda.api.utils.FileUpload
-
The filename for the file.
- getNameLocalizations() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The localizations of this record's name for
various languages
. - getNameLocalizations() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The localizations of this command's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The localizations of this option's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The localizations of this subcommand's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The localizations of this subcommand's name for
various languages
group. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The localizations of this choice's name for
various languages
. - getNameLocalizations() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The localizations of this command's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The localizations of this option's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The localizations of this subcommands's name for
various languages
. - getNameLocalizations() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The localizations of this subcommand group's name for
various languages
. - getNativeName() - Method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
The language's human-readable name, translated to the current language.
- getNewActivity() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
-
The new activity
- getNewAfkChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
-
The new afk channel
- getNewAfkTimeout() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The new
AFK-Timeout
- getNewAvatar() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
Returns an
ImageProxy
for this member's new avatar. - getNewAvatar() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
Returns an
ImageProxy
for this bot's new avatar image. - getNewAvatar() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
Returns an
ImageProxy
for this user's new avatar image. - getNewAvatarId() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The new avatar id
- getNewAvatarId() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The new avatar id
- getNewAvatarId() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The new avatar id
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The url of the new avatar
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The new avatar url
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The url of the new avatar
- getNewBanner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
Returns an
ImageProxy
for this guild's new banner. - getNewBannerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The new banner id
- getNewBannerUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The new banner url
- getNewBoostCount() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
-
The new boost count
- getNewBoostTier() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
-
The new
Guild.BoostTier
- getNewColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The new color
- getNewColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the new color
- getNewCommunityUpdatesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
-
The new community updates channel.
- getNewDescription() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateDescriptionEvent
-
The new
description
. - getNewDescription() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
-
The new description for this guild
- getNewDiscriminator() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
-
The new discriminator
- getNewDiscriminator() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
-
The new discriminator
- getNewEmoji() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateEmojiEvent
-
The new
EmojiUnion
for theForumTag
- getNewEndTime() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateEndTimeEvent
-
The new
end time
. - getNewFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The new Set of features after the
Guild
update. - getNewFlags() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- getNewFlagsRaw() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
-
Gets the new
UserFlags
of the user and returns it as bitmask representation. - getNewGlobalName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateGlobalNameEvent
-
The new global name
- getNewGlobalName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent
-
The new global name
- getNewIcon() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
Returns an
ImageProxy
for this guild's new icon. - getNewIcon() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
-
The new icon
- getNewIconId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getNewIconUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The url of the new icon
- getNewImageUrl() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
-
The new
image
. - getNewLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The new
ExplicitContentLevel
for theGuild
after to this event. - getNewLocation() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
-
The new
location
. - getNewMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The new max members for this guild
- getNewMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The new max presences
- getNewMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The new
MFALevel
- getNewName() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- getNewName() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
-
The new
name
. - getNewName() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
-
The new username
- getNewNickname() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
-
The new nickname
- getNewNotificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
-
The new
NotificationLevel
- getNewNSFWLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
-
The new
NSFWLevel
- getNewOnlineStatus() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
-
The new status
- getNewOwner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner
- getNewOwnerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getNewOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getNewPending() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
-
The new pending status
- getNewPermissions() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPermissionsRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPing() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
-
The new ping for the current JDA session
- getNewPosition() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewPositionRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewRoles() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
-
The new role whitelist
- getNewRulesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
-
The new rules channel.
- getNewSafetyAlertsChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSafetyAlertsChannelEvent
-
The new safety alert channel.
- getNewsChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
NewsChannel
that has the same id as the one provided. - getNewsChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
NewsChannel
that has the same id as the one provided. - getNewsChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Sorted
SnowflakeCacheView
ofNewsChannel
. - getNewsChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getNewsChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getNewsChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
NewsChannels
in the cache. - getNewsChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
NewsChannels
listed for this Category - getNewsChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
NewsChannels
in this Guild that have the same name as the one provided. - getNewSplash() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
Returns an
ImageProxy
for this guild's new splash image. - getNewSplashId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The new splash id
- getNewSplashUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The url of the new splash
- getNewStartTime() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
-
The new
start time
. - getNewStatus() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
-
The new
status
. - getNewStatus() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
-
The status that we changed to
- getNewSystemChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
-
The new system channel.
- getNewTags() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
-
The new list of applied tags.
- getNewTime() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- getNewTimeBoosted() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
-
The new boost time
- getNewTimeOutEnd() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
-
The new end of the time out
- getNewValue() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The updated value for the field specified by
AuditLogChange.getKey()
. - getNewValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateModeratedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultLayoutEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultSortOrderEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
-
The
Channel's
new value of the just updated field. - getNewValue() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.emoji.update.GenericEmojiUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateAvailableEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateDescriptionEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateTagsEvent
- getNewValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The new value
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getNewVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity code
- getNewVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity url
- getNewVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The new
VerificationLevel
- getNextPacket(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNextPacketRaw(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNickname() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the current nickname of this Member for the parent Guild.
- getNickname() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the nickname of the member.
- getNonce() - Method in interface net.dv8tion.jda.api.entities.Message
-
Validation nonce for this Message
This can be used to validate that a Message was properly sent to the Discord Service. - getNSFWLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the NSFW Level that this guild is classified with.
- getObject() - Method in class net.dv8tion.jda.api.requests.Response
- getObject(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a DataObject
- getObject(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataObject to a key.
- getObject(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getObject(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getOffset() - Method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
The offset for this flag:
1 << offset
- getOffset() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The binary offset of the flag.
- getOffset() - Method in enum net.dv8tion.jda.api.Permission
-
The binary offset of the permission.
- getOffset() - Method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
The offset of the intent flag within a bitmask
This meansgetRawValue() == 1 << getOffset()
- getOffsetDateTime(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an
OffsetDateTime
. - getOffsetDateTime(int, OffsetDateTime) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an
OffsetDateTime
. - getOffsetDateTime(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an
OffsetDateTime
to a key. - getOffsetDateTime(String, OffsetDateTime) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an
OffsetDateTime
to a key. - getOldActivity() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
-
The old activity
- getOldAfkChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
-
The old afk channel
- getOldAfkTimeout() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The old
AFK-Timeout
- getOldAllow() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old allowed permissions
- getOldAllowRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old allowed permissions as a raw bitmask.
- getOldAvatar() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
Returns an
ImageProxy
for this member's old avatar. - getOldAvatar() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
Returns an
ImageProxy
for this bot's new avatar image. - getOldAvatar() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
Returns an
ImageProxy
for this user's old avatar image. - getOldAvatarId() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The old avatar id
- getOldAvatarId() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The old avatar id
- getOldAvatarId() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The previous avatar id
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The previous avatar url
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The old avatar url
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The previous avatar url
- getOldBanner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
Returns an
ImageProxy
for this guild's old banner. - getOldBannerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The old banner id
- getOldBannerUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The old banner url
- getOldBoostCount() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
-
The old boost count
- getOldBoostTier() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
-
The old
Guild.BoostTier
- getOldColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The old color
- getOldColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the old color
- getOldCommunityUpdatesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
-
The previous community updates channel.
- getOldDeny() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old denied permissions
- getOldDenyRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old denied permissions as a raw bitmask.
- getOldDescription() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateDescriptionEvent
-
The old
description
. - getOldDescription() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
-
The old description for this guild
- getOldDiscriminator() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
-
The old discriminator
- getOldDiscriminator() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
-
The old discriminator
- getOldEmoji() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateEmojiEvent
-
The old
EmojiUnion
for theForumTag
- getOldEndTime() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateEndTimeEvent
-
The old
end time
. - getOldFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The old Set of features before the
Guild
update. - getOldFlags() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- getOldFlagsRaw() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
-
Gets the old
UserFlags
of the user and returns it as bitmask representation. - getOldGlobalName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateGlobalNameEvent
-
The old global name
- getOldGlobalName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent
-
The old global name
- getOldIcon() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
Returns an
ImageProxy
for this guild's old icon. - getOldIcon() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
-
The old icon
- getOldIconId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getOldIconUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The url of the old icon
- getOldImageUrl() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
-
The old
image
. - getOldInherited() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old inherited permissions
- getOldInheritedRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old inherited permissions as a raw bitmask.
- getOldLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The old
ExplicitContentLevel
for theGuild
prior to this event. - getOldLocation() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
-
The old
location
. - getOldMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The old max members for this guild
- getOldMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The old max presences
- getOldMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The old
MFALevel
- getOldName() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- getOldName() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
-
The old
name
. - getOldName() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
-
The old username
- getOldNickname() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
-
The old nickname
- getOldNotificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
-
The old
NotificationLevel
- getOldNSFWLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
-
The old
NSFWLevel
- getOldOnlineStatus() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
-
The old status
- getOldOwner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The old owner
- getOldOwnerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The previous owner user id
- getOldOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The previous owner user id
- getOldPending() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
-
The old pending status
- getOldPermissions() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPermissionsRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPing() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
-
The previous ping for the current JDA session
- getOldPosition() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldPositionRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldRoles() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
-
The old role whitelist
- getOldRulesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
-
The previous rules channel.
- getOldSafetyAlertsChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSafetyAlertsChannelEvent
-
The previous safety alert channel.
- getOldSplash() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
Returns an
ImageProxy
for this guild's old splash image. - getOldSplashId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The old splash id
- getOldSplashUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The url of the old splash
- getOldStartTime() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
-
The old
start time
. - getOldStatus() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
-
The old
status
. - getOldStatus() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
-
The previous status
- getOldSystemChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
-
The previous system channel.
- getOldTags() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
-
The old list of applied tags.
- getOldTime() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- getOldTimeBoosted() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
-
The old boost time
- getOldTimeOutEnd() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
-
The old end of the time out
- getOldValue() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The previous value for the field specified by
AuditLogChange.getKey()
. - getOldValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateModeratedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultLayoutEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultSortOrderEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
-
The
Channel's
old value of the just updated field. - getOldValue() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emoji.update.GenericEmojiUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateAvailableEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateDescriptionEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateTagsEvent
- getOldValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The old value
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getOldVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity code
- getOldVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity url
- getOldVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The old
VerificationLevel
- getOnFailure() - Method in class net.dv8tion.jda.api.requests.Request
- getOnlineCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of online members in the guild.
- getOnlineStatus() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the
OnlineStatus
of the User. - getOnlineStatus() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the online status of the member.
- getOnlineStatus(ClientType) - Method in interface net.dv8tion.jda.api.entities.Member
-
The platform dependent
OnlineStatus
of this member. - getOnSuccess() - Method in class net.dv8tion.jda.api.requests.Request
- getOption(String) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Finds the first option with the specified name.
- getOption(String, Function<? super OptionMapping, ? extends T>) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Finds the first option with the specified name.
- getOption(String, Supplier<? extends T>, Function<? super OptionMapping, ? extends T>) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Finds the first option with the specified name.
- getOption(String, T, Function<? super OptionMapping, ? extends T>) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Finds the first option with the specified name.
- getOption(AuditLogOption) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name) - getOptionByName(String) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name)
This lookup is case-insensitive! - getOptions() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Key-Value
Map
containing all Options made in this entry. - getOptions() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getOptions() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The options for this command.
- getOptions() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The options for this command.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Options
of this command. - getOptions() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The options for this subcommand, or the subcommands within this group.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The options provided by the user when this command was executed.
- getOptions() - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Modifiable list of options currently configured in this builder.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
-
An unmodifiable list of up to 25 available options to choose from.
- getOptions(AuditLogOption...) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Constructs a filtered, immutable list of options corresponding to the provided
AuditLogOptions
. - getOptionsByName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets all options for the specified name.
- getOptionsByType(OptionType) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets all options for the specified type.
- getOptionType() - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
The
OptionType
of the choices you can suggest. - getOpusAudio() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The raw opus audio, copied to a new array.
- getOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The current iteration order.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The owner of the bot's application.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Searches for the
TeamMember
inApplicationTeam.getMembers()
that has the same user id asApplicationTeam.getOwnerIdLong()
. - getOwner() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the
Member
that created and owns this thread. - getOwner() - Method in interface net.dv8tion.jda.api.entities.emoji.ApplicationEmoji
-
The user who created this emoji
- getOwner() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
The user who created this emoji
- getOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Member
object for the owner of this Guild. - getOwner() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
The user who created this sticker.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The owner of this Webhook.
- getOwnerAsUser() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The owner of this Webhook.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the
User
of the owner of this thread as a String. - getOwnerId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the ID of the owner of this thread as a long.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerThreadMember() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the owner of this thread as a
ThreadMember
. - getPackage() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The raw gateway package including sequence and type.
- getPackId() - Method in interface net.dv8tion.jda.api.entities.sticker.StandardSticker
-
The ID of the pack the sticker is from.
- getPackIdLong() - Method in interface net.dv8tion.jda.api.entities.sticker.StandardSticker
-
The ID of the pack the sticker is from.
- getParamCount() - Method in class net.dv8tion.jda.api.requests.Route
-
The number of parameters for this route, not including query parameters.
- getParentCategory() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
-
Parent
Category
of this GuildChannel. - getParentCategoryId() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
-
Get the snowflake of the
Category
that contains this channel. - getParentCategoryIdLong() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
-
Get the snowflake of the
Category
that contains this channel. - getParentChannel() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the
parent channel
of this thread. - getParentId() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Parent Category id of this TemplateChannel.
- getParentMessageChannel() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
- getParseKey() - Method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
The Key returned by this method is used to determine the group or parsable mention group they are part of.
- getParty() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the active party of the player
- getPartyId() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The party id discord uses internally, it may be
null
. - getPattern() - Method in enum net.dv8tion.jda.api.entities.Message.MentionType
- getPayload() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The payload of the package.
- getPermission() - Method in exception class net.dv8tion.jda.api.exceptions.PermissionException
-
The
Permission
that is required for the operation - getPermissionContainer() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
The channel containing the permissions relevant to this channel.
- getPermissionHolder() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This method will return the
PermissionHolder
of this PermissionOverride. - getPermissionHolder() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
IPermissionHolder
for the override. - getPermissionOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The affected
PermissionOverride
that was updated. - getPermissionOverride() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The target
PermissionOverride
that will be modified by this Manager - getPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
- getPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
-
Gets all of the
PermissionOverrides
that are part of thisGuildChannel
. - getPermissionOverrides() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Gets all of the
PermissionOverrides
that are part of thisTemplateChannel
. - getPermissions() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
An
EnumSet
of permissions the default authorization URL is set up with. - getPermissions() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions(long) - Static method in enum net.dv8tion.jda.api.Permission
-
A set of all
Permissions
that are specified by this raw long representation of permissions. - getPermissions(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Permissions this PermissionHolder holds in the specified
GuildChannel
. - getPermissionsExplicit() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsExplicit(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsRaw() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The
long
representation of the literal permissions the default authorization URL is set up with. - getPermissionsRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
long
representation of the literal permissions that thisRole
has. - getPermissionsRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The
long
representation of the literal permissions that thisRole
has. - getPermissionsRaw() - Method in class net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions
-
Raw permission integer representing the default permissions of a command.
- getPlaceholder() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Placeholder which is displayed when no selections have been made yet.
- getPlaceholder() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
Placeholder which is displayed when no selections have been made yet.
- getPlaceholder() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The placeholder of this TextInput
This is the short hint that describes the expected value of the TextInput field. - getPlaceHolder() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The placeholder of this TextInput component.
- getPoll() - Method in interface net.dv8tion.jda.api.entities.Message
-
The
MessagePoll
attached to this message. - getPoll() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- getPoll() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
The poll to send with the message
- getPoll() - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
The poll attached to this message
- getPosition() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPositionableChannel
-
The position of this channel in the channel list of the guild.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.channel.forums.ForumTag
-
The tag position, used for sorting.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.Role
- getPosition() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceChannel
-
Gets the integer position of the channel
- getPositionInCategory() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
-
Computes the relative position of this channel in the
parent category
. - getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPositionableChannel
-
The actual position of the
GuildChannel
as stored and given by Discord. - getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The actual position of the
Role
as stored and given by Discord. - getPositionRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The actual position of the
TemplateChannel
as stored and given by Discord. - getPremadeWidgetHtml(String, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPremadeWidgetHtml(Guild, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPresence() - Method in interface net.dv8tion.jda.api.JDA
-
The
Presence
controller for the current session. - getPresenceLimit() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The active presence limit for this guild.
- getPrivacyLevel() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
StageInstance.PrivacyLevel
of this stage instance - getPrivacyPolicyUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The URL for the application's privacy policy.
- getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this JDA session. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this ShardManager instance. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all known
PrivateChannels
. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all known
PrivateChannels
. - getPrivileged() - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Collects all cache flags that require privileged intents
- getPrivileges() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The list of new
IntegrationPrivileges
. - getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
-
The identifier of the
Channel's
field that has just been updated. - getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.emoji.update.GenericEmojiUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
- getPropertyIdentifier() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The field name for the updated property
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getProxy() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Returns an
AttachmentProxy
for this attachment. - getProxy() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
Returns an
AttachmentProxy
for this embed image. - getProxy() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
Returns an
AttachmentProxy
for this embed thumbnail. - getProxy() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
Returns a
FileProxy
for this embed video. - getProxyIcon() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
Returns an
ImageProxy
for this proxied author's icon. - getProxyIcon() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
Returns an
ImageProxy
for this proxied footer's icon. - getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The url of the footer's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Url to the resource proxied by the Discord CDN.
- getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The Discord proxied url of the thumbnail image.
- getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The url of the video, proxied by Discord
This url is used to access the video through Discord instead of directly to prevent ip scraping. - getPublicRole() - Method in interface net.dv8tion.jda.api.entities.Guild
- getPublicRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the public role (Guild.getPublicRole()
) for the resulting Guild. - getQuestion() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
The poll question, representing the title.
- getRateLimitedRoute() - Method in exception class net.dv8tion.jda.api.exceptions.RateLimitedException
-
The route responsible for the rate limit bucket that is used in the responsible RateLimiter
- getRateLimiterFactory() - Method in class net.dv8tion.jda.api.requests.RestConfig
-
The configured rate-limiter implementation.
- getRateLimitHandle() - Method in interface net.dv8tion.jda.api.utils.SessionController
-
The store for global rate-limits of all types.
- getRateLimitHandle() - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getRateLimitPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to handle rate-limits forRestAction
executions. - getRaw() - Method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
The raw bitmask for this mode
- getRaw() - Method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
The raw bitmask for this flag
- getRaw() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
The raw bitset value of this flag.
- getRaw() - Method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The raw value used by Discord for this flag
- getRaw() - Method in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
-
Returns the raw integer key for this TextInputStyle
- getRaw() - Method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
The raw integer key for this response type
- getRaw(Collection<SpeakingMode>) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(Collection<ChannelFlag>) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
The raw bitset value for the provided flags.
- getRaw(Collection<User.UserFlag>) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
This is effectively the opposite of
User.UserFlag.getFlags(int)
. - getRaw(Collection<Permission>) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes a Collection ofPermissions
and returns the raw offsetlong
representation of the permissions. - getRaw(Collection<GatewayIntent>) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts the given intents to a bitmask
- getRaw(SpeakingMode...) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(User.UserFlag...) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
This is effectively the opposite of
User.UserFlag.getFlags(int)
, this takes 1 or more UserFlags and returns the bitmask representation of the flags. - getRaw(Permission...) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes 1 or morePermissions
and returns the raw offsetlong
representation of the permissions. - getRaw(GatewayIntent, GatewayIntent...) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts the given intents to a bitmask
- getRawBody() - Method in class net.dv8tion.jda.api.requests.Request
- getRawData() - Method in class net.dv8tion.jda.api.events.Event
- getRawData() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The passthrough data that this event was serialized from.
- getRawResponse() - Method in class net.dv8tion.jda.api.requests.Response
- getRawValue() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The value of this flag when viewed as raw value.
- getRawValue() - Method in enum net.dv8tion.jda.api.Permission
-
The value of this permission when viewed as a raw value.
- getRawValue() - Method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
The raw bitmask value for this intent
- getReaction() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmojiEvent
-
The
MessageReaction
that was removed. - getReaction() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ReactionPaginationAction
-
The current target
MessageReaction
- getReaction(Emoji) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
MessageReaction
for the givenEmoji
on this message. - getReactions() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
MessageReactions
that are on this Message. - getReason() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The optional reason why this action was executed.
- getReason() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The reason why this user was banned
- getReceivingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioReceiveHandler
. - getRedirectUris() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
A
List
containing the OAuth2 redirect URIs of this bot's application. - getReferencedMessage() - Method in interface net.dv8tion.jda.api.entities.Message
-
Referenced message.
- getRegion() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.AudioChannel
-
The
Region
of this channel. - getRegionRaw() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.AudioChannel
-
The raw region name for this channel.
- getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
The currently registered listeners
- getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.JDA
-
Immutable List of Objects that have been registered as EventListeners.
- getRemainingTime(TemporalUnit) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Calculates the amount of time until
Activity.Timestamps.getEndTime()
in terms of the specified unit. - getRemovedTags() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
-
The removed tags.
- getRequest() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBody(MediaType) - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Creates a re-usable instance of
RequestBody
with the specified content-type. - getRequestBodyRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestToSpeakTimestamp() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
The time at which the user requested to speak.
- getRequiredIntent() - Method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
The required
GatewayIntent
for this cache flag. - getRequiredMFALevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the level of multifactor authentication required to execute administrator restricted functions in this guild.
- getRequiredPermissions() - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Returns the
Permissions
required to create this rule. - getResponse() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The
AutoModResponse
that has been triggered by this execution. - getResponse() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getResponse() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponse() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The Discord Response causing the ErrorResponse
- getResponseBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsArray() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsObject() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsString() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseNumber() - Method in class net.dv8tion.jda.api.events.Event
- getResponseNumber() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current sequence for this event.
- getResponseRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseTotal() - Method in interface net.dv8tion.jda.api.JDA
-
This value is the total amount of JSON responses that discord has sent.
- getRestAction() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRestAction() - Method in class net.dv8tion.jda.api.requests.Request
- getRestPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to a REST request.
- getRetrievedHistory() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The List of Messages, sorted starting from newest to oldest, of all message that have already been retrieved from Discord with this MessageHistory object using the
MessageHistory.retrievePast(int)
,MessageHistory.retrieveFuture(int)
, andMessageChannel.getHistoryAround(String, int)
methods. - getRetryAfter() - Method in exception class net.dv8tion.jda.api.exceptions.RateLimitedException
-
The back-off delay in milliseconds that should be respected before trying to query the
route
again - getRole() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getRole() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
Role
for the override. - getRole() - Method in class net.dv8tion.jda.api.events.role.GenericRoleEvent
-
The role for this event
- getRole() - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
The target
Role
for this manager - getRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Role
for this override - getRole(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the provided index. - getRoleByBot(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleByBot(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleByBot(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedRoles
of this Guild. - getRoleCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this JDA session. - getRoleCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this ShardManager instance. - getRoleConnectionsVerificationUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The role connections (linked roles) verification URL of this bot's application.
- getRolePermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
- getRoles() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Roles this emoji is active for.
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Guild
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Member
-
The roles applied to this Member.
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
Roles
. - getRoles() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
-
The list of roles that were added
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
-
The removed roles
- getRoles() - Method in interface net.dv8tion.jda.api.JDA
-
All
Roles
this JDA instance can see. - getRoles() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
All
Roles
this ShardManager instance can see. - getRolesBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentioned roles. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Roles
in this Guild that have the same name as the one provided. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves all
Roles
visible to this JDA instance. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves all
Roles
visible to this ShardManager instance. - getRoleType() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The role of this member.
- getRoute() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRoute() - Method in class net.dv8tion.jda.api.requests.Request
- getRoute() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
The
compiled route
of the request. - getRoute() - Method in class net.dv8tion.jda.api.requests.Route
-
The route template with argument placeholders.
- getRule() - Method in class net.dv8tion.jda.api.events.automod.GenericAutoModRuleEvent
-
The
AutoModRule
that was created/removed/updated. - getRuleId() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the
AutoModRule
which has been triggered. - getRuleIdLong() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the
AutoModRule
which has been triggered. - getRuleIdLong() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getRulesChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that lists the rules of the guild. - getSafetyAlertsChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that receives discord safety alerts. - getScheduledEvent() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventGatewayEvent
-
The
ScheduledEvent
- getScheduledEvent() - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
The target
ScheduledEvent
for this manager - getScheduledEventById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
ScheduledEvent
from this guild that has the same id as the one provided. - getScheduledEventById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
ScheduledEvent
which has the same id as the one provided. - getScheduledEventById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
ScheduledEvent
from this guild that has the same id as the one provided. - getScheduledEventById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
ScheduledEvent
which has the same id as the one provided. - getScheduledEventCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedScheduledEvents
of this Guild. - getScheduledEventCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedScheduledEvents
visible to this JDA session. - getScheduledEvents() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
ScheduledEvents
in this guild. - getScheduledEvents() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
ScheduledEvents
of all connectedGuilds
. - getScheduledEventsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
ScheduledEvents
in this Guild that have the same name as the one provided. - getScheduledEventsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
ScheduledEvents
that have the same name as the one provided. - getScheduler() - Method in class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
-
The
ScheduledExecutorService
used to schedule rate-limit tasks. - getSchemaErrors() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The
SchemaErrors
for this error response. - getScopes() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
A
List
of scopes the default authorization URL is set up with. - getSeconds() - Method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
The amount of seconds represented by this
Guild.Timeout
. - getSelectedEntity() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The entity which is currently at the
selected position
- getSelectedOptions() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectInteraction
-
This resolves the selected
values
to the representativeSelectOption
instances. - getSelectedPosition() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The currently selected position that is in focus for all modification operations of this OrderAction instance
- getSelectMenu() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
The
SelectMenu
this interaction belongs to. - getSelfMember() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Member
object of the currently logged in account in this guild. - getSelfThreadMember() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets the self member, as a member of this thread.
- getSelfUser() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
-
The
SelfUser
- getSelfUser() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the currently logged in account represented by
SelfUser
. - getSelfUser() - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
The
SelfUser
that will be modified by this AccountManager. - getSendingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioSendHandler
. - getSequence() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The sequence number of this packet.
- getServiceCloseFrame() - Method in class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
-
The close frame discord sent to us
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
The Session-Id for this VoiceState
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Session ID for this presence.
- getSessionId() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The session id for the voice server session
- getShardById(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardCache() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
ShardCacheView
of all cachedJDA
bound to this ShardManager instance. - getShardedGateway(JDA) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by
DefaultShardManager
when a new shards is starting. - getShardedGateway(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getShardForGuild(long, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(String, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(Guild, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given
Guild
will be loaded on for the given amount of shards. - getShardId() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Represents the id of the shard of the current instance.
- getShardInfo() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the shard info for this JDA instance
- getShardInfo() - Method in interface net.dv8tion.jda.api.JDA
-
The shard information used when creating this instance of JDA.
- getShardInfo() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
ShardInfo
for this request. - getShardManager() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the
ShardManager
that manages this JDA instances or null if this instance is not managed by anyShardManager
. - getShards() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
JDA
instances bound to this ShardManager. - getShardsQueued() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsQueued() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards queued for (re)connecting.
- getShardsRunning() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of running shards.
- getShardsTotal() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsTotal() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards managed by this
ShardManager
. - getShardString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Provides a shortcut method for easily printing shard info.
- getShardTotal() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
The total amount of shards based on the value provided during JDA instance creation using
JDABuilder.useSharding(int, int)
. - getShardTotal() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The recommended shard total
- getSiteProvider() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information on site from which the embed was generated from.
- getSize() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The size of the attachment in bytes.
- getSize() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
The current size of this party, or
0
if unset - getSku() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The target SKU for this button, if it is a
PREMIUM
-style Button. - getSkuId() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the SKU related to this
Entitlement
- getSkuId() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The stock-keeping unit (SKU) for this sticker pack.
- getSkuIdLong() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the SKU related to this
Entitlement
- getSkuIdLong() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The stock-keeping unit (SKU) for this sticker pack.
- getSlashCommands() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
slash commands
. - getSlashCommandsBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentionedslash commands
. - getSlowmode() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ISlowmodeChannel
-
The slowmode set for this channel.
- getSlowmode() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The slowmode set for this TemplateChannel.
- getSmallImage() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the small corner image displayed in the profile view
- getSocketAddress() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The connected socket address for this audio connection.
- getSortBucket() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
The sorting bucket for this channel type.
- getSortBucket() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The sorting bucket for this order action.
- getSortValue() - Method in interface net.dv8tion.jda.api.entities.sticker.StandardSticker
-
The sticker's sort order within its pack
- getSourceChannel() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The source channel for a Webhook of type
FOLLOWER
. - getSourceGuild() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The source guild for a Webhook of type
FOLLOWER
. - getSpeakers() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
All current speakers of this stage instance.
- getSpeakingMode() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - getSplash() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns an
ImageProxy
for this guild's splash icon. - getSplash() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns an
ImageProxy
for this invite guild's splash image. - getSplashId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Discord hash-id of the splash image for this Guild.
- getSplashId() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The splash image id of this guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The URL of the splash image for this Guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the splash image url of this guild.
- getSSRC() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The synchronization source identifier (SSRC) for the user that sent this audio packet.
- getStageChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
StageChannel
that has the same id as the one provided. - getStageChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
StageChannel
that has the same id as the one provided. - getStageChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Sorted
SnowflakeCacheView
ofStageChannel
. - getStageChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getStageChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getStageChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
StageChannels
in the cache. - getStageChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
StageChannel
listed for this Category - getStageChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
StageChannels
in this Guild that have the same name as the one provided. - getStageInstance() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
StageInstance
attached to this stage channel. - getStageInstance() - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
The associated
StageInstance
- getStart() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Epoch second timestamp of match start, or
0
of unset. - getStartedThread() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns a possibly
null
ThreadChannel
that was started from this message. - getStartTime() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getStartTime() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The time the event is set to start at.
- getState() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The user's activity state
Example: "Looking to Play", "Playing Solo", "In a Group" - getState() - Method in class net.dv8tion.jda.api.events.session.GenericSessionEvent
-
The new session state.
- getStatus() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IVoiceStatusChannel
-
The current voice channel status.
- getStatus() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The
status
of the scheduled event. - getStatus() - Method in interface net.dv8tion.jda.api.JDA
-
Gets the current
Status
of the JDA instance. - getStatus() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The current OnlineStatus for this session.
- getStatus(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA.Status
of the shard which has the same id as the one provided. - getStatuses() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the current
Status
of all shards. - getSticker() - Method in class net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
-
The relevant
GuildSticker
for this event - getStickerById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
GuildSticker
from this guild that has the same id as the one provided. - getStickerById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
GuildSticker
from this guild that has the same id as the one provided. - getStickerCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
SnowflakeCacheView
of all cachedGuildStickers
of this Guild. - getStickers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all custom
GuildStickers
belonging to thisGuild
. - getStickers() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
StickerItems
that are in this Message. - getStickers() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Stickers of the forwarded message.
- getStickers() - Method in interface net.dv8tion.jda.api.entities.sticker.StickerPack
-
The
StandardStickers
in this pack. - getStickersByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
GuildStickers
in this Guild that have the same name as the one provided. - getString() - Method in class net.dv8tion.jda.api.requests.Response
- getString(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(int, String) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getString(String, String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getString(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getString(DataArray, String, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getString(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getString(DataObject, String, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getStyle() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The style of this button.
- getStyle() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The
TextInputStyle
- getStyle() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The
TextInputStyle
of this TextInput component. - getStyle() - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
The display style flag used for the markdown representation.
- getSubcommandGroup() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getSubcommandGroup() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getSubcommandGroup() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The subcommand group name.
- getSubcommandGroup() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
-
Returns the subcommand group of the slash command
- getSubcommandGroups() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The
Subcommand Groups
in this command. - getSubcommandGroups() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
SubcommandGroups
of this command. - getSubcommandName() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getSubcommandName() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getSubcommandName() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The subcommand name.
- getSubcommandName() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
-
Returns the subcommand of the slash command
- getSubcommands() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The
Subcommands
in this command. - getSubcommands() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The
Subcommands
in this group. - getSubcommands() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Subcommands
of this command. - getSubcommands() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The
Subcommands
in this group - getSubscriptionId() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The subscription listing id for this role.
- getSubscriptionIdLong() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The subscription listing id for this role.
- getSummary() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The summary of this application or
null
if this application has no summary. - getSupportedEventTypes() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The
AutoModEventTypes
that support this trigger type. - getSupportedOrders() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The supported
PaginationOrders
for this pagination action. - getSupportedTypes() - Method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
The
AutoModTriggerTypes
that this response supports. - getSyncId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Sync ID for this presence.
- getSystemChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that has been set as the channel which newly joinedMembers
will be announced in. - getSystemChannel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Provides the
TemplateChannel
that has been set as the channel which newly joinedMembers
will be announced in. - getTag() - Method in class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
-
The
ForumTag
that was affected by this event - getTags() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
A
List
containing the tags of this bot's application. - getTags() - Method in interface net.dv8tion.jda.api.entities.Role
-
The tags of this role.
- getTags() - Method in interface net.dv8tion.jda.api.entities.sticker.RichSticker
-
Set of tags of the sticker.
- getTarget() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.InviteTarget
object containing information about this invite's target ornull
if this invite does not have a target. - getTarget() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getTarget() - Method in interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
-
The target entity of this context interaction
- getTargetId() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetId() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The target-id.
- getTargetIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetIdLong() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The target-id.
- getTargetMember() - Method in class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- getTargetMember() - Method in interface net.dv8tion.jda.api.interactions.commands.context.UserContextInteraction
-
If this context menu command was used in a
Guild
, this returns the member instance for the target user. - getTargetType() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The expected
TargetType
for this ActionType - getTargetType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
TargetType
defining what kind of entity was targeted by this action. - getTargetType() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The target type of this invite or
Invite.TargetType.NONE
if this invite does not have aInviteTarget
. - getTargetType() - Method in class net.dv8tion.jda.api.events.interaction.command.ApplicationCommandUpdatePrivilegesEvent
- getTargetType() - Method in class net.dv8tion.jda.api.events.interaction.command.ApplicationUpdatePrivilegesEvent
- getTargetType() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getTargetType() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericPrivilegeUpdateEvent
-
The target
Type
. - getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
-
The target type of this context interaction
- getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
- getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.UserContextInteraction
- getTeam() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The team information for this application.
- getTeamId() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getTeamIdLong() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getTermsOfServiceUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The URL for the application's terms of service.
- getText() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The text in the footer
- getText() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
-
The text content of the answer.
- getText() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Question
-
The poll question title.
- getText() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
Text which is displayed when hovering the image in the official client
- getTextChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
TextChannel
that has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
TextChannel
that has the same id as the one provided. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Sorted
SnowflakeCacheView
ofTextChannel
. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getTextChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getTextChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
TextChannels
in the cache. - getTextChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
TextChannels
listed for this Category - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
TextChannels
in this Guild that have the same name as the one provided. - getThread() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
-
The
ThreadChannel
this thread member is subscribed to. - getThread() - Method in class net.dv8tion.jda.api.events.thread.GenericThreadEvent
-
The event related
ThreadChannel
object - getThreadChannel() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumPost
-
The
ThreadChannel
representing the post. - getThreadChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ThreadMemberPaginationAction
-
The
ThreadChannel
this action fetches members for. - getThreadChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
ThreadChannel
that has the same id as the one provided. - getThreadChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
ThreadChannel
that has the same id as the one provided. - getThreadChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
- getThreadChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getThreadChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getThreadChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
ThreadChannel
in the cache. - getThreadChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Finds all
ThreadChannels
whose parent is this channel. - getThreadChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
ThreadChannels
in this Guild that have the same name as the one provided. - getThreadMember() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
-
The
ThreadMember
of the event that has been fired. - getThreadMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
-
The
ThreadMember
that just joined the thread. - getThreadMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberLeaveEvent
-
The
ThreadMember
that just left the thread. - getThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberId() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
-
The id of the
ThreadMember
that fired this and derived event. - getThreadMemberIdLong() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
-
The id of the
ThreadMember
. - getThreadMembers() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Gets a List of all cached
members
of this thread. - getThumbnail() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the
Thumbnail
image to be displayed with the embed. - getTimeArchiveInfoLastModified() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
The last time the archive info of this thread was updated.
- getTimeBoosted() - Method in interface net.dv8tion.jda.api.entities.Member
-
The time when this member boosted the guild.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
The timestamp when this thread was created.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Returns creation date of this invite.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The time this entity was created.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns creation date of this template.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
As the ids of channels are their position, the date of creation cannot be calculated.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
As the ids of roles are their position, the date of creation cannot be calculated.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
As the ids of roles are their position, the date of creation cannot be calculated.
- getTimeCreated(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeCreated(ISnowflake) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeDisconnected() - Method in class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
-
Time at which we noticed the disconnection
- getTimeEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Provides the
OffsetDateTime
defining when this Message was last edited. - getTimeEdited() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The last time the forwarded message was edited before being forwarded.
- getTimeEnding() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
Date at which the
Entitlement
is no longer valid. - getTimeExpiresAt() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
The time when this poll will automatically expire.
- getTimeJoined() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
Time
this Member joined the Guild. - getTimeJoined() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
-
The time this
ThreadMember
joined the subscribedThreadChannel
. - getTimeModified() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The time this command was updated last.
- getTimeoutDuration() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
The duration to timeout the user for.
- getTimeOutEnd() - Method in interface net.dv8tion.jda.api.entities.Member
-
The time this Member will be released from time out.
- getTimeShutdown() - Method in class net.dv8tion.jda.api.events.session.ShutdownEvent
-
Time of WebSocket disconnect
- getTimestamp() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The timestamp for this packet.
- getTimestamp() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The timestamp of the embed.
- getTimestamp() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The time when the user started typing
- getTimestamp() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
The unix epoch timestamp for this markdown timestamp.
- getTimestamps() - Method in interface net.dv8tion.jda.api.entities.Activity
-
Information on the match duration, start, and end.
- getTimeStarting() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The start date at which the
Entitlement
is valid. - getTimeUpdated() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns the last update date of this template.
- getTitle() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The title of the embed.
- getTitle() - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Returns the title
- getTitle() - Method in interface net.dv8tion.jda.api.interactions.modals.Modal
-
The title of this modal
- getToken() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The execute token for this Webhook.
- getToken() - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
The token of this webhook.
- getToken() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getToken() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The access token for the voice server connection
- getToken() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The interaction token used for responding to an interaction.
- getToken() - Method in interface net.dv8tion.jda.api.JDA
-
The login token that is currently being used for Discord authentication.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The topic set for this channel, this is referred to as Guidelines in the official Discord client.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildMessageChannel
-
The topic set for this channel.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The topic of this stage instance
- getTopic() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The topic set for this TemplateChannel.
- getTotalMessageCount() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
The total number of messages sent in this thread, including all deleted messages.
- getTriggerType() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The
AutoModTriggerType
for the execution. - getTriggerType() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The type of trigger that this rule uses.
- getTriggerType() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
ActionType
defining what auditable Action is referred to by this entry. - getType() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The type of
Activity
. - getType() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
The type of response.
- getType() - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractTriggerConfig
-
The type of trigger this config applies to.
- getType() - Method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
The type of trigger for this config.
- getType() - Method in interface net.dv8tion.jda.api.entities.channel.Channel
-
The
ChannelType
for this channel - getType() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
- getType() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.MediaChannel
- getType() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
- getType() - Method in interface net.dv8tion.jda.api.entities.emoji.Emoji
-
The
Emoji.Type
of this emoji. - getType() - Method in interface net.dv8tion.jda.api.entities.emoji.UnicodeEmoji
- getType() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The type of the Entitlement
- getType() - Method in interface net.dv8tion.jda.api.entities.Invite.Channel
-
The
ChannelType
of this channel. - getType() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The type of this invite.
- getType() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The type of this invite target.
- getType() - Method in interface net.dv8tion.jda.api.entities.Message
-
This specifies the
MessageType
of this Message. - getType() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
InteractionType
for this interaction. - getType() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The current
ActivityType
- getType() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The
EmbedType
of this embed. - getType() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The type of this message reference
- getType() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
The
MessageType
of the forwarded message. - getType() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The type of the metadata.
- getType() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The
type
of the scheduled event. - getType() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
- getType() - Method in interface net.dv8tion.jda.api.entities.sticker.RichSticker
-
The
Sticker Type
- getType() - Method in interface net.dv8tion.jda.api.entities.sticker.StandardSticker
- getType() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The
ChannelType
for this TemplateChannel - getType() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
WebhookType
of this webhook. - getType() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The type of event.
- getType() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The
ChannelType
- getType() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The expected option type for this query.
- getType() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The
Command.Type
- getType() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The
OptionType
for this option - getType() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The
OptionType
this choice is for - getType() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Command.Type
of command - getType() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The
OptionType
. - getType() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The
OptionType
of this option. - getType() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
The
IntegrationPrivilege.Type
of entity this privilege is applied to. - getType() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- getType() - Method in interface net.dv8tion.jda.api.interactions.components.Component
-
The type of component.
- getType() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- getType() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
- getType() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
InteractionType
for this interaction. - getType() - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
-
The
Type
of this component - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractThreadCreateAction
-
The
ChannelType
for the resulting channel. - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The
ChannelType
for the resulting channel - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.MessagePaginationAction
-
The
ChannelType
of the targetedMessageChannel
. - getType(Object) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Assumes the type of the provided value through instance checks.
- getTypeRaw() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The raw type value used to derive
AuditLogEntry.getType()
. - getTypeRaw() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The raw interaction type.
- getTypeRaw() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The message reference type id
- getTypeRaw() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getTypeRaw() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The raw option type.
- getTypeRaw() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The raw interaction type.
- getUdpSocket() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The UDP connection for this audio connection.
- getUnavailableGuilds() - Method in interface net.dv8tion.jda.api.JDA
-
Set of
Guild
IDs for guilds that were marked unavailable by the gateway. - getUnsignedInt(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(int, int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedInt(String, int) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedInt(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getUnsignedInt(DataArray, String, int) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getUnsignedInt(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getUnsignedInt(DataObject, String, int) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getUnsignedLong(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(int, long) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUnsignedLong(String, long) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUnsignedLong(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getUnsignedLong(DataArray, String, long) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - getUnsignedLong(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getUnsignedLong(DataObject, String, long) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - getUrl() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The URL of the
Activity
if the game is actually a Stream. - getUrl() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The invite URL for this invite in the format of:
"https://discord.gg/" + getCode()
- getUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The url of the Attachment, most likely on the Discord servers.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The url that was originally placed into chat that spawned this embed.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
The url of the provider.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The web url of this thumbnail image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The url of the video.
- getUrl() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
URL for this image, combination of
RichPresence.getApplicationId()
andRichPresence.Image.getKey()
- getUrl() - Method in class net.dv8tion.jda.api.entities.VanityInvite
-
The invite url.
- getUrl() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
POST
route for this Webhook. - getUrl() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The invite url.
- getUrl() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The target URL for this button, if it is a
LINK
-Style Button. - getUrl() - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Returns the URL that has been passed to this proxy.
- getUrl() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The gateway endpoint
- getUrl(int) - Method in class net.dv8tion.jda.api.utils.ImageProxy
-
Returns the image URL for the specified size.
- getUrl(int, int) - Method in class net.dv8tion.jda.api.utils.AttachmentProxy
-
Returns the attachment URL for the specified width and height.
- getUser() - Method in class net.dv8tion.jda.api.audio.UserAudio
-
The
User
that provided the audio data. - getUser() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
User
responsible for this action. - getUser() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.PrivateChannel
-
The
User
that thisPrivateChannel
communicates with. - getUser() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The
User
that was banned - getUser() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
- getUser() - Method in interface net.dv8tion.jda.api.entities.Member
-
The user wrapped by this Entity.
- getUser() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
User
who caused this interaction. - getUser() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
User for the team member.
- getUser() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildBanEvent
-
The banned
User
- getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
-
The
User
who was unbanned - getUser() - Method in class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
- getUser() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
-
The corresponding user who was removed from the guild.
- getUser() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
The
User
who subscribed or unsubscribed to theScheduledEvent
. - getUser() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getUser() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The reacting
User
This might be missing if the user was not cached. - getUser() - Method in class net.dv8tion.jda.api.events.user.GenericUserEvent
-
The related user instance
- getUser() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
User
who caused this interaction. - getUser() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The user associated with the id
- getUserAgent() - Method in class net.dv8tion.jda.api.requests.RestConfig
-
The adapted user-agent with the custom
suffix
. - getUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserByTag(String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedUsers
visible to this JDA session. - getUserCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedUsers
visible to this ShardManager instance. - getUserId() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The ID of the responsible
User
. - getUserId() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the user that executed the action.
- getUserId() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the user that triggered this execution.
- getUserId() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the user that purchased the
Entitlement
- getUserId() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
The id of the user that subscribed or unsubscribed to the
ScheduledEvent
. - getUserId() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
The id of the voting user.
- getUserId() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who owns the reaction.
- getUserId() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The id of the user who will be added by this task
- getUserIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the user that executed the action.
- getUserIdLong() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModExecution
-
The id of the user that triggered this execution.
- getUserIdLong() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
The id of the user that purchased the
Entitlement
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
The id of the user that subscribed or unsubscribed to the
ScheduledEvent
. - getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
The id for the voting user.
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who owns reaction.
- getUserLimit() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.AudioChannel
-
The maximum amount of
Members
that be in an audio connection within this channel concurrently. - getUserLimit() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The maximum amount of
Members
that can be in this voice channel at once. - getUserLocale() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getUserLocale() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the selected language of the invoking user.
- getUsers() - Method in class net.dv8tion.jda.api.audio.CombinedAudio
-
An unmodifiable list of all
Users
that provided audio that was combined. - getUsers() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The names of all users in this group.
- getUsers() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
An immutable list of all mentioned
Users
. - getUsers() - Method in interface net.dv8tion.jda.api.JDA
- getUsers() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getUsersBag() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
A
Bag
of mentionedUsers
. - getUsersByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
This immutable returns all
Users
that have the same username as the one provided. - getUses() - Method in interface net.dv8tion.jda.api.entities.Invite
-
How often this invite has been used.
- getUses() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
How often this template has been used.
- getUses() - Method in class net.dv8tion.jda.api.entities.VanityInvite
-
How many times this invite has been used.
- getValue() - Method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns the value of the MessageFlag as represented in the bitfield.
- getValue() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
The value of the field
- getValue() - Method in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
-
The raw value used by Discord.
- getValue() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The query value that the user is currently typing.
- getValue() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current option value which is used to identify the selected options in
SelectMenuInteraction.getValues()
. - getValue() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
The String value of this TextInput
- getValue() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The pre-defined value of this TextInput component.
- getValue(String) - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
-
Convenience method to get a
ModalMapping
by its id from the List ofModalMappings
- getValues() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericSelectMenuInteractionEvent
- getValues() - Method in class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- getValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
The provided selection.
- getValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectInteraction
-
The selected values.
- getValues() - Method in interface net.dv8tion.jda.api.interactions.modals.ModalInteraction
-
Returns a List of
ModalMappings
representing the values input by the user for each field when the modal was submitted. - getVanityCode() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url code for this Guild.
- getVanityUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url for this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the verification-Level of this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the
VerificationLevel
of this guild. - getVerificationLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
VerificationLevel
of this guild. - getVersion() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The version of this command.
- getVideoInfo() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the video which should be displayed as an embed.
- getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
VoiceChannel
that has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets a voice channel with the given ID, or
null
if the voice channel is not found - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a
VoiceChannel
that has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets a voice channel with the given ID, or null if the voice channel is not found
- getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Sorted
SnowflakeCacheView
ofVoiceChannel
. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
- getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets all
VoiceChannels
in the cache. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
All
VoiceChannels
listed for this Category - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.Widget
-
Gets the list of voice channels in the guild
- getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IGuildChannelContainer
-
Gets a list of all
VoiceChannels
in this Guild that have the same name as the one provided. - getVoiceState() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
VoiceState
of this Member. - getVoiceState() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
The current voice state of the member.
- getVoiceState() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
- getVoiceState() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
-
The voice state for the guild
- getVoiceStates() - Method in interface net.dv8tion.jda.api.entities.Guild
- getVotes() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
-
The number of votes this answer has received so far.
- getWaveform() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Gets the waveform data encoded in this attachment.
- getWebhook() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Webhook
that the target id of this audit-log entry refers to - getWebhook() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
The target
Webhook
that will be modified by this manager - getWelcomeChannels() - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Returns an immutable list of the welcome channels
These channels are those which are being modified, not the ones currently shown on Discord - getWelcomeScreen() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The welcome screen of the
Guild
. - getWidget() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Gets the widget that to which this member belongs
- getWidget() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceChannel
-
Gets the Widget to which this voice channel belongs
- getWidget() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
- getWidget(long) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidget(String) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidgetBanner(String, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidgetBanner(Guild, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidth() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The width of the Attachment if this Attachment is an image/video.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The width of the image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The width of the thumbnail image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The width of the video.
- GIF - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
GIF
- GIF - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
The GIF format.
- GIFV - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- GITHUB - Static variable in class net.dv8tion.jda.api.JDAInfo
- givePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - givePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - GLOBAL_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Returned only on HTTP 429 responses if the rate limit encountered is the global rate limit (not per-route)
- GRACEFUL_CLOSE - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- grant(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
bits to the selectedPermissionOverride
. - grant(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- GREEK - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- GROUP - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A Group.
- GROUP - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- GroupChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents a Group DM channel.
- guild(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by a guild id - guild(String) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by a guild id - guild(Guild) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by aGuild
- Guild - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord
Guild
. - GUILD - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- GUILD - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- GUILD - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
A custom sticker created for a
Guild
. - GUILD_AFK_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getAfkChannel()
value represented by a VoiceChannel ID. - GUILD_AFK_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
AFKTimeout
of a Guild. - GUILD_APPLICATION_PREMIUM_SUBSCRIPTION - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent to the
system channel
when a guild administrator subscribes to the premium plan of an application. - GUILD_BOOST_TIER_1 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 1
- GUILD_BOOST_TIER_2 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 2
- GUILD_BOOST_TIER_3 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 3
- GUILD_CHANNELS_TOO_LARGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- GUILD_COMMUNITY_UPDATES_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getCommunityUpdatesChannel()
value represented by a TextChannel ID. - GUILD_DISCOVERY_DISQUALIFIED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_REQUALIFIED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_EMOJIS_AND_STICKERS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Deprecated.
- GUILD_EXPLICIT_CONTENT_FILTER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getExplicitContentLevel()
of a Guild. - GUILD_EXPLICIT_CONTENT_FILTER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- GUILD_EXPRESSIONS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Custom emoji, sticker and soundboard sound add/update/delete events.
- GUILD_ICON - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Icon ID
of a Guild. - GUILD_INCIDENT_ALERT_MODE_DISABLED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a moderator deactivates a temporary security measure, such as pausing invites or direct messages.
- GUILD_INCIDENT_ALERT_MODE_ENABLED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a moderator activates a temporary security measure, such as pausing invites or direct messages.
- GUILD_INCIDENT_REPORT_FALSE_ALARM - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a moderator reports a raid as a false alarm in a guild.
- GUILD_INCIDENT_REPORT_RAID - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a moderator reports a raid in a guild.
- GUILD_INVITE_REMINDER - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
The "Invite your friends" messages that are sent to guild owners in new servers.
- GUILD_INVITES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Invite events.
- GUILD_MEMBER_BOOST - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce a new booster
- GUILD_MEMBER_JOIN - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to welcome new members in a Guild
- GUILD_MEMBERS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
PRIVILEGED INTENT Events which inform us about member update/leave/join of a guild.
- GUILD_MESSAGE_POLLS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Events for poll votes in
Guilds
. - GUILD_MESSAGE_REACTIONS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message reaction events in guilds.
- GUILD_MESSAGE_TYPING - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Typing start events in guilds.
- GUILD_MESSAGES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message events from text channels in guilds.
- GUILD_MFA_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- GUILD_MODERATION - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Moderation events, such as ban/unban/audit-log.
- GUILD_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change for the
Guild.getName()
value - GUILD_NEWS_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
- GUILD_NOTIFICATION_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getDefaultNotificationLevel()
value. - GUILD_ONLY - Enum constant in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
This stage instance can only be accessed by guild members
- GUILD_OWNER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of User ID for the owner of a
Guild
- GUILD_PREMIUM_LEVEL_TOO_LOW - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- GUILD_PRESENCES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
PRIVILEGED INTENT Presence updates.
- GUILD_PRIVATE_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
- GUILD_PRUNE_DELETE_DAYS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Days of inactivity for a prune event.
- GUILD_PUBLIC_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
- GUILD_REGION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of region represented by a key.
- GUILD_RULES_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getRulesChannel()
value represented by a TextChannel ID. - GUILD_SPLASH - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Splash ID
of a Guild. - GUILD_SUBSCRIPTION - Enum constant in enum net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction.OwnerType
- GUILD_SYSTEM_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getSystemChannel()
value represented by a TextChannel ID. - GUILD_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated
Guild
information. - GUILD_VANITY_URL_CODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVanityCode()
value. - GUILD_VERIFICATION_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVerificationLevel()
value. - GUILD_VOICE_STATES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Voice state events.
- GUILD_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Webhook events.
- GUILD_WIDGET_CHANNEL_ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The target channel for a widget
- GUILD_WIDGET_ENABLED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Whether the guild widget is disabled or enabled
- GUILD_WRITE_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Guild.Ban - Class in net.dv8tion.jda.api.entities
-
Represents a Ban object.
- Guild.BoostTier - Enum in net.dv8tion.jda.api.entities
-
The boost tier for this guild.
- Guild.ExplicitContentLevel - Enum in net.dv8tion.jda.api.entities
-
The Explicit-Content-Filter Level of a Guild.
- Guild.MetaData - Class in net.dv8tion.jda.api.entities
-
Meta-Data for a Guild
- Guild.MFALevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Multifactor Authentication level required by the Guild.
- Guild.NotificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Notification-level of the Guild.
- Guild.NSFWLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the NSFW level for this guild.
- Guild.Timeout - Enum in net.dv8tion.jda.api.entities
-
Represents the idle time allowed until a user is moved to the AFK
VoiceChannel
if one is set (Guild.getAfkChannel()
). - Guild.VerificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Verification-Level of the Guild.
- GuildAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow for the creation ofGuilds
. - GuildAction.ChannelData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAction.RoleData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAuditLogEntryCreateEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that an
AuditLogEntry
was added to aGuild
. - GuildAuditLogEntryCreateEvent(JDA, long, AuditLogEntry) - Constructor for class net.dv8tion.jda.api.events.guild.GuildAuditLogEntryCreateEvent
- GuildAvailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became available. - GuildAvailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildAvailableEvent
- GuildBanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildBanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildBanEvent
- GuildChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents a
Guild
channel. - GuildChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
GuildChannel
. - GuildInviteCreateEvent - Class in net.dv8tion.jda.api.events.guild.invite
- GuildInviteCreateEvent(JDA, long, Invite, GuildChannel) - Constructor for class net.dv8tion.jda.api.events.guild.invite.GuildInviteCreateEvent
- GuildInviteDeleteEvent - Class in net.dv8tion.jda.api.events.guild.invite
- GuildInviteDeleteEvent(JDA, long, String, GuildChannel) - Constructor for class net.dv8tion.jda.api.events.guild.invite.GuildInviteDeleteEvent
- GuildJoinEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
. - GuildJoinEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildJoinEvent
- GuildLeaveEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you left a
Guild
. - GuildLeaveEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildLeaveEvent
- GuildManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Guild
. - GuildMemberJoinEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberJoinEvent
- GuildMemberRemoveEvent - Class in net.dv8tion.jda.api.events.guild.member
-
Indicates that a user was removed from a
Guild
. - GuildMemberRemoveEvent(JDA, long, Guild, User, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
- GuildMemberRoleAddEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleAddEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
- GuildMemberRoleRemoveEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleRemoveEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
- GuildMemberUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateAvatarEvent(JDA, long, Member, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
- GuildMemberUpdateBoostTimeEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateBoostTimeEvent(JDA, long, Member, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- GuildMemberUpdateEvent - Class in net.dv8tion.jda.api.events.guild.member
-
Fired for every
Member
update, regardless of cache. - GuildMemberUpdateEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberUpdateEvent
- GuildMemberUpdateFlagsEvent - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that the
Member.getFlags()
flags for aMember
were updated. - GuildMemberUpdateFlagsEvent(JDA, long, Member, EnumSet<Member.MemberFlag>) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateFlagsEvent
- GuildMemberUpdateNicknameEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateNicknameEvent(JDA, long, Member, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- GuildMemberUpdatePendingEvent - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that a
Member
has agreed to Membership Screening requirements. - GuildMemberUpdatePendingEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
- GuildMemberUpdateTimeOutEvent - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that a
Member
had their time out changed. - GuildMemberUpdateTimeOutEvent(JDA, long, Member, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
- GuildMessageChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents all message channels present in guilds.
- GuildMessageChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
GuildMessageChannel
. - GuildReadyEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
finished setting up
This event is fired if a guild finished setting up during login phase. - GuildReadyEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildReadyEvent
- GuildReference(long, String) - Constructor for class net.dv8tion.jda.api.entities.Webhook.GuildReference
- Guilds() - Constructor for class net.dv8tion.jda.api.requests.Route.Guilds
- GuildSticker - Interface in net.dv8tion.jda.api.entities.sticker
-
Custom guild sticker created by a user.
- GuildStickerAddedEvent - Class in net.dv8tion.jda.api.events.sticker
-
Indicates that a new
GuildSticker
was added to aGuild
. - GuildStickerAddedEvent(JDA, long, Guild, GuildSticker) - Constructor for class net.dv8tion.jda.api.events.sticker.GuildStickerAddedEvent
- GuildStickerManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for
GuildSticker
. - GuildStickerRemovedEvent - Class in net.dv8tion.jda.api.events.sticker
-
Indicates that a new
GuildSticker
was removed from aGuild
. - GuildStickerRemovedEvent(JDA, long, Guild, GuildSticker) - Constructor for class net.dv8tion.jda.api.events.sticker.GuildStickerRemovedEvent
- GuildStickerUpdateAvailableEvent - Class in net.dv8tion.jda.api.events.sticker.update
-
Indicates that the availability of a
GuildSticker
changed. - GuildStickerUpdateAvailableEvent(JDA, long, Guild, GuildSticker, boolean) - Constructor for class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateAvailableEvent
- GuildStickerUpdateDescriptionEvent - Class in net.dv8tion.jda.api.events.sticker.update
-
Indicates that the description of a
GuildSticker
changed. - GuildStickerUpdateDescriptionEvent(JDA, long, Guild, GuildSticker, String) - Constructor for class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateDescriptionEvent
- GuildStickerUpdateNameEvent - Class in net.dv8tion.jda.api.events.sticker.update
-
Indicates that the name of a
GuildSticker
changed. - GuildStickerUpdateNameEvent(JDA, long, Guild, GuildSticker, String) - Constructor for class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateNameEvent
- GuildStickerUpdateTagsEvent - Class in net.dv8tion.jda.api.events.sticker.update
-
Indicates that the tags of a
GuildSticker
changed. - GuildStickerUpdateTagsEvent(JDA, long, Guild, GuildSticker, Set<String>) - Constructor for class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateTagsEvent
- GuildTimeoutEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a guild failed to ready up and timed out.
- GuildTimeoutEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
- guildTypes() - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
All the channel types for a
Guild
. - GuildUnavailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became unavailable. - GuildUnavailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnavailableEvent
- GuildUnbanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildUnbanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
- GuildUpdateAfkChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the afk-channel of a
Guild
changed. - GuildUpdateAfkChannelEvent(JDA, long, Guild, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- GuildUpdateAfkTimeoutEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
AFK-Timeout
of aGuild
changed. - GuildUpdateAfkTimeoutEvent(JDA, long, Guild, Guild.Timeout) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- GuildUpdateBannerEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateBannerEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- GuildUpdateBoostCountEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost count
of aGuild
changed. - GuildUpdateBoostCountEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- GuildUpdateBoostTierEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost tier
of aGuild
changed. - GuildUpdateBoostTierEvent(JDA, long, Guild, Guild.BoostTier) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- GuildUpdateCommunityUpdatesChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the community updates channel of a
Guild
changed. - GuildUpdateCommunityUpdatesChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
- GuildUpdateDescriptionEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
description
of aGuild
changed. - GuildUpdateDescriptionEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- GuildUpdateExplicitContentLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
ExplicitContentLevel
of aGuild
changed. - GuildUpdateExplicitContentLevelEvent(JDA, long, Guild, Guild.ExplicitContentLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- GuildUpdateFeaturesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the features of a
Guild
changed. - GuildUpdateFeaturesEvent(JDA, long, Guild, Set<String>) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- GuildUpdateIconEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the Icon of a
Guild
changed. - GuildUpdateIconEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- GuildUpdateLocaleEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
DiscordLocale
of aGuild
changed. - GuildUpdateLocaleEvent(JDA, long, Guild, DiscordLocale) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- GuildUpdateMaxMembersEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum member limit
of aGuild
changed. - GuildUpdateMaxMembersEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- GuildUpdateMaxPresencesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum presences limit
of aGuild
changed. - GuildUpdateMaxPresencesEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- GuildUpdateMFALevelEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateMFALevelEvent(JDA, long, Guild, Guild.MFALevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- GuildUpdateNameEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the name of a
Guild
changed. - GuildUpdateNameEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- GuildUpdateNotificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
NotificationLevel
of aGuild
changed. - GuildUpdateNotificationLevelEvent(JDA, long, Guild, Guild.NotificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- GuildUpdateNSFWLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateNSFWLevelEvent(JDA, long, Guild, Guild.NSFWLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- GuildUpdateOwnerEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the owner of a
Guild
changed. - GuildUpdateOwnerEvent(JDA, long, Guild, Member, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- GuildUpdateRulesChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the rules channel of a
Guild
changed. - GuildUpdateRulesChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
- GuildUpdateSafetyAlertsChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the safety alert channel of a
Guild
changed. - GuildUpdateSafetyAlertsChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSafetyAlertsChannelEvent
- GuildUpdateSplashEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the splash of a
Guild
changed. - GuildUpdateSplashEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- GuildUpdateSystemChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the system channel of a
Guild
changed. - GuildUpdateSystemChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- GuildUpdateVanityCodeEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
vanity url
of aGuild
changed. - GuildUpdateVanityCodeEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- GuildUpdateVerificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
VerificationLevel
of aGuild
changed. - GuildUpdateVerificationLevelEvent(JDA, long, Guild, Guild.VerificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- GuildVoiceDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened. - GuildVoiceDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
- GuildVoiceGuildDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened by a moderator. - GuildVoiceGuildDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
- GuildVoiceGuildMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted by a moderator. - GuildVoiceGuildMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
- GuildVoiceMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted. - GuildVoiceMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
- GuildVoiceRequestToSpeakEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a guild member has updated their
Request-to-Speak
. - GuildVoiceRequestToSpeakEvent(JDA, long, Member, OffsetDateTime, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- GuildVoiceSelfDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)deafened itself. - GuildVoiceSelfDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
- GuildVoiceSelfMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)muted itself. - GuildVoiceSelfMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
- GuildVoiceState - Interface in net.dv8tion.jda.api.entities
- GuildVoiceStreamEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
started or ended a stream. - GuildVoiceStreamEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceStreamEvent
- GuildVoiceSuppressEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)suppressed. - GuildVoiceSuppressEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
- GuildVoiceUpdateEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
joined or left anAudioChannel
. - GuildVoiceUpdateEvent(JDA, long, Member, AudioChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- GuildVoiceVideoEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
turned on their camera. - GuildVoiceVideoEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceVideoEvent
- GuildWelcomeScreen - Interface in net.dv8tion.jda.api.entities
-
The welcome screen of a
Guild
. - GuildWelcomeScreen.Channel - Interface in net.dv8tion.jda.api.entities
-
POJO for the recommended channels information provided by a welcome screen.
- GuildWelcomeScreenManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
GuildWelcomeScreen
.
H
- handle(Class<T>, Consumer<? super T>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Class<T>, Predicate<? super T>, Consumer<? super T>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Collection<Class<?>>, Predicate<? super Throwable>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Collection<ErrorResponse>, Consumer<? super ErrorResponseException>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific
ErrorResponses
. - handle(Predicate<? super Throwable>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific conditions.
- handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- handle(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Handles the provided
GenericEvent
. - handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- handle(ErrorResponse, Consumer<? super ErrorResponseException>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific
ErrorResponses
. - handleCombinedAudio(CombinedAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveCombined()
returns true, JDA will provide aCombinedAudio
object to this method every 20 milliseconds. - handleEncodedAudio(OpusPacket) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveEncoded()
returns true, JDA will provide rawOpusPackets
to this method every 20 milliseconds. - handleResponse(Response) - Method in class net.dv8tion.jda.api.requests.Request
- handleUserAudio(UserAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveUser()
returns true, JDA will provide aUserAudio
object to this method every time the user speaks. Continuing with the last statement: This method is only fired when discord provides us audio data which is very different from the scheduled firing time ofAudioReceiveHandler.handleCombinedAudio(CombinedAudio)
. - hasAccess(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has
VIEW_CHANNEL
andVOICE_CONNECT
permissions in theGuildChannel
. - hasChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message instance has an available
Message.getChannel()
. - hasChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this reaction instance has an available
MessageReaction.getChannel()
. - hasCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this reaction can provide a count via
MessageReaction.getCount()
. - hasGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message instance provides a guild instance via
Message.getGuild()
. - HASH_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
A unique string denoting the rate limit being encountered (non-inclusive of top-level resources in the path)
- hashCode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- hashCode() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- hashCode() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
- hashCode() - Method in class net.dv8tion.jda.api.entities.RoleIcon
- hashCode() - Method in class net.dv8tion.jda.api.entities.templates.Template
- hashCode() - Method in class net.dv8tion.jda.api.entities.VanityInvite
- hashCode() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- hashCode() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- hashCode() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- hashCode() - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
- hashCode() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
- hashCode() - Method in class net.dv8tion.jda.api.requests.Route
- hashCode() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- hashCode() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- hasKey(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is present.
- hasNext() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- hasNext() - Method in class net.dv8tion.jda.api.utils.LockIterator
- hasPermission(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the Guild. - hasPermission(GuildChannel, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the specified GuildChannel. - hasPermission(GuildChannel, Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the specified GuildChannel. - hasPermission(Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the Guild. - hasPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Whether or not the currently logged in user and this user have a currently open
PrivateChannel
or not. - hasSubscriptionListing() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role can be acquired through a premium subscription purchase.
- hasTimeJoined() - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this member has accurate
Member.getTimeJoined()
information. - HEAD - Enum constant in enum net.dv8tion.jda.api.requests.Method
- here(Consumer<? super Throwable>) - Static method in exception class net.dv8tion.jda.api.exceptions.ContextException
-
Creates a wrapping
Consumer
for the provided target. - HERE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for all active users, literal
@here
- herePrintingTrace() - Static method in exception class net.dv8tion.jda.api.exceptions.ContextException
-
Creates a failure consumer that appends a context cause before printing the stack trace using
Throwable.printStackTrace()
. - HIDE_MEDIA_DOWNLOAD_OPTIONS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
This is a
MediaChannel
which hides the copy embed option. - HIDE_MEDIA_DOWNLOAD_OPTIONS - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the hide media download option flag
- HierarchyException - Exception Class in net.dv8tion.jda.api.exceptions
-
Exception indicating that a specific action requires to have a higher role than the target.
- HierarchyException(String) - Constructor for exception class net.dv8tion.jda.api.exceptions.HierarchyException
- HIGH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- HINDI - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- HOIST - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the hoisted field
- HONG_KONG - Enum constant in enum net.dv8tion.jda.api.Region
- HttpException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates an unsuccessful HTTP request.
- HttpException(String) - Constructor for exception class net.dv8tion.jda.api.exceptions.HttpException
- HttpException(String, Throwable) - Constructor for exception class net.dv8tion.jda.api.exceptions.HttpException
- HttpRequestEvent - Class in net.dv8tion.jda.api.events.http
-
Indicates that a
RestAction
has been executed. - HttpRequestEvent(Request<?>, Response) - Constructor for class net.dv8tion.jda.api.events.http.HttpRequestEvent
- HUNGARIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- HYPESQUAD - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BALANCE - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BRAVERY - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BRILLIANCE - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
I
- IAgeRestrictedChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Channels which can be set to age-restricted.
- IAgeRestrictedChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to set whether a channel is NSFW or Age-Restricted.
- IAudioSendFactory - Interface in net.dv8tion.jda.api.audio.factory
-
Factory interface for the creation of new
IAudioSendSystem
objects. - IAudioSendSystem - Interface in net.dv8tion.jda.api.audio.factory
-
Interface that acts as a UDP audio packet sending loop.
- IAutoCompleteCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow auto-complete suggestion replies.
- ICategorizableChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a channel that can be a member of a
Category
. - ICategorizableChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to set the
Parent Category
of acategorizable channel
. - ICommandReference - Interface in net.dv8tion.jda.api.interactions.commands
-
Represents a mentionable slash command.
- Icon - Class in net.dv8tion.jda.api.entities
-
Icon containing a base64 encoded jpeg/png/gif/gifv image.
- ICON - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the icon field
- ICON - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the icon field
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Template for
ApplicationTeam.getIconUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
-
Template for
CustomEmoji.getImageUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getIconUrl()
. - ICON_URL - Static variable in class net.dv8tion.jda.api.entities.RoleIcon
-
Template for
RoleIcon.getIconUrl()
. - ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.sticker.Sticker
-
Template for
Sticker.getIconUrl()
- Icon.IconType - Enum in net.dv8tion.jda.api.entities
-
Supported image types for the Discord API.
- ICopyableChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a GuildChannel that is capable of being copied.
- ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button id can have
- ID_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum length a select menu id can have
- IDeferrableCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which can be deferred.
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateEmojiEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateModeratedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchivedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateAutoArchiveDurationEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateBitrateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultLayoutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultReactionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultSortOrderEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateInvitableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateLockedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateNSFWEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateParentEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateRegionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateSlowmodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTopicEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateTypeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateUserLimitEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateVoiceStatusEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emoji.update.EmojiUpdateRolesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.GatewayPingEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateFlagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateDescriptionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateEndTimeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSafetyAlertsChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateGlobalNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.StatusChangeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateAvailableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateDescriptionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateTagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- IDENTIFY_DELAY - Static variable in interface net.dv8tion.jda.api.utils.SessionController
-
The default delay (in seconds) to wait between running
SessionConnectNodes
- IDENTIFYING_SESSION - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has successfully connected it's websocket to Discord and is sending authentication
- IDLE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently idle (orange circle)
- IEventManager - Interface in net.dv8tion.jda.api.hooks
-
An interface for JDA's EventManager system.
- ignore(Class<?>, Class<?>...) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore exceptions of the specified types.
- ignore(Collection<ErrorResponse>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore the specified set of error responses.
- ignore(Collection<ErrorResponse>) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, Collection<ErrorResponse>) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, ErrorResponse, ErrorResponse...) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Predicate<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore exceptions on specific conditions.
- ignore(ErrorResponse, ErrorResponse...) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore the specified set of error responses.
- ignore(ErrorResponse, ErrorResponse...) - Static method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- IGuildChannelContainer<C> - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Provides various channel cache getters for Guild channels.
- IInviteContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a
GuildChannel
that can be the target of a Guild's invite. - ILLEGAL_EMOJI_CONVERSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ILLEGAL_OPERATION_ARCHIVED_THREAD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Image(long, String, String) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Image
- IMAGE - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- IMAGE - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the image field
- IMAGE_URL - Static variable in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Template for
ScheduledEvent.getImageUrl()
- ImageInfo(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
- ImageProxy - Class in net.dv8tion.jda.api.utils
-
A utility class to retrieve images.
- ImageProxy(String) - Constructor for class net.dv8tion.jda.api.utils.ImageProxy
-
Constructs a new
ImageProxy
for the provided URL. - IMemberContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a
GuildChannel
that is capable of containing members. - IMentionable - Interface in net.dv8tion.jda.api.entities
-
Marks a mentionable entity.
- IMessageEditCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow a target message to be edited on use.
- IModalCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow sending modals as a response.
- inAudioChannel() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Used to determine if the
Member
is currently connected to anAudioChannel
in theGuild
returned fromGuildVoiceState.getGuild()
. - include(long...) - Static method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Factory method to chunk a whitelist of guild ids.
- includeUserInCombinedAudio(User) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
This method is a filter predicate used by JDA to determine whether or not to include a
User
's audio when creating a CombinedAudio packet. - INCOMING - Enum constant in enum net.dv8tion.jda.api.entities.WebhookType
-
Normal webhooks that can be used for sending messages
- IncomingWebhookClient - Interface in net.dv8tion.jda.api.entities
-
Specialization of
WebhookClient
for incoming webhooks. - INCONSISTENT_EVENT_START_ENTITY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Incubating - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with Incubating might change in a future release.
- INDIA - Enum constant in enum net.dv8tion.jda.api.Region
- INDONESIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- init(int) - Method in class net.dv8tion.jda.api.sharding.ThreadPoolProvider.LazySharedProvider
-
Called with the shard total to initialize the shared pool.
- INITIALIZED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has finished setting up supporting systems and is ready to log in.
- INITIALIZING - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is currently setting up supporting systems like the AudioSystem.
- INLINE_REPLY - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Reply to another message.
- INPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
Audio Input Format expected by JDA if
AudioSendHandler.isOpus()
returns false. - insert(int, Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Inserts the specified value at the provided index.
- installAuxiliaryPort() - Method in interface net.dv8tion.jda.api.JDA
-
Installs an auxiliary port for audio transfer.
- INSTANCE - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- InsufficientPermissionException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that the user is missing a
Permission
for some action. - InsufficientPermissionException(GuildChannel, Permission) - Constructor for exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(GuildChannel, Permission, String) - Constructor for exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission) - Constructor for exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission, String) - Constructor for exception class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- INT - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- INT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- INTEGER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept
Long
integer inputs - INTEGER_EQUALS - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- INTEGER_GREATER_THAN_OR_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- INTEGER_LESS_THAN_OR_EQUAL - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- INTEGER_NOT_EQUALS - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- INTEGRATION - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- INTEGRATION - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.PrivilegeTargetType
-
Indicates that privileges have been updated on the application itself.
- INTEGRATION_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has added an integration to the guild
- INTEGRATION_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has removed an integration from the guild
- INTEGRATION_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated an integration of the guild
- IntegrationPrivilege - Class in net.dv8tion.jda.api.interactions.commands.privileges
-
Privilege used to restrict access to a command within a
Guild
. - IntegrationPrivilege(Guild, IntegrationPrivilege.Type, boolean, long) - Constructor for class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
- IntegrationPrivilege.Type - Enum in net.dv8tion.jda.api.interactions.commands.privileges
-
The target type this privilege applies to.
- Interaction - Interface in net.dv8tion.jda.api.interactions
-
Abstract representation for any kind of Discord interaction.
- Interaction(long, int, String, User, Member) - Constructor for class net.dv8tion.jda.api.entities.Message.Interaction
- INTERACTION_ALREADY_ACKNOWLEDGED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INTERACTION_PREMIUM_UPSELL - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent by a bot when a command is restricted to premium users.
- InteractionCallbackAction<T> - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A callback action is used to acknowledge an
Interaction
. - InteractionCallbackAction.ResponseType - Enum in net.dv8tion.jda.api.requests.restaction.interactions
-
The possible types of interaction responses.
- InteractionExpiredException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that an interaction has expired and can no longer be responded to.
- InteractionExpiredException() - Constructor for exception class net.dv8tion.jda.api.exceptions.InteractionExpiredException
- InteractionFailureException - Exception Class in net.dv8tion.jda.api.exceptions
-
Exception caused by the failure of
ReplyAction
. - InteractionFailureException() - Constructor for exception class net.dv8tion.jda.api.exceptions.InteractionFailureException
- InteractionHook - Interface in net.dv8tion.jda.api.interactions
-
Webhook API for an interaction.
- Interactions() - Constructor for class net.dv8tion.jda.api.requests.Route.Interactions
- InteractionType - Enum in net.dv8tion.jda.api.interactions
-
Enum for interaction types.
- InterfacedEventManager - Class in net.dv8tion.jda.api.hooks
-
An
IEventManager
implementation that uses theEventListener
interface for event listeners. - InterfacedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.InterfacedEventManager
- INTERNAL_SERVER_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_ACCOUNT_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_ACTIVITY_ACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_API_VERSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_AUTHOR_EDIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE_MESSAGE_AGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_CHANNEL_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_COMMUNITY_SERVER_CHANNEL_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_DM_ACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_FILE_UPLOADED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_FORM_BODY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_INTENTS - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_LOTTIE_JSON - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MESSAGE_TARGET - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MFA_LEVEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_ACCESS_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_STATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PASSWORD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PIN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_RECIPIENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_REQUEST_BODY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_ROLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_SEQ - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_SHARD - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_STICKER_SENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_THREAD_NOTIFICATION_SETTINGS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_WEBHOOK_SERVICE_CHANNEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_WEBHOOK_THREAD_CHANNEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_WEBHOOK_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALIDATED - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session cache has been invalidated.
- InvalidTokenException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that an invalid token was given when trying to login the Discord API
- InvalidTokenException() - Constructor for exception class net.dv8tion.jda.api.exceptions.InvalidTokenException
-
Constructs an
InvalidTokenException
with no detail message. - INVISIBLE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the currently logged in account is set to invisible and shows up as
OnlineStatus.OFFLINE
for other users. - INVITABLE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The invite state of this channel.
- Invite - Interface in net.dv8tion.jda.api.entities
-
Representation of a Discord Invite.
- INVITE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- INVITE_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getChannel()
ID for the targetInvite
Use withJDA.getTextChannelById(String)
orJDA.getVoiceChannelById(String)
- INVITE_CODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getCode()
for the targetInvite
Use withInvite.resolve(net.dv8tion.jda.api.JDA, String)
Invite.resolve(JDA, String)} - INVITE_CODE_INVALID - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
Someone has created an
Invite
. - INVITE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted an
Invite
. - INVITE_FOR_UNKNOWN_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_INVITER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- INVITE_MAX_AGE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxAge()
for the targetInvite
- INVITE_MAX_USES - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxUses()
for the targetInvite
- INVITE_PATTERN - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Pattern used to find instant invites in strings.
- INVITE_TEMPORARY - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.isTemporary()
for the targetInvite
- INVITE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An
Invite
has been updated. - INVITE_USES - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getUses()
for the targetInvite
- Invite.Channel - Interface in net.dv8tion.jda.api.entities
-
POJO for the channel information provided by an invite.
- Invite.EmbeddedApplication - Interface in net.dv8tion.jda.api.entities
-
POJO for the target application information provided by an invite.
- Invite.Group - Interface in net.dv8tion.jda.api.entities
-
POJO for the group information provided by an invite.
- Invite.Guild - Interface in net.dv8tion.jda.api.entities
-
POJO for the guild information provided by an invite.
- Invite.InviteTarget - Interface in net.dv8tion.jda.api.entities
-
POJO for the target of this invite.
- Invite.InviteType - Enum in net.dv8tion.jda.api.entities
-
Enum representing the type of an invite.
- Invite.TargetType - Enum in net.dv8tion.jda.api.entities
-
A TargetType indicates additional action to be taken by the client on accepting the invite, typically connecting external services or launching external applications depending on the specific TargetType.
- INVITEABLE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the invitable field
- InviteAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Invite
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createInvites
. - INVITED - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The user has a pending invite
- Invites() - Constructor for class net.dv8tion.jda.api.requests.Route.Invites
- inviteSpeaker() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Invite this member to become a speaker.
- inVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Used to determine if the member is currently in a voice channel.
- IOBiConsumer<T,
R> - Interface in net.dv8tion.jda.api.utils -
Consumer accepting two arguments and throwing
IOException
. - IOConsumer<T> - Interface in net.dv8tion.jda.api.utils
-
Consumer accepting one argument and throwing
IOException
. - IOFunction<T,
R> - Interface in net.dv8tion.jda.api.utils -
Function accepting one argument and throwing
IOException
. - IPacketProvider - Interface in net.dv8tion.jda.api.audio.factory
-
Represents the connection between a
IAudioSendSystem
and JDA's internal audio system, providing access to audio packets built from data provided fromAudioSendHandlers
. - IPermissionContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a
GuildChannel
that usesPermission Overrides
. - IPermissionContainerManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to modify
PermissionOverrides
of apermission containing channel
. - IPermissionContainerUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
IPermissionContainer
. - IPermissionHolder - Interface in net.dv8tion.jda.api.entities
-
Marker for entities that hold Permissions within JDA
- IPositionableChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a
GuildChannel
that has a position. - IPositionableChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to modify the position of a
positionable channel
. - IPostContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
A channel which contains
Forum Posts
. - IPostContainer.SortOrder - Enum in net.dv8tion.jda.api.entities.channel.attribute
-
The order used to sort forum posts.
- IPostContainerManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to configure settings related to forum post containers, such as
ForumChannel
. - IPremiumRequiredReplyCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Deprecated.Replaced with
Button.premium(SkuSnowflake)
, see the Discord change logs for more details. - IReplyCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow message replies in the channel they were used in.
- IS_CROSSPOST - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
The Message originated from a Message in another Channel (via Channel Following)
- IS_VOICE_MESSAGE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
The Message is a voice message, containing an audio attachment
- isAcknowledged() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- isAcknowledged() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Whether this interaction has already been acknowledged.
- isAnimated() - Method in interface net.dv8tion.jda.api.entities.emoji.CustomEmoji
-
Whether this emoji is animated.
- isArchived() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether this thread has been archived.
- isAscendingOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Whether this instance uses ascending order, from the lowest position to the highest.
- isAudio() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Whether channels of this type support audio connections.
- isAudioSupported() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether the opus library is loaded or not.
- isAutoComplete() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Whether this option supports auto-complete interactions via
CommandAutoCompleteInteractionEvent
. - isAutoComplete() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
Whether this option supports auto-complete
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.JDA
-
Used to determine whether or not autoReconnect is enabled for JDA.
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether audio connections from this AudioManager automatically reconnect
- isAvailable() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Whether this emoji is available.
- isAvailable() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
Whether this sticker is currently available.
- isAvailable() - Method in interface net.dv8tion.jda.api.entities.Widget
-
Shows whether or not the widget for a guild is available.
- isAvailableForPurchase() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role has been published for user purchasing.
- isBoost() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is the boost role of this guild.
- isBoosting() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns whether a member is boosting the guild or not.
- isBoostProgressBarEnabled() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns whether this Guild has its boost progress bar shown.
- isBot() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is associated with a bot.
- isBot() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns whether or not the given user is a Bot-Account (special badge in client, some different behaviour)
- isBot() - Method in interface net.dv8tion.jda.api.entities.Widget.Member
-
Returns whether or not the given member is a bot account
- isBotPublic() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Whether the bot is public or not.
- isBulkDeleteSplittingEnabled() - Method in interface net.dv8tion.jda.api.JDA
-
Used to determine if JDA will process MESSAGE_DELETE_BULK messages received from Discord as a single
MessageBulkDeleteEvent
or split the deleted messages up and fire multipleMessageDeleteEvents
, one for each deleted message. - isCacheEnabled() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether retrieved entities are stored within an internal cache.
- isCancelled() - Method in class net.dv8tion.jda.api.requests.Request
- isCancelled() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Whether this request was cancelled.
- isChannel() - Method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
Whether the event is scheduled to be held in a
GuildChannel
. - isChannel() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present Channel level (configurable via
PermissionsOverrides
) - isClosedByServer() - Method in class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
-
Whether the connection was closed by discord
- isConnected() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
This can be used to find out if JDA currently has an active audio connection with a
AudioChannel
. - isConsumed() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
Whether the
Entitlement
was consumed or not. - isDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is deafened, either by choiceGuildVoiceState.isSelfDeafened()
or deafened by an adminGuildVoiceState.isGuildDeafened()
- isDeafened() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is deafened, either by an admin or self-deafened
- isDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
-
Whether the member was deafened in this event.
- isDefault() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Whether this option is selected by default
- isDefaultMentionRepliedUser() - Static method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Returns the default mention behavior for replies.
- isDeleted() - Method in interface net.dv8tion.jda.api.entities.Entitlement
-
Whether the
Entitlement
has been deleted or not. - isDisabled() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
True if this privilege is denying access to the command
- isDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Whether this action component is disabled.
- isDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Whether all components in this layout are
disabled
. - isDisabled() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Whether the menu is disabled
- isDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
- isDone() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Whether the request is completed.
- isEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns whether or not this Message has been edited before.
- isEdited() - Method in class net.dv8tion.jda.api.entities.messages.MessageSnapshot
-
Whether the forwarded message was edited.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
Whether this
RoleIcon
is an emoji instead of a custom image. - isEmpty() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks if the given embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Whether this MessageHistory instance has retrieved any messages.
- isEmpty() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Check whether this layout is empty.
- isEmpty() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether the cache of this PaginationAction is empty.
- isEmpty() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Whether the cache is empty
- isEmpty() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether this array is empty
- isEmpty() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
Whether this builder is considered empty, this checks for all required fields of the request type.
- isEmpty() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- isEmpty() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- isEnabled() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
Whether this rule is enabled.
- isEnabled() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
True if this privilege is granting access to the command
- isEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Whether all components in this layout are
enabled
. - isEphemeral() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is from an ephemeral Message.
- isEphemeral() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message is ephemeral.
- isError() - Method in class net.dv8tion.jda.api.requests.Response
- isEventTypeSupported(AutoModEventType) - Method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
Whether the provided
AutoModEventType
is supported by this trigger type. - isExpanded() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite is expanded or not.
- isExpired() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Whether this poll has passed its
expiration time
. - isExpired() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Whether this interaction has expired.
- isFailure() - Method in class net.dv8tion.jda.api.utils.Result
-
True if this result is a failure.
- isFinalizedVotes() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Whether this poll is finalized and recounted.
- isFromGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message was sent in a
Guild
. - isFromGuild() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
Whether this channel event happened in a
Guild
. - isFromGuild() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Whether this message was sent in a
Guild
. - isFromGuild() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Whether this interaction came from a
Guild
. - isFromThread() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
If the message event was from a
ThreadChannel
- isFromType(ChannelType) - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to determine if this Message was received from a
MessageChannel
of theChannelType
specified. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this Reaction was used in a
MessageChannel
of the specifiedChannelType
. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
Used to determine if this event was received from a
Channel
of theChannelType
specified. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Indicates whether the message is from the specified
ChannelType
- isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Whether the user started typing in a channel of the specified type.
- isGlobalCommand() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Whether the used command is a global command.
- isGuild() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Whether this ChannelType is present for a
GuildChannel
- isGuild() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present at the Guild level (configurable via
Roles
) - isGuildCommand() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- isGuildCommand() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- isGuildCommand() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Whether the used command is a guild command.
- isGuildDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got deafened by an Admin - isGuildDeafened() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is deafened by an admin
- isGuildDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
-
Whether the member was deafened by a moderator in this event
- isGuildMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got muted by an Admin - isGuildMuted() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is muted by an admin
- isGuildMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
-
Whether the member was muted by a moderator in this event
- isGuildOnly() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Whether the command can only be used inside a guild.
- isGuildOnly() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Whether the command can only be used inside a guild.
- isHoisted() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is hoisted
Members in a hoisted role are displayed in their own grouping on the user-list - isHoisted() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
Whether this
Role
is hoisted
Members in a hoisted role are displayed in their own grouping on the user-list - isIdle() - Method in interface net.dv8tion.jda.api.managers.Presence
-
Whether the current session is marked as afk or not.
- isImage() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is an Image, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isInit() - Method in enum net.dv8tion.jda.api.JDA.Status
- isInitialized() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether this class was already initialized or not.
- isInline() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
If the field is in line.
- isIntegration() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is managed by an integration.
- isInteractionBucket() - Method in class net.dv8tion.jda.api.requests.Route
-
Whether this route is a route related to interactions.
- isInvitable() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether this thread is invitable.
- isInvitesDisabled() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Whether the invites for this guild are paused/disabled.
- isJoined() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether the currently logged in member has joined this thread.
- isLinkedRole() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is acquired through a user connection.
- isLoaded() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Whether this guild has loaded members.
- isLocked() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether this thread is locked or not.
- isLogged() - Method in class net.dv8tion.jda.api.events.ExceptionEvent
-
Whether this Throwable was already printed using the JDA logging system
- ISlowmodeChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Channels which support slowmode.
- ISlowmodeChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager which supports setting slowmode of a channel.
- isManaged() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Whether this emoji is managed.
- isManaged() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is managed by an integration - isManaged() - Method in class net.dv8tion.jda.api.events.emoji.GenericEmojiEvent
-
Whether this emoji is managed by an integration
- isMediaDownloadHidden() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.MediaChannel
-
Whether this media channel hides the download option for embeds.
- isMember() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aMember
or not - isMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Check whether
ApplicationTeam.getMember(User)
returns null for the provided user. - isMember(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to determine if the provided
UserSnowflake
is a member of this Guild. - isMemberOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this PermissionOverride relates to a specific
Member
. - isMemberOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
Whether this override was for a member.
- isMentionable() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether or not this Role is mentionable
- isMentionable() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
Whether or not this Role is mentionable
- isMentioned(IMentionable, Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Mentions
-
Checks if given
IMentionable
was mentioned in any way (@User, @everyone, @here, @Role). - isMentionRaidProtectionEnabled() - Method in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
Whether this rule is using the raid protection feature.
- isMentionRepliedUser() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- isMentionRepliedUser() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Whether this message would mention a user, if it is sent as a reply.
- isMentionRepliedUser() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
Whether this message would mention a user, if it is sent as a reply.
- isMentionRepliedUser() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
-
Whether this message would mention a user, if it is sent as a reply.
- isMessage() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Whether channels of this type support message sending.
- isMessageCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.Component
-
Whether this Component is compatible with
Messages
. - isMessageCompatible() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Whether this component can be used in
Messages
. - isMessageCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.ItemComponent
- isMessageCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
- isMfaEnabled() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
If true, this account is protected by Multi-Factor authorization.
- isModalCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.Component
-
Whether this Component is compatible with
Modals
. - isModalCompatible() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Whether this component can be used in
Modals
. - isModalCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.ItemComponent
- isModalCompatible() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
- isModerated() - Method in interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
-
Whether this tag can only be applied by moderators with the
MANAGE_THREADS
permission (aka Manage Posts). - isModerated() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
- isModerator(Member) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
Whether this member is considered a moderator for this stage channel.
- isModifiable() - Method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
Whether this flag can be modified by the client
- isMultiAnswer() - Method in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Whether this poll allows multiple answers to be selected.
- isMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is muted, either by choiceGuildVoiceState.isSelfMuted()
or muted by an adminGuildVoiceState.isGuildMuted()
- isMuted() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is muted, either by an admin or self-muted
- isMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
-
Whether the member was muted in this event.
- isNews() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Whether or not this channel is considered an Announcement-/News-Channel.
- ISnowflake - Interface in net.dv8tion.jda.api.entities
-
Marks a snowflake entity.
- isNSFW() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IAgeRestrictedChannel
-
Whether this channel is considered as age-restricted, also known as NSFW (Not-Safe-For-Work)
- isNSFW() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Whether or not this channel is considered as "NSFW" (Not-Safe-For-Work).
- isNSFW() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Whether this command should only be usable in NSFW (age-restricted) channels
- isNSFW() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Whether this command is restricted to NSFW (age-restricted) channels.
- isNull(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is null.
- isNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is missing or null
- isOk() - Method in class net.dv8tion.jda.api.requests.Response
- isOpus() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If this method returns true JDA will treat the audio data provided by
AudioSendHandler.provide20MsAudio()
as a pre-encoded 20 Millisecond packet of Opus audio. - isOwner() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether the current account is the owner of this thread.
- isOwner() - Method in interface net.dv8tion.jda.api.entities.Member
-
Checks whether this member is the owner of its related
Guild
. - isPartial() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
Whether this webhook cannot provide
Webhook.getChannel()
andWebhook.getGuild()
. - isPassContext() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Whether RestActions will use
ContextException
automatically to keep track of the caller context. - isPending() - Method in interface net.dv8tion.jda.api.entities.Member
-
Checks whether this member has passed the
Guild's
Membership Screening requirements. - isPermissionChecksEnabled() - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Whether internal checks for missing permissions are enabled
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - isPinned() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether this thread is a pinned forum post.
- isPinned() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether or not this Message has been pinned in its parent channel.
- isPresence() - Method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Whether this cache flag is for presence information of a member.
- isPriority() - Method in class net.dv8tion.jda.api.requests.Request
- isPriority() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Requests marked as priority should not be cancelled.
- isPublic() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Whether this thread is public or not.
- isPublicRole() - Method in interface net.dv8tion.jda.api.entities.Role
- isRateLimit() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- isRateLimit() - Method in class net.dv8tion.jda.api.requests.Response
- isReconnect() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
Whether the gateway client will attempt to reconnect when this close code appears
- isReconnect() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
Whether this node is reconnecting.
- isRelative() - Method in class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
-
Whether to use
RestRateLimiter.RESET_AFTER_HEADER
. - isRelativeRateLimit() - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Whether to use
X-RateLimit-Reset-After
to determine the rate-limit backoff. - isReplace() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- isReplace() - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
Whether this request will replace the message and remove everything that is not currently set.
- isRequired() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Whether this option is required.
- isRequired() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
Whether this option is required
- isRequired() - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Whether this TextInput is required.
- isRequired() - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
Whether this TextInput is required to be non-empty
- isRich() - Method in interface net.dv8tion.jda.api.entities.Activity
- isRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aRole
or not - isRoleOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this PermissionOverride relates to a specific
Role
. - isRoleOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
Whether this override was for a role.
- isSelf() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether the currently logged in account has reacted with this reaction at all, including both super and normal.
- isSelf(MessageReaction.ReactionType) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether the currently logged in account has reacted with this reaction as specifically a super or normal reaction.
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
deafened themselves. - isSelfDeafened() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is self-deafened
- isSelfDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
-
Whether the member deafened itself in this event
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are deafened.
- isSelfMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
muted themselves. - isSelfMuted() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is self-muted
- isSelfMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
-
Whether the member muted itself in this event
- isSelfMuted() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are muted, if this is
true
packages by the registeredAudioSendHandler
will be ignored by Discord. - isSelfVoted() - Method in class net.dv8tion.jda.api.entities.messages.MessagePoll.Answer
-
Whether the answer was voted for by the currently logged in account.
- isSendable() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this MessageEmbed can be used in a message.
- isSendingVideo() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
has their camera turned on. - isSendingVideo() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceVideoEvent
-
True if this user started sending video.
- isServerError() - Method in exception class net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Whether this is an internal server error from discord (status 500)
- isSkipped() - Method in class net.dv8tion.jda.api.requests.Request
- isSkipped() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.Work
-
Whether the request should be skipped.
- isSpoiler() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is marked as spoiler, based on
Message.Attachment.getFileName()
. - isStarted() - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Whether this task has started.
- isStopped() - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Whether the queue has stopped accepting new requests.
- isStopped() - Method in class net.dv8tion.jda.api.requests.SequentialRestRateLimiter
- isStream() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
is currently streaming with Go Live. - isStream() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceStreamEvent
-
True if this user started streaming.
- isSuccess() - Method in class net.dv8tion.jda.api.utils.Result
-
True if this result is a success.
- isSupportedTrigger(AutoModTriggerType) - Method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Whether this response supports the provided trigger type.
- isSuppressed() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
is unable to speak because the channel is actively suppressing audio communication. - isSuppressed() - Method in interface net.dv8tion.jda.api.entities.Widget.VoiceState
-
Whether the member is suppressed
- isSuppressed() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
-
Whether the member was suppressed in this event
- isSuppressedEmbeds() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether embeds are suppressed for this message.
- isSuppressedNotifications() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message is silent.
- isSuppressedNotifications() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Whether this message is silent.
- isSuppressEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- isSuppressEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
- isSuppressEmbeds() - Method in interface net.dv8tion.jda.api.utils.messages.MessageData
-
Whether embeds will be suppressed on this message.
- isSuppressEmbeds() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
- isSynced() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
-
Whether or not this GuildChannel's
PermissionOverrides
match those ofits parent category
. - isSynced() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Whether or not this template is synced.
- isSystem() - Method in enum net.dv8tion.jda.api.entities.MessageType
-
Whether this message type is for system messages.
- isSystem() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns whether or not the given user is a System account, which includes the urgent message account and the community updates bot.
- isTagRequired() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
Whether all new forum posts must have a tag.
- isTemporary() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite grants only temporary access or not.
- isThread() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Whether channels of this type are
ThreadChannels
. - isThreadOwner() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
-
True, if this
ThreadMember
owns the subscribedThreadChannel
. - isTimedOut() - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member is in time out.
- isTTS() - Method in interface net.dv8tion.jda.api.entities.Message
-
Defines whether or not this Message triggers TTS (Text-To-Speech).
- isTTS() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Whether this message uses Text-to-Speech (TTS).
- isType(int, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is of the specified type.
- isType(Object) - Method in enum net.dv8tion.jda.api.utils.data.DataType
-
Tests whether the type for the provided value is the one represented by this enum constant.
- isType(String, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is of the specified type.
- isUnavailable(long) - Method in interface net.dv8tion.jda.api.JDA
-
Whether the guild is unavailable.
- isValid() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Check whether this is a valid layout configuration.
- isValid() - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
-
Whether this builder has a valid state to build.
- isValid() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- isValid() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- isValidLength() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks whether the constructed
MessageEmbed
is within the limits for a bot account. - isValidStreamingUrl(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Checks if a given String is a valid Twitch/Youtube streaming url (ie, one that will display "Streaming" on the Discord client).
- isVerified() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The status of this account's verification.
- isVideo() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is a video, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isVip() - Method in enum net.dv8tion.jda.api.Region
-
Whether or not this Region is a VIP region.
- isVoiceMessage() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message is a voice message.
- isVoiceMessage() - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Whether this attachment is a valid voice message attachment.
- isVoiceMessage() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
-
Whether this message is intended as a voice message.
- isWebhookMessage() - Method in interface net.dv8tion.jda.api.entities.Message
- isWebhookMessage() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- ITALIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- italics(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing italics (with underscore) regions in the input and applies italics formatting to the entire string.
- ITALICS_A - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for asterisks such as "*Hello*"
- ITALICS_U - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for underline such as "_Hello_"
- ItemComponent - Interface in net.dv8tion.jda.api.interactions.components
-
Component which can be inserted into a
LayoutComponent
. - iterator() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- iterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
PaginationIterator
that will iterate over all entities for this PaginationAction. - iterator() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- IThreadContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Abstraction of all channel types, which can contain or manage
ThreadChannels
. - IThreadContainerManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.attribute -
Manager abstraction to configure settings related to thread channel containers, such as
ForumChannel
. - IThreadContainerUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
IThreadContainer
. - IVoiceStatusChannel - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Channel with a modifiable voice status.
- IWebhookContainer - Interface in net.dv8tion.jda.api.entities.channel.attribute
-
Represents a
GuildChannel
that is capable of utilizing webhooks. - IWebhookContainerUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
IWebhookContainer
.
J
- JAPAN - Enum constant in enum net.dv8tion.jda.api.Region
- JAPANESE - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- JDA - Interface in net.dv8tion.jda.api
-
The core of JDA.
- JDA.ShardInfo - Class in net.dv8tion.jda.api
-
Represents the information used to create this shard.
- JDA.Status - Enum in net.dv8tion.jda.api
-
Represents the connection status of JDA and its Main WebSocket.
- JDABuilder - Class in net.dv8tion.jda.api
-
Used to create new
JDA
instances. - JDAInfo - Class in net.dv8tion.jda.api
-
Contains information to this specific build of JDA.
- JDAInfo() - Constructor for class net.dv8tion.jda.api.JDAInfo
- join() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Joins this thread, adding the current account to the member list of this thread.
- JOIN - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- JOIN - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to join a game. - JOIN_REQUEST - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- JOIN_REQUEST - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for requesting to join a game. - JOIN_THREAD - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- JPEG - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
JPEG
- JSON - Enum constant in enum net.dv8tion.jda.api.GatewayEncoding
-
Standard JSON format.
- JSON_SERIALIZE_ARRAY - Static variable in class net.dv8tion.jda.api.requests.Response
- JSON_SERIALIZE_OBJECT - Static variable in class net.dv8tion.jda.api.requests.Response
- JUMP_URL - Static variable in interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
-
Template for
GuildChannel.getJumpUrl()
. - JUMP_URL - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Template for
Message.getJumpUrl()
. - JUMP_URL - Static variable in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
Template for
ScheduledEvent.getJumpUrl()
. - JUMP_URL_PATTERN - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Pattern used to find
Jump URLs
in strings.
K
- keys() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Set
of all keys in this DataObject. - KEYWORD - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The rule is triggered by user message content containing specific keywords or phrases.
- KEYWORD_PRESET - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The rule is triggered by user message content containing keywords from a predefined list (such as
slurs
). - keywordFilter(String...) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on messages containing certain keywords or regex patterns.
- keywordFilter(Collection<String>) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on messages containing certain keywords or regex patterns.
- kick() - Method in interface net.dv8tion.jda.api.entities.Member
-
Kicks this Member from the
Guild
. - kick(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(UserSnowflake, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deprecated.Use
Guild.kick(UserSnowflake)
andAuditableRestAction.reason(String)
instead. - KICK - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has kicked a member.
- KICK_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- KICK_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- kickVoiceMember(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to kick a
Member
from aAudioChannel
. - KOREAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
L
- LABEL_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button label can have
- LABEL_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The maximum length a select option label can have
- LayoutComponent - Interface in net.dv8tion.jda.api.interactions.components
-
Represents a top-level layout used for
ItemComponents
such asButtons
. - lazy(IntFunction<T>) - Static method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Provider that initializes with a
shard_total
and provides the same pool to share between shards. - leave() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Leaves this thread, removing the current account from the member list of this thread.
- leave() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to leave a Guild.
- LEAVE_GUILD - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- LEAVE_THREAD - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- length() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The overall length of the current EmbedBuilder in displayed characters.
- length() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
The length of the array.
- LIGHT - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
- limit(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Sets the limit that should be used in the next RestAction completion call.
- limit(Integer) - Method in class net.dv8tion.jda.api.entities.MessageHistory.MessageRetrieveAction
-
Limit between 1-100 messages that should be retrieved.
- LIMIT_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
The number of requests that can be made
- link(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
LINK
Style. - link(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
LINK
Style. - LINK - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- LINK - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Link button style, usually in gray and has a link attached
- LIST - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- LIST_ACTIVE_THREADS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- LIST_JOINED_PRIVATE_ARCHIVED_THREADS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- LIST_PACKS - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- LIST_PRIVATE_ARCHIVED_THREADS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- LIST_PUBLIC_ARCHIVED_THREADS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- LIST_RULES - Static variable in class net.dv8tion.jda.api.requests.Route.AutoModeration
- LIST_THREAD_MEMBERS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- LIST_VIEW - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Displayed as a chronological list.
- ListenerAdapter - Class in net.dv8tion.jda.api.hooks
-
An abstract implementation of
EventListener
which dividesEvents
for you. - ListenerAdapter() - Constructor for class net.dv8tion.jda.api.hooks.ListenerAdapter
- ListenerProxy - Class in net.dv8tion.jda.api.audio.hooks
-
Internal implementation of
ConnectionListener
, to handle possible exceptions thrown by user code. - ListenerProxy() - Constructor for class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- listening(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- LISTENING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asListening...
in the official client. - LISTENING - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to listen (Spotify) together. - listenOnce(Class<E>) - Method in interface net.dv8tion.jda.api.JDA
-
Returns a reusable builder for a one-time event listener.
- LITHUANIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- LOADING - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this Message is an interaction response and the bot is "thinking"
- LOADING_SUBSYSTEMS - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is populating internal objects.
- loadMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves and collects members of this guild into a list.
- loadMembers(Consumer<Member>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all members of this guild.
- LocalizationFunction - Interface in net.dv8tion.jda.api.interactions.commands.localization
-
Functional interface accepting a localization key (complete path used to get the appropriate translations) and returning a map of discord locales to their localized strings
- LocalizationMap - Class in net.dv8tion.jda.api.interactions.commands.localization
-
Class which contains a mapping from
DiscordLocale
to a translated String, similar to aMap<DiscordLocale, String>
. - LocalizationMap(Consumer<String>) - Constructor for class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
- LOCATION - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the location field
- locked(ReentrantLock, Runnable) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- locked(ReentrantLock, Supplier<E>) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- LOCKED - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The locked state of this channel.
- LOCKED - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the locked field
- lockedIterator() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Returns an iterator with direct access to the underlying data store.
- LockIterator<T> - Class in net.dv8tion.jda.api.utils
-
Simple implementation of a
ClosableIterator
that uses a lock. - LockIterator(Iterator<? extends T>, Lock) - Constructor for class net.dv8tion.jda.api.utils.LockIterator
- LOG - Static variable in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
- LOG - Static variable in interface net.dv8tion.jda.api.managers.AudioManager
- LOG - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- LOGGING_IN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is currently attempting to log in.
- login() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- login() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Initializes and starts all shards.
- LOTTIE - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
The LOTTIE format.
- LOTTIE_CANNOT_CONTAIN_RASTERIZED_IMAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- LOW - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- lru(int) - Static method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Implementation using a Least-Recently-Used (LRU) cache strategy.
- LRUMemberCachePolicy - Class in net.dv8tion.jda.api.utils.cache
-
An implementation of a Least-Recently-Used cache.
- LRUMemberCachePolicy(int) - Constructor for class net.dv8tion.jda.api.utils.cache.LRUMemberCachePolicy
-
Creates a new instance of the LRU cache policy with the configured maximum capacity.
M
- MAJOR_PARAMETER_NAMES - Static variable in class net.dv8tion.jda.api.requests.Route
-
The known major parameters used for rate-limits.
- make(ScheduledExecutorService, long, TimeUnit, Function<? super DelayedCompletableFuture<E>, ? extends Runnable>) - Static method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
-
Creates a new DelayedCompletableFuture scheduled on the supplied executor.
- MANAGE_CHANNEL - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_EVENTS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_GUILD_EXPRESSIONS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_ROLES - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_SERVER - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.Permission
- Manager<M> - Interface in net.dv8tion.jda.api.managers
-
Top-level abstraction for managers.
- map(Function<? super T, ? extends O>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- map(Function<? super T, ? extends U>) - Method in class net.dv8tion.jda.api.utils.Result
-
Composite function to convert a result value to another value.
- MAP - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- mapToResult() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Converts the success and failure callbacks into a
Result
. - MARKDOWN - Static variable in enum net.dv8tion.jda.api.utils.TimeFormat
-
Pattern
used forTimeFormat.parse(String)
. - MarkdownSanitizer - Class in net.dv8tion.jda.api.utils
-
Implements an algorithm that can strip or replace markdown in any supplied string.
- MarkdownSanitizer() - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer(int, MarkdownSanitizer.SanitizationStrategy) - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer.SanitizationStrategy - Enum in net.dv8tion.jda.api.utils
- MarkdownUtil - Class in net.dv8tion.jda.api.utils
-
Utility class to escape markdown characters.
- maskedLink(String, String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Creates a masked link with the provided url as target.
- MAX_ACTIVE_THREADS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ACTIVITY_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Activity
-
Maximum length for an activity name
- MAX_ACTIVITY_STATE_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Activity
-
Maximum length for an activity state
- MAX_ALLOWLIST_CUSTOM_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of whitelisted keywords in
TriggerConfig.keywordFilter(String...)
. - MAX_ALLOWLIST_PRESET_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of whitelisted keywords in
TriggerConfig.presetKeywordFilter(KeywordPreset...)
. - MAX_ANIMATED_EMOJIS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ANNOUNCEMENT_THREADS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ANSWER_TEXT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Maximum length of a
MessagePollBuilder.addAnswer(String)
poll answer title} (55) - MAX_ANSWERS - Static variable in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Maximum amount of
poll answers
(10) - MAX_ATTACHMENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_BAN_FETCHES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_BITRATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CATEGORIES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CHANNEL_OVERRIDES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CHANNELS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CHOICE_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length of the name of Command Option Choice names
- MAX_CHOICE_VALUE_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length a
String value
for a choice can be. - MAX_CHOICES - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The total amount of
choices
you can set. - MAX_COMPONENT_COUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of
LayoutComponents
that can be added to a message (5) - MAX_COMPONENTS - Static variable in interface net.dv8tion.jda.api.interactions.modals.Modal
-
The maximum amount of components a Modal can have.
- MAX_CONTENT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of characters sendable in one message.
- MAX_CUSTOM_MESSAGE_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
The maximum length of a custom message.
- MAX_DAILY_APPLICATION_COMMAND_CREATES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_DESCRIPTION_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
Maximum length of a channel description (42)
- MAX_DESCRIPTION_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
-
The maximum length of a welcome screen description (140)
- MAX_DESCRIPTION_LENGTH - Static variable in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The maximum length a description can be (200)
- MAX_DESCRIPTION_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The maximum allowed length for an event's description.
- MAX_DESCRIPTION_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The maximum length the description of a command can be.
- MAX_DESCRIPTION_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length the description of an option can be.
- MAX_DESCRIPTION_LENGTH - Static variable in interface net.dv8tion.jda.api.utils.AttachedFile
-
The maximum length a
description
can be (1024). - MAX_DURATION_HOURS - Static variable in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Maximum
duration
of poll (168L) - MAX_EMBED_COUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of Embeds that can be added to one message (10)
- MAX_EMOJIS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_EXEMPT_CHANNELS - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of channels that can be added to
AutoModRule.getExemptChannels()
. - MAX_EXEMPT_ROLES - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of roles that can be added to
AutoModRule.getExemptRoles()
. - MAX_FIELD_AMOUNT - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum amount of total embed fields the embed can hold
- MAX_FILE_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of files sendable within a single message (10)
- MAX_FILE_SIZE - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum sendable file size (25 MiB)
- MAX_FORUM_TAGS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_FORUM_TOPIC_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
-
The maximum length of a forum topic (4096)
- MAX_FRIENDS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GROUP_DMS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILD_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILD_WIDGET_UPDATES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILDS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ID_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The maximum length a TextInput custom id can have.
- MAX_ID_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.modals.Modal
-
The maximum length a modal custom id can have.
- MAX_INVITES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_KEY_LENGTH - Static variable in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The maximum length a key can be (50)
- MAX_KEYWORD_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of keywords in
TriggerConfig.keywordFilter(String...)
. - MAX_KEYWORD_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum length of a keyword in
TriggerConfig.keywordFilter(String...)
. - MAX_LABEL_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The maximum length a TextInput label can have.
- MAX_LOCATION_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The maximum allowed length for an event's location.
- MAX_LOTTIE_ANIMATION_DIMENSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_MEMBERS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_MENTION_LIMIT - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum limit of mentions in
TriggerConfig.mentionSpam(int)
. - MAX_MESSAGE_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild message context commands
- MAX_MESSAGE_PINS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.Channel
-
The maximum length a channel name can be.
- MAX_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.forums.ForumTag
-
The maximum length of a forum tag name (20)
- MAX_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The maximum length a name can be (100)
- MAX_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.ScheduledEvent
-
The maximum allowed length for an event's name.
- MAX_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The maximum length the name of a command can be.
- MAX_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length the name of an option can be.
- MAX_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The maximum length the name of a choice can be.
- MAX_NON_GUILD_MEMBER_BANS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_NONCE_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum character length for a
nonce
(25) - MAX_OAUTH_APPS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_OLD_MESSAGE_EDITS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_OPTIONS - Static variable in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The maximum amount of options/subcommands/groups that can be added to a command or subcommand.
- MAX_PATTERN_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum amount of regex patterns in
TriggerConfig.patternFilter(String...)
. - MAX_PATTERN_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum length of a regex pattern in
TriggerConfig.patternFilter(String...)
. - MAX_PINNED_THREADS_IN_FORUM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_PLACEHOLDER_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The maximum length a TextInput placeholder can have.
- MAX_POSITIVE_NUMBER - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The highest positive amount Discord allows the
NUMBER
type to be. - MAX_POST_CONTAINER_TOPIC_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The maximum length of a forum / media channel topic (4096)
- MAX_POST_TAGS - Static variable in interface net.dv8tion.jda.api.entities.channel.attribute.IPostContainer
-
The maximum number of
tags
that can be applied to a forum post. - MAX_POST_TAGS - Static variable in interface net.dv8tion.jda.api.entities.channel.concrete.ForumChannel
-
The maximum number of
tags
that can be applied to a forum post. - MAX_PREMIUM_EMOJIS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_PRUNE_REQUESTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_QUESTION_TEXT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.messages.MessagePoll
-
Maximum length of a
poll question title
(300) - MAX_REACTIONS - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of reactions that can be added to one message (20)
- MAX_REASON_LENGTH - Static variable in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
The maximum length of an audit-log reason
- MAX_RECORDS - Static variable in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
The maximum number of records that can be configured (5)
- MAX_ROLES_PER_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_RULE_NAME_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.automod.AutoModRule
-
The maximum length of a rule name.
- MAX_SLASH_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild slash commands
- MAX_SLOWMODE - Static variable in interface net.dv8tion.jda.api.entities.channel.attribute.ISlowmodeChannel
-
The maximum duration of slowmode in seconds
- MAX_STATUS_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.attribute.IVoiceStatusChannel
-
The maximum length of a voice status 500
- MAX_STICKER_ANIMATION_DURATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKER_COUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of
Stickers
that can be added to a message (3) - MAX_STICKER_FPS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKER_FRAMES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKERS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STRING_OPTION_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length for a
String option
. - MAX_STRING_VALUE_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The maximum length the
STRING
value of a choice can be. - MAX_THREAD_PARTICIPANTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_TIME_OUT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Member
-
Maximum number of days a Member can be timed out for
- MAX_TITLE_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.modals.Modal
-
The maximum length a modal title can have.
- MAX_TOPIC_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.channel.middleman.StandardGuildMessageChannel
-
The maximum length a channel topic can be (1024)
Forum channels have a higher limit, defined byForumChannel.MAX_FORUM_TOPIC_LENGTH
- MAX_UNCOMPLETED_GUILD_SCHEDULED_EVENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_USER_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild user context commands
- MAX_USERLIMIT - Static variable in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
The maximum limit you can set with
AudioChannelManager.setUserLimit(int)
. - MAX_USERLIMIT - Static variable in interface net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel
-
The maximum limit you can set with
AudioChannelManager.setUserLimit(int)
. - MAX_USERS_PER_DM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_VALUE_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.text.TextInput
-
The maximum length a TextInput value can have.
- MAX_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_WELCOME_CHANNELS - Static variable in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
-
The maximum amount of welcome channel a welcome screen can show (5)
- MEDIA - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
MediaChannel
, Guild-Only. - MediaChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
A Media Channel which contains
Forum Posts
. - MediaChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality to modify a
MediaChannel
. - MEDIUM - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- Member - Interface in net.dv8tion.jda.api.entities
-
Represents a Guild-specific User.
- MEMBER - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- MEMBER_DEAF - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_MUTE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_NICK - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Member.getNickname()
value - MEMBER_OVERRIDES - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
IPermissionContainer.getMemberPermissionOverrides()
- MEMBER_PROFILE_KEYWORD - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The rule is triggered by a member profile containing specific keywords or phrases.
- MEMBER_ROLE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated the roles of a member.
- MEMBER_ROLES_ADD - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles added to
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_ROLES_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles removed from
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_TIME_OUT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Time out
of a Member. - MEMBER_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
Member
was either updated by an administrator or the member updated itself. - MEMBER_UPDATE - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
The rule is triggered when a member updates their profile.
- MEMBER_VOICE_KICK - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
One or more members were disconnected from a voice channel by an Administrator
- MEMBER_VOICE_MOVE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
One or more members were moved from one voice channel to another by an Administrator
- Member.MemberFlag - Enum in net.dv8tion.jda.api.entities
-
Member flags indicating information about the membership state.
- MemberAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow bots to addUsers
to Guilds. - MemberCachePolicy - Interface in net.dv8tion.jda.api.utils
-
Policy which decides whether a member (and respective user) should be kept in cache.
- MemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- MEMBERS_REMOVED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the amount of kicked members for that prune. - mention(Collection<? extends IMentionable>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- mention(Collection<? extends IMentionable>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- mention(Collection<? extends IMentionable>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
- mention(IMentionable...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
- MENTION_SPAM - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The rule is triggered by user message content containing more than the allowed number of mentions.
- MENTIONABLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
- MENTIONABLE - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the mentionable field
- MENTIONABLE_SELECT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu of users and roles
- mentionRepliedUser(boolean) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- mentionRepliedUser(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- mentionRepliedUser(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Whether to mention the user, when replying to a message.
- mentionRoles(long...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Roles
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionRoles(String...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Roles
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionRoles(Collection<String>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- mentionRoles(Collection<String>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- mentionRoles(Collection<String>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Roles
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - Mentions - Interface in net.dv8tion.jda.api.entities
-
Interface to access the mentions of various entities.
- MENTIONS_ONLY - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
- mentionsEveryone() - Method in interface net.dv8tion.jda.api.entities.Mentions
-
Indicates if everyone is mentioned, by either using
@everyone
or@here
. - mentionSpam(int) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on mention thresholds in messages.
- MentionSpamTriggerConfig - Class in net.dv8tion.jda.api.entities.automod.build
-
Configuration for
MENTION_SPAM
trigger. - MentionSpamTriggerConfig(int) - Constructor for class net.dv8tion.jda.api.entities.automod.build.MentionSpamTriggerConfig
- mentionUsers(long...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Users
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionUsers(String...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Users
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionUsers(Collection<String>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- mentionUsers(Collection<String>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- mentionUsers(Collection<String>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Used to provide a whitelist of
Users
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - message - Variable in class net.dv8tion.jda.api.requests.Response
- message(String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a message context menu command builder.
- Message - Interface in net.dv8tion.jda.api.entities
-
Represents a Text message received from Discord.
- MESSAGE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible message id for actions of type
ActionType.MESSAGE_PIN
andActionType.MESSAGE_UNPIN
. - MESSAGE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- MESSAGE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
- MESSAGE_ADD_REACTION - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_ATTACH_FILES - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_ATTACH_VOICE_MESSAGE - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_BLOCKED_BY_AUTOMOD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MESSAGE_BLOCKED_BY_HARMFUL_LINK_FILTER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MESSAGE_BULK_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has performed a bulk delete of messages in a channel
- MESSAGE_CONTENT - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
PRIVILEGED INTENT Access to message content.
- MESSAGE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A message was created.
- MESSAGE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted one or more
Messages
. - MESSAGE_EMBED_LINKS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_EXT_EMOJI - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_EXT_STICKER - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_HISTORY - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_MANAGE - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_MENTION_EVERYONE - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_PIN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pinned a message in the channel
- MESSAGE_SEND - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
The rule is triggered by a message being sent in a guild channel.
- MESSAGE_SEND - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_SEND_IN_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_SEND_POLLS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_SEND_TEMPORARILY_DISABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MESSAGE_TTS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_UNPIN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unpinned a message in the channel
- MESSAGE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A message was updated.
- MESSAGE_UPDATE - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Update the message for a component interaction
- Message.Attachment - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
file attachment. - Message.Interaction - Class in net.dv8tion.jda.api.entities
-
Represents an
Interaction
provided with aMessage
. - Message.MentionType - Enum in net.dv8tion.jda.api.entities
-
Mention constants, useful for use with
Patterns
- Message.MessageFlag - Enum in net.dv8tion.jda.api.entities
-
Enum representing the flags on a Message.
- MessageActivity - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
activity. - MessageActivity(MessageActivity.ActivityType, String, MessageActivity.Application) - Constructor for class net.dv8tion.jda.api.entities.MessageActivity
- MessageActivity.ActivityType - Enum in net.dv8tion.jda.api.entities
-
An enum representing
MessageActivity
types. - MessageActivity.Application - Class in net.dv8tion.jda.api.entities
-
Represents the
Application
of a MessageActivity, if it has been set. - MessageBulkDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a bulk deletion is executed in a
GuildMessageChannel
. - MessageBulkDeleteEvent(JDA, long, GuildMessageChannel, List<String>) - Constructor for class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
- MessageChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents a Discord channel that can have
Messages
and files sent to it. - MessageChannelUnion - Interface in net.dv8tion.jda.api.entities.channel.unions
-
A union representing all channel types that implement
MessageChannel
. - MessageContextInteraction - Interface in net.dv8tion.jda.api.interactions.commands.context
-
Interaction with a message context menu command
- MessageContextInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a message context command was used.
- MessageContextInteractionEvent(JDA, long, MessageContextInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent
- MessageCreateAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used for sending messages toMessageChannels
. - MessageCreateBuilder - Class in net.dv8tion.jda.api.utils.messages
-
Builder specialized for building a
MessageCreateData
. - MessageCreateBuilder() - Constructor for class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- MessageCreateData - Class in net.dv8tion.jda.api.utils.messages
-
Output of a
MessageCreateBuilder
and used for sending messages to channels/webhooks/interactions. - MessageCreateRequest<R> - Interface in net.dv8tion.jda.api.utils.messages
-
Specialized abstraction of setters and accumulators for creating messages throughout the API.
- MessageData - Interface in net.dv8tion.jda.api.utils.messages
-
Represents data relevant to all message requests.
- MessageDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was deleted in a
MessageChannel
. - MessageDeleteEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.MessageDeleteEvent
- MessageEditAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used for editing existing messages inMessageChannels
. - MessageEditBuilder - Class in net.dv8tion.jda.api.utils.messages
-
Builder specialized for building a
MessageEditData
. - MessageEditBuilder() - Constructor for class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- MessageEditCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A
InteractionCallbackAction
which can be used to edit the message for an interaction. - MessageEditData - Class in net.dv8tion.jda.api.utils.messages
-
Output of a
MessageEditRequest
and used for editing messages in channels/webhooks/interactions. - MessageEditRequest<R> - Interface in net.dv8tion.jda.api.utils.messages
-
Specialized abstraction of setters for editing existing messages throughout the API.
- MessageEmbed - Class in net.dv8tion.jda.api.entities
-
Represents an embed displayed by Discord.
- MessageEmbed(String, String, String, EmbedType, OffsetDateTime, int, MessageEmbed.Thumbnail, MessageEmbed.Provider, MessageEmbed.AuthorInfo, MessageEmbed.VideoInfo, MessageEmbed.Footer, MessageEmbed.ImageInfo, List<MessageEmbed.Field>) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed
- MessageEmbed.AuthorInfo - Class in net.dv8tion.jda.api.entities
-
Class that represents the author of content, possibly including an icon that Discord proxies.
- MessageEmbed.Field - Class in net.dv8tion.jda.api.entities
-
Represents a field in an embed.
- MessageEmbed.Footer - Class in net.dv8tion.jda.api.entities
-
Class that represents a footer at the bottom of an embed
- MessageEmbed.ImageInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed an image.
- MessageEmbed.Provider - Class in net.dv8tion.jda.api.entities
-
Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
- MessageEmbed.Thumbnail - Class in net.dv8tion.jda.api.entities
-
Represents the information Discord provided about a thumbnail image that should be displayed with an embed message.
- MessageEmbed.VideoInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed a video.
- MessageHistory - Class in net.dv8tion.jda.api.entities
-
Represents an access point to the
Message
history of aMessageChannel
. - MessageHistory(MessageChannel) - Constructor for class net.dv8tion.jda.api.entities.MessageHistory
-
Creates a new MessageHistory object.
- MessageHistory.MessageRetrieveAction - Class in net.dv8tion.jda.api.entities
-
Constructs a MessageHistory object with initially retrieved Messages before or after a certain pivot message id.
- MessagePaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the message history endpoint. - MessagePoll - Interface in net.dv8tion.jda.api.entities.messages
-
Poll sent with messages.
- MessagePoll.Answer - Class in net.dv8tion.jda.api.entities.messages
-
One of the answers for a poll.
- MessagePoll.LayoutType - Enum in net.dv8tion.jda.api.entities.messages
-
The poll layout.
- MessagePoll.Question - Class in net.dv8tion.jda.api.entities.messages
-
The question for a poll.
- MessagePollBuilder - Class in net.dv8tion.jda.api.utils.messages
-
Builder for
MessagePollData
- MessagePollBuilder(String) - Constructor for class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Create a new builder instance
- MessagePollBuilder(MessagePoll) - Constructor for class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Creates a new builder, initialized by the provided
MessagePoll
instance. - MessagePollData - Class in net.dv8tion.jda.api.utils.messages
-
A poll that can be attached to a
MessageCreateRequest
. - MessagePollData(MessagePoll.LayoutType, MessagePoll.Question, List<MessagePoll.Answer>, Duration, boolean) - Constructor for class net.dv8tion.jda.api.utils.messages.MessagePollData
- MessagePollVoteAddEvent - Class in net.dv8tion.jda.api.events.message.poll
-
Indicates that a user voted for a poll answer.
- MessagePollVoteAddEvent(MessageChannel, long, long, long, long) - Constructor for class net.dv8tion.jda.api.events.message.poll.MessagePollVoteAddEvent
- MessagePollVoteRemoveEvent - Class in net.dv8tion.jda.api.events.message.poll
-
Indicates that a user removed a vote for a poll answer.
- MessagePollVoteRemoveEvent(MessageChannel, long, long, long, long) - Constructor for class net.dv8tion.jda.api.events.message.poll.MessagePollVoteRemoveEvent
- MessageReaction - Class in net.dv8tion.jda.api.entities
-
An object representing a single MessageReaction from Discord.
- MessageReaction(JDA, MessageChannel, EmojiUnion, long, long, boolean[], int[]) - Constructor for class net.dv8tion.jda.api.entities.MessageReaction
-
Creates a new MessageReaction instance
- MessageReaction.ReactionType - Enum in net.dv8tion.jda.api.entities
-
Type of reaction.
- MessageReactionAddEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user added a reaction to a message
This includes unicode and custom emoji - MessageReactionAddEvent(JDA, long, User, Member, MessageReaction, long, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
- MessageReactionRemoveAllEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that the reactions of a message have been cleared by a moderator
- MessageReactionRemoveAllEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveAllEvent
- MessageReactionRemoveEmojiEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that all reactions for a specific emoji were removed by a moderator.
- MessageReactionRemoveEmojiEvent(JDA, long, long, MessageChannel, MessageReaction) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmojiEvent
- MessageReactionRemoveEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user removed the reaction on a message
- MessageReactionRemoveEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEvent
- MessageReceivedEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was received in a
MessageChannel
. - MessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageReceivedEvent
- MessageReference - Class in net.dv8tion.jda.api.entities
-
An object representing a reference in a Discord message.
- MessageReference(int, long, long, long, Message, JDA) - Constructor for class net.dv8tion.jda.api.entities.MessageReference
- MessageReference.MessageReferenceType - Enum in net.dv8tion.jda.api.entities
-
The type of message reference
- MessageRequest<R> - Interface in net.dv8tion.jda.api.utils.messages
-
Abstraction of the common setters used for messages in the API.
- Messages() - Constructor for class net.dv8tion.jda.api.requests.Route.Messages
- MessageSnapshot - Class in net.dv8tion.jda.api.entities.messages
-
Snapshot of a forwarded message.
- MessageSnapshot(MessageType, Mentions, OffsetDateTime, String, List<Message.Attachment>, List<MessageEmbed>, List<LayoutComponent>, List<StickerItem>, long) - Constructor for class net.dv8tion.jda.api.entities.messages.MessageSnapshot
- MessageType - Enum in net.dv8tion.jda.api.entities
-
Represents the different types of
Messages
that can be received from Discord. - MessageUpdateEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was edited in a
MessageChannel
. - MessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageUpdateEvent
- MetaData(int, int, int, int) - Constructor for class net.dv8tion.jda.api.entities.Guild.MetaData
- Method - Enum in net.dv8tion.jda.api.requests
-
Enum used to specify the HTTP method to use for a request.
- MFA_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the mfa level field
- MFA_NOT_ENABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MILAN - Enum constant in enum net.dv8tion.jda.api.Region
- MIN_NEGATIVE_NUMBER - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The largest negative amount Discord allows the
NUMBER
type to be. - minus(long) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the past relative to the current timestamp.
- minus(Duration) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the past relative to the current timestamp.
- Misc() - Constructor for class net.dv8tion.jda.api.requests.Route.Misc
- MiscUtil - Class in net.dv8tion.jda.api.utils
-
Utility methods for various aspects of the API.
- MiscUtil() - Constructor for class net.dv8tion.jda.api.utils.MiscUtil
- MISSING_ACCESS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_AVAILABLE_TAGS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_OAUTH_SCOPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MissingAccessException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that the user is missing the
VIEW_CHANNEL
, in addition toVOICE_CONNECT
permission ifChannel.getType()
is anaudio
type. - MissingAccessException(GuildChannel, Permission) - Constructor for exception class net.dv8tion.jda.api.exceptions.MissingAccessException
- MissingAccessException(GuildChannel, Permission, String) - Constructor for exception class net.dv8tion.jda.api.exceptions.MissingAccessException
- MIXED_PREMIUM_ROLES_FOR_EMOJI - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MOBILE - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
The official discord mobile app
- Modal - Interface in net.dv8tion.jda.api.interactions.modals
-
Represents a Discord Modal
- MODAL - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Respond with a modal
- MODAL_SUBMIT - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- Modal.Builder - Class in net.dv8tion.jda.api.interactions.modals
-
A preconfigured builder for the creation of modals.
- ModalCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
An
InteractionCallbackAction
that can be used to send Modals. - ModalInteraction - Interface in net.dv8tion.jda.api.interactions.modals
-
Interaction on a
Modal
- ModalInteractionEvent - Class in net.dv8tion.jda.api.events.interaction
-
Indicates that a
Modal
was submitted. - ModalInteractionEvent(JDA, long, ModalInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
- ModalMapping - Class in net.dv8tion.jda.api.interactions.modals
-
ID/Value pair for a
ModalInteractionEvent
. - ModalMapping(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.modals.ModalMapping
- MODERATE_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- MODIFY_APPLICATION_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- MODIFY_CHANNEL - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- MODIFY_CHANNELS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_EMOJI - Static variable in class net.dv8tion.jda.api.requests.Route.Emojis
- MODIFY_GUILD - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_GUILD_EMBED - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_GUILD_STICKER - Static variable in class net.dv8tion.jda.api.requests.Route.Stickers
- MODIFY_INTEGRATION - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_PERM_OVERRIDE - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- MODIFY_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Roles
- MODIFY_ROLES - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_SCHEDULED_EVENT - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_SELF - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- MODIFY_SELF - Static variable in class net.dv8tion.jda.api.requests.Route.Self
- MODIFY_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- MODIFY_TOKEN_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- MODIFY_WEBHOOK - Static variable in class net.dv8tion.jda.api.requests.Route.Webhooks
- MODIFY_WELCOME_SCREEN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- modifyAutoModRuleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns an
AutoModRuleManager
, which can be used to modify the rule for the provided id. - modifyAutoModRuleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns an
AutoModRuleManager
, which can be used to modify the rule for the provided id. - modifyCategoryPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getCategories()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyFlags(Collection<Member.MemberFlag>) - Method in interface net.dv8tion.jda.api.entities.Member
-
Updates the flags to the new flag set.
- modifyMemberRoles(Member, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Collection<Role>, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyNickname(String) - Method in interface net.dv8tion.jda.api.entities.Member
-
Changes this Member's nickname in this guild.
- modifyNickname(Member, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Changes the Member's nickname in this guild.
- modifyRolePositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyRolePositions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyStatus(String) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IVoiceStatusChannel
-
Change the current voice channel status.
- modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Modifies the positional order of this Category's nested
TextChannels
andNewsChannels
. - modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getTextChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyTextChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getTextChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedTextChannels
of thisCategory
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.Category
-
Modifies the positional order of this Category's nested
VoiceChannels
andStageChannels
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getVoiceChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyVoiceChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getVoiceChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedVoiceChannels
of thisCategory
. - modifyWelcomeScreen() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Manager
for this guild's welcome screen, used to modify properties of the welcome screen like if the welcome screen is enabled, the description and welcome channels. - MONO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "`Hello`"
- MONO_TWO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "``Hello``"
- monospace(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing monospace (single backtick) regions in the input and applies monospace formatting to the entire string.
- moveAbove(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity above the specified target entity.
- moveBelow(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity below the specified target entity.
- moveDown(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions DOWN in order by pushing all entities up by one position. - moveTo(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity to the specified position (0 based index).
- moveUp(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions UP in order by pushing all entities down by one position. - moveVoiceMember(Member, AudioChannel) - Method in interface net.dv8tion.jda.api.entities.Guild
- mute(boolean) - Method in interface net.dv8tion.jda.api.entities.Member
-
Sets the Guild Muted state state of this Member based on the provided boolean.
- mute(UserSnowflake, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sets the Guild Muted state of the
Member
based on the provided boolean.
N
- NAME - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The name of the channel.
- NAME - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the name field.
- NAME - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Used to reset name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.TemplateManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the name field
- net.dv8tion.jda.annotations - package net.dv8tion.jda.annotations
-
Annotations used for documentation.
- net.dv8tion.jda.api - package net.dv8tion.jda.api
-
The API features of JDA.
- net.dv8tion.jda.api.audio - package net.dv8tion.jda.api.audio
-
The audio API for Discord.
- net.dv8tion.jda.api.audio.factory - package net.dv8tion.jda.api.audio.factory
-
Audio send factories that can be implemented to generate custom audio send packages to be provided to Discord.
- net.dv8tion.jda.api.audio.hooks - package net.dv8tion.jda.api.audio.hooks
-
Listeners that can be used to monitor the
ConnectionStatus
or ping of an existing audio connection. - net.dv8tion.jda.api.audit - package net.dv8tion.jda.api.audit
-
Implementation for
AuditLogEntry
and all utilities needed for its structure. - net.dv8tion.jda.api.entities - package net.dv8tion.jda.api.entities
-
Entities representing Discord API objects like Users and Channels
- net.dv8tion.jda.api.entities.automod - package net.dv8tion.jda.api.entities.automod
-
Types and enums related to AutoMod.
- net.dv8tion.jda.api.entities.automod.build - package net.dv8tion.jda.api.entities.automod.build
-
Configurations for AutoMod rules and triggers.
- net.dv8tion.jda.api.entities.channel - package net.dv8tion.jda.api.entities.channel
-
Top-level abstractions related to Discord channel types.
- net.dv8tion.jda.api.entities.channel.attribute - package net.dv8tion.jda.api.entities.channel.attribute
-
Marker interfaces for specific channel features.
- net.dv8tion.jda.api.entities.channel.concrete - package net.dv8tion.jda.api.entities.channel.concrete
-
Concrete channel types in Discord.
- net.dv8tion.jda.api.entities.channel.forums - package net.dv8tion.jda.api.entities.channel.forums
-
Types relevant for forum channels and forum posts.
- net.dv8tion.jda.api.entities.channel.middleman - package net.dv8tion.jda.api.entities.channel.middleman
-
Abstractions for higher-level features in channels, such as sending messages or audio.
- net.dv8tion.jda.api.entities.channel.unions - package net.dv8tion.jda.api.entities.channel.unions
-
Union types used for simple casting to more concrete types.
- net.dv8tion.jda.api.entities.emoji - package net.dv8tion.jda.api.entities.emoji
-
Types relating to unicode and custom emoji as used in the API.
- net.dv8tion.jda.api.entities.messages - package net.dv8tion.jda.api.entities.messages
- net.dv8tion.jda.api.entities.sticker - package net.dv8tion.jda.api.entities.sticker
-
Types relevant for custom guild stickers and nitro stickers.
- net.dv8tion.jda.api.entities.templates - package net.dv8tion.jda.api.entities.templates
-
Types relevant for guild templates.
- net.dv8tion.jda.api.events - package net.dv8tion.jda.api.events
-
The core events that are fired by this library, informing the end-user about the state of the current JDA instance.
- net.dv8tion.jda.api.events.automod - package net.dv8tion.jda.api.events.automod
-
Events related to the configuration of AutoMod rules or AutoMod rules being triggered.
- net.dv8tion.jda.api.events.channel - package net.dv8tion.jda.api.events.channel
-
Events indicating that a new channel (MessageChannel / GuildChannel) was either modified, created or deleted.
- net.dv8tion.jda.api.events.channel.forum - package net.dv8tion.jda.api.events.channel.forum
-
Events related to forum tags.
- net.dv8tion.jda.api.events.channel.forum.update - package net.dv8tion.jda.api.events.channel.forum.update
-
Events related to forum tags being modified.
- net.dv8tion.jda.api.events.channel.update - package net.dv8tion.jda.api.events.channel.update
-
Events indicating that a specific channel property was updated.
- net.dv8tion.jda.api.events.emoji - package net.dv8tion.jda.api.events.emoji
-
Events that track
added emojis
andremoved emojis
. - net.dv8tion.jda.api.events.emoji.update - package net.dv8tion.jda.api.events.emoji.update
-
Events that track updates for existing
Custom Emojis
- net.dv8tion.jda.api.events.entitlement - package net.dv8tion.jda.api.events.entitlement
-
Events that indicate that a
Entitlement
is either created, updated, or deleted. - net.dv8tion.jda.api.events.guild - package net.dv8tion.jda.api.events.guild
-
Events for the state of
Guilds
such as whether the current logged in account joins/leaves a Guild. - net.dv8tion.jda.api.events.guild.invite - package net.dv8tion.jda.api.events.guild.invite
-
Events relating to invites being created or deleted in a guild.
- net.dv8tion.jda.api.events.guild.member - package net.dv8tion.jda.api.events.guild.member
- net.dv8tion.jda.api.events.guild.member.update - package net.dv8tion.jda.api.events.guild.member.update
-
Events for
Member
updates. - net.dv8tion.jda.api.events.guild.override - package net.dv8tion.jda.api.events.guild.override
-
Events for
PermissionOverride
updates. - net.dv8tion.jda.api.events.guild.scheduledevent - package net.dv8tion.jda.api.events.guild.scheduledevent
-
Gateway events for
ScheduledEvents
. - net.dv8tion.jda.api.events.guild.scheduledevent.update - package net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Events for
ScheduleEvent
updates. - net.dv8tion.jda.api.events.guild.update - package net.dv8tion.jda.api.events.guild.update
-
Events indicating that a setting for a
Guild
has been updated. - net.dv8tion.jda.api.events.guild.voice - package net.dv8tion.jda.api.events.guild.voice
- net.dv8tion.jda.api.events.http - package net.dv8tion.jda.api.events.http
-
Events fired in the context of HTTP requests being processed.
- net.dv8tion.jda.api.events.interaction - package net.dv8tion.jda.api.events.interaction
-
Abstractions for interaction events.
- net.dv8tion.jda.api.events.interaction.command - package net.dv8tion.jda.api.events.interaction.command
-
Interaction events related to application commands.
- net.dv8tion.jda.api.events.interaction.component - package net.dv8tion.jda.api.events.interaction.component
-
Interaction events related to message components.
- net.dv8tion.jda.api.events.message - package net.dv8tion.jda.api.events.message
-
Events that are fired for
Messages
in aMessageChannel
. - net.dv8tion.jda.api.events.message.poll - package net.dv8tion.jda.api.events.message.poll
- net.dv8tion.jda.api.events.message.react - package net.dv8tion.jda.api.events.message.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.api.events.role - package net.dv8tion.jda.api.events.role
-
Events that indicate that a
Role
is either created or deleted. - net.dv8tion.jda.api.events.role.update - package net.dv8tion.jda.api.events.role.update
-
Events that indicate that a
Role
has been updated with a new setting. - net.dv8tion.jda.api.events.self - package net.dv8tion.jda.api.events.self
-
Events indicating that one of the currently logged in account's settings has been modified.
- net.dv8tion.jda.api.events.session - package net.dv8tion.jda.api.events.session
-
Events about the current gateway connection state.
- net.dv8tion.jda.api.events.stage - package net.dv8tion.jda.api.events.stage
-
Events indicating when a stage instance is created or deleted.
- net.dv8tion.jda.api.events.stage.update - package net.dv8tion.jda.api.events.stage.update
-
Events for stage instance updates.
- net.dv8tion.jda.api.events.sticker - package net.dv8tion.jda.api.events.sticker
-
Events that track
added stickers
andremoved stickers
. - net.dv8tion.jda.api.events.sticker.update - package net.dv8tion.jda.api.events.sticker.update
-
Events that track updates for existing
GuildStickers
. - net.dv8tion.jda.api.events.thread - package net.dv8tion.jda.api.events.thread
-
Events related to thread visibility.
- net.dv8tion.jda.api.events.thread.member - package net.dv8tion.jda.api.events.thread.member
-
Events related to updates of the thread member list.
- net.dv8tion.jda.api.events.user - package net.dv8tion.jda.api.events.user
-
Events that indicate that a
User
presence has been updated, such as its avatar or game. - net.dv8tion.jda.api.events.user.update - package net.dv8tion.jda.api.events.user.update
-
Events related to user updates, such as the name or avatar.
- net.dv8tion.jda.api.exceptions - package net.dv8tion.jda.api.exceptions
-
All custom exceptions of the JDA library
- net.dv8tion.jda.api.hooks - package net.dv8tion.jda.api.hooks
-
EventManager and EventListener implementations and interfaces.
- net.dv8tion.jda.api.interactions - package net.dv8tion.jda.api.interactions
-
Abstractions for interaction types.
- net.dv8tion.jda.api.interactions.callbacks - package net.dv8tion.jda.api.interactions.callbacks
-
Types of interaction responses, like message replies or message edits.
- net.dv8tion.jda.api.interactions.commands - package net.dv8tion.jda.api.interactions.commands
-
Abstractions for application commands and related interactions.
- net.dv8tion.jda.api.interactions.commands.build - package net.dv8tion.jda.api.interactions.commands.build
-
Types and utilities for building application commands.
- net.dv8tion.jda.api.interactions.commands.context - package net.dv8tion.jda.api.interactions.commands.context
-
Interactions related to context menus.
- net.dv8tion.jda.api.interactions.commands.localization - package net.dv8tion.jda.api.interactions.commands.localization
-
Utilities for localization of application commands.
- net.dv8tion.jda.api.interactions.commands.privileges - package net.dv8tion.jda.api.interactions.commands.privileges
-
Types related to application command privileges, often referred to as command permissions.
- net.dv8tion.jda.api.interactions.components - package net.dv8tion.jda.api.interactions.components
-
Abstraction types for message and modal components.
- net.dv8tion.jda.api.interactions.components.buttons - package net.dv8tion.jda.api.interactions.components.buttons
-
Button components.
- net.dv8tion.jda.api.interactions.components.selections - package net.dv8tion.jda.api.interactions.components.selections
-
Select menu components, also known as dropdowns.
- net.dv8tion.jda.api.interactions.components.text - package net.dv8tion.jda.api.interactions.components.text
-
Text input components.
- net.dv8tion.jda.api.interactions.modals - package net.dv8tion.jda.api.interactions.modals
-
Modals used for interactions.
- net.dv8tion.jda.api.managers - package net.dv8tion.jda.api.managers
-
Managers that allow to modify (PATCH) existing entities with either an update task or atomic setters.
- net.dv8tion.jda.api.managers.channel - package net.dv8tion.jda.api.managers.channel
-
Top-level channel manager.
- net.dv8tion.jda.api.managers.channel.attribute - package net.dv8tion.jda.api.managers.channel.attribute
-
Channel managers for specific attributes or channel features.
- net.dv8tion.jda.api.managers.channel.concrete - package net.dv8tion.jda.api.managers.channel.concrete
-
Concrete channel manager types for actual channel types.
- net.dv8tion.jda.api.managers.channel.middleman - package net.dv8tion.jda.api.managers.channel.middleman
-
Channel managers for higher level channel features, such as audio related settings.
- net.dv8tion.jda.api.requests - package net.dv8tion.jda.api.requests
-
Discord API communication features.
- net.dv8tion.jda.api.requests.restaction - package net.dv8tion.jda.api.requests.restaction
-
Extensions of
RestAction
that can be used to operate on a specific case before executing the request. - net.dv8tion.jda.api.requests.restaction.interactions - package net.dv8tion.jda.api.requests.restaction.interactions
-
RestAction types related to interaction responses.
- net.dv8tion.jda.api.requests.restaction.order - package net.dv8tion.jda.api.requests.restaction.order
-
RestAction
extensions specifically designed to change the order of discord entities. - net.dv8tion.jda.api.requests.restaction.pagination - package net.dv8tion.jda.api.requests.restaction.pagination
-
Extensions of
RestAction
that allow to access paginated discord endpoints like the message history of aMessageChannel
. - net.dv8tion.jda.api.sharding - package net.dv8tion.jda.api.sharding
-
Implementations for
ShardManager
which enable auto-sharding. - net.dv8tion.jda.api.utils - package net.dv8tion.jda.api.utils
-
Package which contains all utilities for the JDA library.
- net.dv8tion.jda.api.utils.cache - package net.dv8tion.jda.api.utils.cache
-
Interfaces for read-only access to internal JDA cache.
- net.dv8tion.jda.api.utils.concurrent - package net.dv8tion.jda.api.utils.concurrent
-
Implementations for threading related functionality such as Thread-Factories.
- net.dv8tion.jda.api.utils.data - package net.dv8tion.jda.api.utils.data
-
Serialization features used for communication with Discord.
- net.dv8tion.jda.api.utils.data.etf - package net.dv8tion.jda.api.utils.data.etf
-
Utility classes to decode and encode Erlang External Term Format (ETF)
- net.dv8tion.jda.api.utils.messages - package net.dv8tion.jda.api.utils.messages
-
Utilities for message building and formatting.
- NEW_FLOAT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- newChannel(ChannelType, String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates a new
ChannelData
instance and adds it to this GuildAction. - NEWLINE - Static variable in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Splits on newline characters.
- newLongMap() - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Generates a new thread-safe
TLongObjectMap
- newRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates and add a new
RoleData
object representing a Role for the resulting Guild. - NEWS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
NewsChannel
, Guild-Only. - NewsChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents
StandardGuildMessageChannel
that are News Channels. - NewsChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing methods to modify a
NewsChannel
. - next() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- next() - Method in class net.dv8tion.jda.api.utils.LockIterator
- NICKNAME_CHANGE - Enum constant in enum net.dv8tion.jda.api.Permission
- NICKNAME_MANAGE - Enum constant in enum net.dv8tion.jda.api.Permission
- NIL - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- NO_ROLE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- NO_USER_WITH_TAG_EXISTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The default tier.
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite does not have a target type,
Invite.getTarget()
will returnnull
. - NONE - Enum constant in enum net.dv8tion.jda.api.utils.Compression
-
Don't use any compression
- NONE - Static variable in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Do not chunk any guilds (lazy loading)
- NONE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Disable all member caching
- NORMAL - Enum constant in enum net.dv8tion.jda.api.entities.MessageReaction.ReactionType
- NORMAL - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Normal characters that are not special for markdown, ignoring this has no effect
- NORWEGIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- NOT_AUTHENTICATED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- NOT_AUTHORIZED_PERFORM_ACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOT_CONNECTED - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that there is no open connection or that the connection was closed by choice, not by error.
- NOT_VERIFIED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOTE_TOO_LONG - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOTIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the default notification level field
- NOTIFICATIONS_SUPPRESSED - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this message will not trigger push and desktop notifications
- now() - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.atTimestamp(System.currentTimeMillis())
. - NSFW - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The NSFW state of the channel.
- NSFW - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the nsfw field
- NULL - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- NUMBER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
O
- OAUTH_NOT_BOT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- OBJECT - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- of(String, String) - Static method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Creates a new SelectOption instance.
- of(Collection<? extends ItemComponent>) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Create one row of
components
. - of(Activity.ActivityType, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- of(Activity.ActivityType, String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- of(StandardGuildChannel, String) - Static method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
Constructs a new welcome channel.
- of(StandardGuildChannel, String, Emoji) - Static method in interface net.dv8tion.jda.api.entities.GuildWelcomeScreen.Channel
-
Constructs a new welcome channel.
- of(ButtonStyle, String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Create a button with the provided
style
, URL or ID, and label. - of(ButtonStyle, String, String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- of(ButtonStyle, String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- of(ItemComponent...) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Create one row of
components
. - OFF - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- OFFLINE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that a member is currently offline or invisible (grey circle)
- ofType(Class<C>) - Method in interface net.dv8tion.jda.api.utils.cache.ChannelCacheView
-
Creates a decorator around this cache, filtered to only provide access to the given type.
- ofType(Class<C>) - Method in interface net.dv8tion.jda.api.utils.cache.SortedChannelCacheView
- onApplicationCommandUpdatePrivileges(ApplicationCommandUpdatePrivilegesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onApplicationUpdatePrivileges(ApplicationUpdatePrivilegesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onAutoModExecution(AutoModExecutionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onAutoModRuleCreate(AutoModRuleCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onAutoModRuleDelete(AutoModRuleDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onAutoModRuleUpdate(AutoModRuleUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onButtonInteraction(ButtonInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCancelled() - Method in class net.dv8tion.jda.api.requests.Request
- Once<E> - Class in net.dv8tion.jda.api.utils
-
Helper class to listen to an event, once.
- Once.Builder<E> - Class in net.dv8tion.jda.api.utils
-
Builds a one-time event listener, can be reused.
- onChannelCreate(ChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelDelete(ChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateAppliedTags(ChannelUpdateAppliedTagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateArchived(ChannelUpdateArchivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateArchiveTimestamp(ChannelUpdateArchiveTimestampEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateAutoArchiveDuration(ChannelUpdateAutoArchiveDurationEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateBitrate(ChannelUpdateBitrateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateDefaultLayout(ChannelUpdateDefaultLayoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateDefaultReaction(ChannelUpdateDefaultReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateDefaultSortOrder(ChannelUpdateDefaultSortOrderEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateDefaultThreadSlowmode(ChannelUpdateDefaultThreadSlowmodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateFlags(ChannelUpdateFlagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateInvitable(ChannelUpdateInvitableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateLocked(ChannelUpdateLockedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateName(ChannelUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateNSFW(ChannelUpdateNSFWEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateParent(ChannelUpdateParentEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdatePosition(ChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateRegion(ChannelUpdateRegionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateSlowmode(ChannelUpdateSlowmodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateTopic(ChannelUpdateTopicEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateType(ChannelUpdateTypeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateUserLimit(ChannelUpdateUserLimitEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateVoiceStatus(ChannelUpdateVoiceStatusEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChar(char) - Static method in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Strategy to split on the provided character.
- onChar(Predicate<Character>) - Static method in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Strategy to split on the provided character tests.
- onCommandAutoCompleteInteraction(CommandAutoCompleteInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onConnectionError(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate a connection error to JDA so that the connection can be properly shutdown.
- onConnectionLost() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate to JDA that the UDP connection has been lost, whether that be due internet loss or some other unknown reason.
- onEmojiAdded(EmojiAddedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmojiRemoved(EmojiRemovedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmojiUpdateName(EmojiUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmojiUpdateRoles(EmojiUpdateRolesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEntitlementCreate(EntitlementCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEntitlementDelete(EntitlementDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEntitlementUpdate(EntitlementUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEntitySelectInteraction(EntitySelectInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onError(Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Provide a callback for exception handling.
- onErrorFlatMap(Function<? super Throwable, ? extends RestAction<? extends T>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a any reason.
- onErrorFlatMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends RestAction<? extends T>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a specific reason.
- onErrorMap(Function<? super Throwable, ? extends T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for any reason.
- onErrorMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a specific reason.
- onEvent(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.EventListener
-
Handles any
GenericEvent
. - onEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEvent(GenericEvent) - Method in class net.dv8tion.jda.api.utils.Once
- onException(ExceptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onFailure(Throwable) - Method in class net.dv8tion.jda.api.requests.Request
- onFailure(Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.utils.Result
-
Passive error handler.
- onFailure(Response) - Method in class net.dv8tion.jda.api.requests.Request
- onForumTagAdd(ForumTagAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onForumTagRemove(ForumTagRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onForumTagUpdateEmoji(ForumTagUpdateEmojiEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onForumTagUpdateModerated(ForumTagUpdateModeratedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onForumTagUpdateName(ForumTagUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGatewayPing(GatewayPingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericAutoCompleteInteraction(GenericAutoCompleteInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericAutoModRule(GenericAutoModRuleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericChannel(GenericChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericChannelUpdate(GenericChannelUpdateEvent<?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericCommandInteraction(GenericCommandInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericComponentInteractionCreate(GenericComponentInteractionCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericContextInteraction(GenericContextInteractionEvent<?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmoji(GenericEmojiEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmojiUpdate(GenericEmojiUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEntitlement(GenericEntitlementEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericForumTag(GenericForumTagEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericForumTagUpdate(GenericForumTagUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuild(GenericGuildEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildInvite(GenericGuildInviteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMember(GenericGuildMemberEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMemberUpdate(GenericGuildMemberUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildSticker(GenericGuildStickerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildStickerUpdate(GenericGuildStickerUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildUpdate(GenericGuildUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildVoice(GenericGuildVoiceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericInteractionCreate(GenericInteractionCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessage(GenericMessageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessagePollVote(GenericMessagePollVoteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessageReaction(GenericMessageReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericPermissionOverride(GenericPermissionOverrideEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericPrivilegeUpdate(GenericPrivilegeUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRole(GenericRoleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRoleUpdate(GenericRoleUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericScheduledEventGateway(GenericScheduledEventGatewayEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericScheduledEventUpdate(GenericScheduledEventUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericScheduledEventUser(GenericScheduledEventUserEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericSelectMenuInteraction(GenericSelectMenuInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericSelfUpdate(GenericSelfUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericSession(GenericSessionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStageInstance(GenericStageInstanceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStageInstanceUpdate(GenericStageInstanceUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericThread(GenericThreadEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericThreadMember(GenericThreadMemberEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUpdate(UpdateEvent<?, ?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUser(GenericUserEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUserPresence(GenericUserPresenceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUserUpdate(GenericUserUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildAuditLogEntryCreate(GuildAuditLogEntryCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildAvailable(GuildAvailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildBan(GuildBanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildInviteCreate(GuildInviteCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildInviteDelete(GuildInviteDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildJoin(GuildJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildLeave(GuildLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberJoin(GuildMemberJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRemove(GuildMemberRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleAdd(GuildMemberRoleAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleRemove(GuildMemberRoleRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdate(GuildMemberUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateAvatar(GuildMemberUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateBoostTime(GuildMemberUpdateBoostTimeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateFlags(GuildMemberUpdateFlagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateNickname(GuildMemberUpdateNicknameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdatePending(GuildMemberUpdatePendingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateTimeOut(GuildMemberUpdateTimeOutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildReady(GuildReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerAdded(GuildStickerAddedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerRemoved(GuildStickerRemovedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerUpdateAvailable(GuildStickerUpdateAvailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerUpdateDescription(GuildStickerUpdateDescriptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerUpdateName(GuildStickerUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildStickerUpdateTags(GuildStickerUpdateTagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildTimeout(GuildTimeoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnavailable(GuildUnavailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnban(GuildUnbanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkChannel(GuildUpdateAfkChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkTimeout(GuildUpdateAfkTimeoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBanner(GuildUpdateBannerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostCount(GuildUpdateBoostCountEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostTier(GuildUpdateBoostTierEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateCommunityUpdatesChannel(GuildUpdateCommunityUpdatesChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateDescription(GuildUpdateDescriptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateExplicitContentLevel(GuildUpdateExplicitContentLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateFeatures(GuildUpdateFeaturesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateIcon(GuildUpdateIconEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateLocale(GuildUpdateLocaleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxMembers(GuildUpdateMaxMembersEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxPresences(GuildUpdateMaxPresencesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMFALevel(GuildUpdateMFALevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateName(GuildUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateNotificationLevel(GuildUpdateNotificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateNSFWLevel(GuildUpdateNSFWLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateOwner(GuildUpdateOwnerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateRulesChannel(GuildUpdateRulesChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSafetyAlertsChannel(GuildUpdateSafetyAlertsChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSplash(GuildUpdateSplashEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSystemChannel(GuildUpdateSystemChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVanityCode(GuildUpdateVanityCodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVerificationLevel(GuildUpdateVerificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceDeafen(GuildVoiceDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildDeafen(GuildVoiceGuildDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildMute(GuildVoiceGuildMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceMute(GuildVoiceMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceRequestToSpeak(GuildVoiceRequestToSpeakEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfDeafen(GuildVoiceSelfDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfMute(GuildVoiceSelfMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceStream(GuildVoiceStreamEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSuppress(GuildVoiceSuppressEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceUpdate(GuildVoiceUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceVideo(GuildVoiceVideoEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onHttpRequest(HttpRequestEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- ONLINE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently online (green circle)
- ONLINE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache online/idle/dnd users.
- ONLINE_STATUS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getOnlineStatus()
This is enabled implicitly byCacheFlag.ACTIVITY
andCacheFlag.CLIENT_STATUS
. - OnlineStatus - Enum in net.dv8tion.jda.api
-
Represents the online presence of a
Member
. - ONLY_BOTS_ALLOWED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- onMemberProfile(String, TriggerConfig) - Static method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Create a new
AutoModRule
which triggers on a member profile being updated. - onMessage(String, TriggerConfig) - Static method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Create a new
AutoModRule
which triggers on a message being sent in a channel. - onMessageBulkDelete(MessageBulkDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageContextInteraction(MessageContextInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageDelete(MessageDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessagePollVoteAdd(MessagePollVoteAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessagePollVoteRemove(MessagePollVoteRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionAdd(MessageReactionAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemove(MessageReactionRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemoveAll(MessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemoveEmoji(MessageReactionRemoveEmojiEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReceived(MessageReceivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageUpdate(MessageUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onModalInteraction(ModalInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideCreate(PermissionOverrideCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideDelete(PermissionOverrideDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideUpdate(PermissionOverrideUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPing(long) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when JDA send a heartbeat packet to Discord and Discord sends an acknowledgement.
- onPing(long) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onRateLimited(Response) - Method in class net.dv8tion.jda.api.requests.Request
- onRawGateway(RawGatewayEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onReady(ReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleCreate(RoleCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleDelete(RoleDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateColor(RoleUpdateColorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateHoisted(RoleUpdateHoistedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateIcon(RoleUpdateIconEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateMentionable(RoleUpdateMentionableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateName(RoleUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePermissions(RoleUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePosition(RoleUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventCreate(ScheduledEventCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventDelete(ScheduledEventDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateDescription(ScheduledEventUpdateDescriptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateEndTime(ScheduledEventUpdateEndTimeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateImage(ScheduledEventUpdateImageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateLocation(ScheduledEventUpdateLocationEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateName(ScheduledEventUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateStartTime(ScheduledEventUpdateStartTimeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUpdateStatus(ScheduledEventUpdateStatusEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUserAdd(ScheduledEventUserAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onScheduledEventUserRemove(ScheduledEventUserRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateAvatar(SelfUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateDiscriminator(SelfUpdateDiscriminatorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateGlobalName(SelfUpdateGlobalNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateMFA(SelfUpdateMFAEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateName(SelfUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateVerified(SelfUpdateVerifiedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSessionDisconnect(SessionDisconnectEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSessionInvalidate(SessionInvalidateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSessionRecreate(SessionRecreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSessionResume(SessionResumeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onShutdown(ShutdownEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSlashCommandInteraction(SlashCommandInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceCreate(StageInstanceCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceDelete(StageInstanceDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceUpdatePrivacyLevel(StageInstanceUpdatePrivacyLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceUpdateTopic(StageInstanceUpdateTopicEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStatusChange(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when the status of the audio channel changes.
- onStatusChange(ConnectionStatus) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onStatusChange(StatusChangeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStringSelectInteraction(StringSelectInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSuccess(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
An intermediate operator that returns a modified RestAction.
- onSuccess(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Provide a callback for success handling.
- onSuccess(Consumer<? super T>) - Method in class net.dv8tion.jda.api.utils.Result
-
Passive success handler.
- onSuccess(T) - Method in class net.dv8tion.jda.api.requests.Request
- onThreadHidden(ThreadHiddenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadMemberJoin(ThreadMemberJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadMemberLeave(ThreadMemberLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadRevealed(ThreadRevealedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTimeout() - Method in class net.dv8tion.jda.api.requests.Request
- onUnavailableGuildJoined(UnavailableGuildJoinedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUnavailableGuildLeave(UnavailableGuildLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityEnd(UserActivityEndEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityStart(UserActivityStartEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserContextInteraction(UserContextInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserSpeakingModeUpdate(User, EnumSet<SpeakingMode>) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is used to listen for users changing their speaking mode.
- onUserSpeakingModeUpdate(UserSnowflake, EnumSet<SpeakingMode>) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is used to listen for users changing their speaking mode.
- onUserSpeakingModeUpdate(UserSnowflake, EnumSet<SpeakingMode>) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onUserTyping(UserTypingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateActivities(UserUpdateActivitiesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateActivityOrder(UserUpdateActivityOrderEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateAvatar(UserUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateDiscriminator(UserUpdateDiscriminatorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateFlags(UserUpdateFlagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateGlobalName(UserUpdateGlobalNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateName(UserUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateOnlineStatus(UserUpdateOnlineStatusEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceServerUpdate(VoiceDispatchInterceptor.VoiceServerUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_SERVER_UPDATE.
- onVoiceStateUpdate(VoiceDispatchInterceptor.VoiceStateUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_STATE_UPDATE.
- OPEN_DM_TOO_FAST - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- openAudioConnection(AudioChannel) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Starts the process to create an audio connection with an
AudioChannel
or, if an audio connection is already open, JDA will move the connection to the provided AudioChannel. - openPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Opens a
PrivateChannel
with this User. - openPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Opens a
PrivateChannel
with the provided user by id. - openPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Opens a
PrivateChannel
with the provided user by id. - opt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves any type to the provided key.
- optArray() - Method in class net.dv8tion.jda.api.requests.Response
- optArray(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataArray to a key.
- optArray(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - optArray(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - Option(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Option
- OptionData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command option.
- OptionData(OptionType, String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionData(OptionType, String, String, boolean) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionData(OptionType, String, String, boolean, boolean) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionMapping - Class in net.dv8tion.jda.api.interactions.commands
-
Name/Value pair for a
CommandInteraction
option. - OptionMapping(DataObject, TLongObjectMap<Object>, JDA, Guild) - Constructor for class net.dv8tion.jda.api.interactions.commands.OptionMapping
- OPTIONS - Enum constant in enum net.dv8tion.jda.api.requests.Method
- OPTIONS_MAX_AMOUNT - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum amount of options a select menu can have
- OptionType - Enum in net.dv8tion.jda.api.interactions.commands
-
The available types for
Command
options. - optObject() - Method in class net.dv8tion.jda.api.requests.Response
- optObject(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataObject to a key.
- optObject(DataArray, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataArray
. - optObject(DataObject, String) - Static method in class net.dv8tion.jda.api.utils.data.DataPath
-
Parses the given
path
and finds the appropriate value within thisDataObject
. - OPUS_CHANNEL_COUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
We want to use stereo.
- OPUS_FRAME_SIZE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
An opus frame size of 960 at 48000hz represents 20 milliseconds of audio.
- OPUS_FRAME_TIME_AMOUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
This is 20 milliseconds.
- OPUS_SAMPLE_RATE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
(Hz) We want to use the highest of qualities! All the bandwidth!
- OpusPacket - Class in net.dv8tion.jda.api.audio
-
A raw OPUS packet received from Discord that can be used for lazy decoding.
- OpusPacket(AudioPacket, long, Decoder) - Constructor for class net.dv8tion.jda.api.audio.OpusPacket
- or(MemberCachePolicy) - Method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Convenience method to concatenate another policy.
- order(PaginationAction.PaginationOrder) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Configure the
PaginationAction.PaginationOrder
of this pagination action. - OrderAction<T,
M> - Interface in net.dv8tion.jda.api.requests.restaction.order -
Extension of
RestAction
- Type: Void that allows to modify the order of entities provided as anArrayList
. - OUTPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
Audio Output Format used by JDA.
- OVERRIDE_ALLOW - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw allowed permission bits
Similar to the value returned byPermissionOverride.getAllowedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_DENY - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw denied permission bits
Similar to the value returned byPermissionOverride.getDeniedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The string type of this override.
- OWNER - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Owners are the most permissible role, and can take destructive, irreversible actions like deleting team-owned apps or the team itself.
- OWNER - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache owner of the guild.
- OWNER_CANNOT_BE_PENDING - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- OWNER_ONLY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- OWNER_TRANSFER_TO_BOT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
P
- pack(Object) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermEncoder
-
Encodes the provided object into an ETF buffer.
- PaginationAction<T,
M> - Interface in net.dv8tion.jda.api.requests.restaction.pagination -
RestAction
specification used to retrieve entities for paginated endpoints (before, after, limit). - PaginationAction.PaginationIterator<E> - Class in net.dv8tion.jda.api.requests.restaction.pagination
-
Iterator implementation for a
PaginationAction
. - PaginationAction.PaginationOrder - Enum in net.dv8tion.jda.api.requests.restaction.pagination
-
Defines the pagination order for a pagination endpoint.
- PaginationIterator(Collection<E>, Supplier<List<E>>) - Constructor for class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- PARAGRAPH - Enum constant in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
- parallelStream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Returns a possibly parallel
Stream
with this PaginationAction as its source. - parallelStream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a parallel
Stream
of all cached elements. - parallelStreamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.parallelStream()
which does not preserve order. - PARENT - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The
parent
of the channel. - PARENT - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the parent field
- parse(String) - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Parses the provided markdown into a
Timestamp
instance. - parseLong(String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- parseSnowflake(String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- ParsingException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates a failure in parsing or deserializing data.
- ParsingException(Exception) - Constructor for exception class net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String) - Constructor for exception class net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String, Exception) - Constructor for exception class net.dv8tion.jda.api.exceptions.ParsingException
- partitionOf(Collection<? extends ItemComponent>) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Partitions the provided
components
into a list of ActionRow instances. - partitionOf(ItemComponent...) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Partitions the provided
components
into a list of ActionRow instances. - PARTNER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- Party(String, long, long) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Party
- patch(String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the with the
PATCH
method. - PATCH - Enum constant in enum net.dv8tion.jda.api.requests.Method
- patternFilter(String...) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on messages containing certain keywords regex patterns.
- patternFilter(Collection<String>) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on messages containing certain keywords regex patterns.
- PAYMENT_SOURCE_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- PENDING - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Caches members who haven't passed Membership Screening.
- Permission - Enum in net.dv8tion.jda.api
-
Represents the bit offsets used by Discord for Permissions.
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the permission field
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the permission field
- PermissionException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that the currently logged in account does not meet the specified
Permission
fromPermissionException.getPermission()
- PermissionException(String) - Constructor for exception class net.dv8tion.jda.api.exceptions.PermissionException
-
Creates a new PermissionException instance
- PermissionOverride - Interface in net.dv8tion.jda.api.entities
- PermissionOverride(long, long, long) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
- PermissionOverrideAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
AuditableRestAction
specifically designed to create aPermissionOverride
for aGuildChannel
. - PermissionOverrideCreateEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
in aguild channel
has been created. - PermissionOverrideCreateEvent(JDA, long, IPermissionContainer, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideCreateEvent
- PermissionOverrideDeleteEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
in aguild channel
has been deleted. - PermissionOverrideDeleteEvent(JDA, long, IPermissionContainer, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideDeleteEvent
- PermissionOverrideUpdateEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
in aguild channel
has been updated. - PermissionOverrideUpdateEvent(JDA, long, IPermissionContainer, PermissionOverride, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
- PERMISSIONS - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset all permissions to their original value
- PermOverrideManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
PermissionOverride
. - pin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to add the Message to the
MessageChannel's
pinned message list. - PING - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- pinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Used to pin a message.
- pinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Used to pin a message.
- PINNED - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
This is a forum post
ThreadChannel
which is pinned in theForumChannel
. - PINNED - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the pinned state field
- PLACEHOLDER_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum length a select menu placeholder can have
- PLAY - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- playing(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- PLAYING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asPlaying...
in the official client. - plus(long) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the future relative to the current timestamp.
- plus(Duration) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the future relative to the current timestamp.
- PNG - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
PNG
- PNG - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
The PNG format.
- POLISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- POLL_EXPIRED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- POLL_INVALID_CHANNEL_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- POLL_RESULT - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- POLL_RESULT - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a poll completed in the channel.
- POLL_VOTING_BLOCKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- POLL_WITH_UNUSABLE_EMOJI - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- PollVotersPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the votes for a poll answer. - PORTUGUESE_BRAZILIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- POSITION - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The position of this channel relative to other channels in the guild.
- POSITION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the position field
- post(String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the with the
POST
method. - POST - Enum constant in enum net.dv8tion.jda.api.requests.Method
- premium(SkuSnowflake) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
PREMIUM
Style. - PREMIUM - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Premium button style, usually in blurple and has a SKU attached
- PREMIUM_PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was claimed by user for free as a Nitro Subscriber
- PREMIUM_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Deprecated.Replaced with
Button.premium(SkuSnowflake)
, see the Discord change logs for more details. - PREMIUM_SUBSCRIPTION - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement for Discord Nitro subscription
- PremiumRequiredCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
Deprecated.Replaced with
Button.premium(SkuSnowflake)
see the Discord change logs for more details. - Presence - Interface in net.dv8tion.jda.api.managers
-
The Presence associated with the provided JDA instance
- presetKeywordFilter(Collection<AutoModRule.KeywordPreset>) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on keywords from predefined lists.
- presetKeywordFilter(AutoModRule.KeywordPreset...) - Static method in interface net.dv8tion.jda.api.entities.automod.build.TriggerConfig
-
Trigger on keywords from predefined lists.
- PresetKeywordTriggerConfig - Class in net.dv8tion.jda.api.entities.automod.build
-
Configuration for a
KEYWORD_PRESET
trigger. - primary(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
PRIMARY
Style. - primary(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
PRIMARY
Style. - PRIMARY - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Primary button style, usually in blue.
- PRIORITY - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- PRIORITY_SPEAKER - Enum constant in enum net.dv8tion.jda.api.Permission
- PRIVACY_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
StageInstance.getPrivacyLevel()
value
Use withStageInstance.PrivacyLevel.fromKey(int)
- PRIVACY_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Deprecated.Obsolete.
- PRIVATE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
- PrivateChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents the connection used for direct messaging.
- PrivilegeConfig - Class in net.dv8tion.jda.api.interactions.commands
-
A PrivilegeConfig is the collection of moderator defined
privileges
set on a specific application and its commands that define what channels the application can be used in and what users/roles are allowed to use it. - PrivilegeConfig(Guild, Map<String, List<IntegrationPrivilege>>) - Constructor for class net.dv8tion.jda.api.interactions.commands.PrivilegeConfig
- PrivilegeTargetType - Enum in net.dv8tion.jda.api.interactions.commands.privileges
-
Targets of a
GenericPrivilegeUpdateEvent
- Procedure<T> - Interface in net.dv8tion.jda.api.utils
-
Iteration procedure accepting one argument and returning whether to continue iteration.
- PROFANITY - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Words that can be considered as swearing or cursing.
- Profile(long, String, int) - Constructor for class net.dv8tion.jda.api.entities.User.Profile
- provide(int) - Method in class net.dv8tion.jda.api.sharding.ThreadPoolProvider.LazySharedProvider
-
Provides the initialized pool or the temporary pool if not initialized yet.
- provide(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Provides an instance of the specified executor, or null
- provide20MsAudio() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If
AudioSendHandler.canProvide()
returns true JDA will call this method in an attempt to retrieve audio data from the handler. - Provider(String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Provider
- PRUNABLE_COUNT - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- prune(int, boolean, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
This method will prune (kick) all members who were offline for at least days days.
- prune(int, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
This method will prune (kick) all members who were offline for at least days days.
- PRUNE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pruned members for inactivity.
- PRUNE_MEMBERS - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- pruneMemberCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Re-apply the
MemberCachePolicy
of this session to allMembers
of this Guild. - PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was purchased by user
- PURCHASE_NOTIFICATION - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when a user purchases a product sold in a guild
- purgeMessages(List<? extends Message>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessages(Message...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(long...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(String...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(List<String>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- put(String) - Static method in class net.dv8tion.jda.api.requests.Route
-
Create a route template for the with the
PUT
method. - put(String, Object) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a new value for the provided key.
- PUT - Enum constant in enum net.dv8tion.jda.api.requests.Method
- putMemberPermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified member with the provided raw bitmasks as allowed and denied permissions.
- putMemberPermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified member with the provided permission sets as allowed and denied permissions.
- putNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a null value for the provided key.
- putPermissionOverride(IPermissionHolder, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified
IPermissionHolder
with the provided raw bitmasks as allowed and denied permissions. - putPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified
IPermissionHolder
with the provided permission sets as allowed and denied permissions. - putResponses(Collection<? extends AutoModResponse>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Configure what the rule should do upon triggering.
- putResponses(AutoModResponse...) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Configure what the rule should do upon triggering.
- putRolePermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified role with the provided raw bitmasks as allowed and denied permissions.
- putRolePermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified role with the provided permission sets as allowed and denied permissions.
Q
- Question(String, Emoji) - Constructor for class net.dv8tion.jda.api.entities.messages.MessagePoll.Question
- queue() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queueAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - quote(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing quote regions in the input and applies quote formatting to the entire string.
- QUOTE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote region such as
"> text here"
- QUOTE_BLOCK - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote block region such as
">>> text here"
- quoteBlock(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Applies quote block formatting to the entire string.
R
- RATE_LIMITED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- RateLimitConfig(ScheduledExecutorService, ExecutorService, RestRateLimiter.GlobalRateLimit, boolean) - Constructor for class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
- RateLimitConfig(ScheduledExecutorService, RestRateLimiter.GlobalRateLimit, boolean) - Constructor for class net.dv8tion.jda.api.requests.RestRateLimiter.RateLimitConfig
- RateLimitedException - Exception Class in net.dv8tion.jda.api.exceptions
-
Indicates that we received a
429: Too Many Requests
response - RateLimitedException(String, long) - Constructor for exception class net.dv8tion.jda.api.exceptions.RateLimitedException
- RateLimitedException(Route.CompiledRoute, long) - Constructor for exception class net.dv8tion.jda.api.exceptions.RateLimitedException
- RawGatewayEvent - Class in net.dv8tion.jda.api.events
-
Wrapper for the raw dispatch event received from discord.
- RawGatewayEvent(JDA, long, DataObject) - Constructor for class net.dv8tion.jda.api.events.RawGatewayEvent
- REACTION_BLOCKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ReactionPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the reaction users endpoint. - READ_ONLY - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Members which can access information about a team and any team-owned apps.
- READY - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session is fully loaded, including all guilds.
- ReadyEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates that JDA finished loading all entities.
- ReadyEvent(JDA) - Constructor for class net.dv8tion.jda.api.events.session.ReadyEvent
- reason(String) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Applies the specified reason as audit-log reason field.
- reason(String) - Method in interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
- RECENT_ACTIVITY - Enum constant in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
Sort by recent activity, including unarchive, message, reaction, and thread creation.
- RECIPIENT_ADD - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been added to the Group.
- RECIPIENT_REMOVE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been removed from the Group.
- reconnect(AudioChannel) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
Requests to reconnect to the voice channel in the target guild.
- RECONNECT - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- RECONNECT_QUEUED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA session has been added to
SessionController
and is awaiting to be dequeued for reconnecting. - RECREATED - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session has been recreated after being
invalidated
. - REFERENCED_MESSSAGE_NOT_FOUND - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Region - Enum in net.dv8tion.jda.api
-
Represents the Regions used for Audio connections.
- REGION - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The region of the channel.
- REGION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the region field
- register(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- register(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - register(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - RELATIVE - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date and time as relative
18 minutes ago
or2 days ago
- REMAINING_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
The number of remaining requests that can be made
- remove(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the value at the specified index.
- remove(Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the specified value.
- remove(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Removes the value associated with the specified key.
- REMOVE - Enum constant in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Remove any format tokens that are not escaped or within a special region.
- REMOVE_ALL_REACTIONS - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- REMOVE_MEMBER_ROLE - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- REMOVE_PINNED_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- REMOVE_REACTION - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- REMOVE_THREAD_MEMBER - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- removeChannel(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the
ChannelData
at the specified index and returns the removed object. - removeChannel(GuildAction.ChannelData) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the provided
ChannelData
from this GuildAction if present. - removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.JDA
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListener(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes the provided listener provider from the list of listener providers.
- removeEventListenerProvider(IntFunction<Object>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove a listener provider.
- removeEventListenerProviders(Collection<IntFunction<Object>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listener providers from the list of listener providers.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Collection<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(IntFunction<Collection<Object>>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove listeners from shards by their id.
- removeFeatures(String...) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Removes a
Guild Feature
from the list of features. - removeFeatures(Collection<String>) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Removes a
Guild Feature
from the list of features. - removeOptionByName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes options by the provided name.
- removeOptionByName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Removes options by the provided name.
- removeOptions(Predicate<? super OptionData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes all options that evaluate to
true
under the providedcondition
. - removeOptions(Predicate<? super OptionData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Removes all options that evaluate to
true
under the providedcondition
. - removePermissionOverride(long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Removes the
PermissionOverride
for the specified member or role ID. - removePermissionOverride(long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided id.
- removePermissionOverride(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided id.
- removePermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Removes the
PermissionOverride
for the specifiedIPermissionHolder
. - removePermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided role/member.
- removeReaction() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReaction(Emoji) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes own reaction from this Message using an
Emoji
, you can useMessage.removeReaction(Emoji, User)
to remove reactions from other users, orMessage.clearReactions(Emoji)
to remove all reactions for the specified emoji. - removeReaction(Emoji, User) - Method in interface net.dv8tion.jda.api.entities.Message
- removeReaction(User) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReactionById(long, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, Emoji, User) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emoji, User) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeRoleFromMember(UserSnowflake, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.ConcurrentSessionController
- removeSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by a JDA session when a shutdown has been requested.
- removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- removeSubcommand(Predicate<? super SubcommandData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Removes all subcommands that evaluate to
true
under the providedcondition
. - removeSubcommandByName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes subcommands by the provided name.
- removeSubcommandByName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Removes subcommands by the provided name.
- removeSubcommandGroupByName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes subcommand groups by the provided name.
- removeSubcommandGroups(Predicate<? super SubcommandGroupData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes all subcommand groups that evaluate to
true
under the providedcondition
. - removeSubcommands(Predicate<? super SubcommandData>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Removes all subcommands that evaluate to
true
under the providedcondition
. - removeThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Removes a member from this thread.
- removeThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Removes a member from this thread.
- removeThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Removes a member from this thread.
- removeThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Removes a member from this thread.
- removeTimeout() - Method in interface net.dv8tion.jda.api.entities.Member
-
Removes a time out from this Member in this
Guild
. - removeTimeout(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Removes a time out from the specified Member in this
Guild
. - rename(String, String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Renames an existing field to the new name.
- ReplaceWith - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with ReplaceWith should be replaced immediately with the mentioned code fragment.
- reply(CharSequence) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessage(content).setMessageReference(this)
. - reply(String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- reply(MessageCreateData) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessage(data).setMessageReference(this)
. - reply(MessageCreateData) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- REPLY_FAILED_MISSING_MESSAGE_HISTORY_PERM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ReplyCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A
InteractionCallbackAction
which can be used to send a message reply for an interaction. - replyChoice(String, double) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoice(String, long) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoice(String, String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceDoubles(double...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceDoubles(Collection<Double>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceLongs(long...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceLongs(Collection<Long>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoices(Collection<Command.Choice>) - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- replyChoices(Collection<Command.Choice>) - Method in class net.dv8tion.jda.api.events.interaction.GenericAutoCompleteInteractionEvent
- replyChoices(Collection<Command.Choice>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoices(Command.Choice...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceStrings(String...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceStrings(Collection<String>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessageComponents(components).setMessageReference(this)
. - replyComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyComponents(LayoutComponent, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessageComponents(component, other).setMessageReference(this)
. - replyComponents(LayoutComponent, LayoutComponent...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessageEmbeds(embeds).setMessageReference(this)
. - replyEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessageEmbeds(embed, other).setMessageReference(this)
. - replyEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendFiles(files).setMessageReference(this)
. - replyFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendFiles(files).setMessageReference(this)
. - replyFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessageFormat(format, args).setMessageReference(this)
. - replyFormat(String, Object...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyModal(Modal) - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- replyModal(Modal) - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- replyModal(Modal) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IModalCallback
-
Acknowledgement of this interaction with a
Modal
. - replyPoll(MessagePollData) - Method in interface net.dv8tion.jda.api.entities.Message
-
Shortcut for
getChannel().sendMessagePoll(data).setMessageReference(this)
. - replyPoll(MessagePollData) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyStickers(Collection<? extends StickerSnowflake>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- replyStickers(StickerSnowflake...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- replyWithPremiumRequired() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
-
Deprecated.
- replyWithPremiumRequired() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
-
Deprecated.
- replyWithPremiumRequired() - Method in interface net.dv8tion.jda.api.interactions.callbacks.IPremiumRequiredReplyCallback
-
Deprecated.Replaced with
Button.premium(SkuSnowflake)
, see the Discord change logs for more details. - Request<T> - Class in net.dv8tion.jda.api.requests
-
Internal class used for representing HTTP requests.
- Request(RestActionImpl<T>, Consumer<? super T>, Consumer<? super Throwable>, BooleanSupplier, boolean, RequestBody, Object, long, boolean, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.Request
- REQUEST_ENTITY_TOO_LARGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- REQUEST_TO_SPEAK - Enum constant in enum net.dv8tion.jda.api.Permission
- requestToSpeak() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.StageChannel
-
Sends a
request-to-speak
indicator to the stage instance moderators. - requestToSpeak() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Once the currently logged in account is connected to a
StageChannel
, this will trigger aRequest-to-Speak
(aka raise your hand). - REQUIRE_TAG - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
This is a
ForumChannel
which requires all new post threads to have at least one applied tag. - REQUIRE_TAG - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the require tag state field
- reset() - Method in interface net.dv8tion.jda.api.managers.Manager
-
Resets all fields for this Manager
- reset() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Shortcut for
resetAllow().resetDeny()
. - reset(long) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Resets the specified fields.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag patterns.
- RESET_AFTER_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Total time (in seconds) of when the current rate limit bucket will reset.
- RESET_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Epoch time (seconds since 00:00:00 UTC on January 1, 1970) at which the rate limit resets
- resetAllow() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the allowed permissions to the current original value.
- resetCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Resets the currently set thread-local reason, if present.
- resetDeny() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the denied permissions to the current original value.
- resolve() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Retrieves the referenced message for this message.
- resolve() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
-
Resolves this reference to a
Webhook
instance. - resolve(boolean) - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Retrieves the referenced message for this message.
- resolve(JDA, String) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - resolve(JDA, String) - Static method in class net.dv8tion.jda.api.entities.templates.Template
-
Retrieves a new
Template
instance for the given template code. - resolve(JDA, String, boolean) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - ResourceBundleLocalizationFunction - Class in net.dv8tion.jda.api.interactions.commands.localization
-
A default implementation for
LocalizationFunction
- ResourceBundleLocalizationFunction.Builder - Class in net.dv8tion.jda.api.interactions.commands.localization
-
Builder for
ResourceBundleLocalizationFunction
Use the factory methods inResourceBundleLocalizationFunction
to create instances of this builder - RESOURCES_OVERLOADED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Response - Class in net.dv8tion.jda.api.requests
-
Internal class used to represent HTTP responses or request failures.
- Response(long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Exception, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, int, String, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- RESPONSE - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the response field.
- RestAction<T> - Interface in net.dv8tion.jda.api.requests
-
A class representing a terminal between the user and the discord API.
- restart() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts all shards, shutting old ones down first.
- restart(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts the shards with the given id only.
- RestConfig - Class in net.dv8tion.jda.api.requests
-
Configuration for REST-request handling.
- RestConfig() - Constructor for class net.dv8tion.jda.api.requests.RestConfig
- RestFuture<T> - Class in net.dv8tion.jda.api.requests
-
Implementation of
CompletableFuture
used forRestAction.submit()
. - RestFuture(Throwable) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(RestActionImpl<T>, boolean, BooleanSupplier, RequestBody, Object, long, boolean, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(T) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestRateLimiter - Interface in net.dv8tion.jda.api.requests
-
Interface used to handle requests to the Discord API.
- RestRateLimiter.GlobalRateLimit - Interface in net.dv8tion.jda.api.requests
-
Global rate-limit store.
- RestRateLimiter.RateLimitConfig - Class in net.dv8tion.jda.api.requests
-
Configuration for the rate-limiter.
- RestRateLimiter.Work - Interface in net.dv8tion.jda.api.requests
-
Type representing a pending request.
- Result<T> - Class in net.dv8tion.jda.api.utils
-
Represents a computation or task result.
- RESUMED - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session has resumed successfully after disconnecting.
- retrieveActiveThreads() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the active threads in this guild.
- retrieveApplicationEmojiById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an application emoji together with its respective creator.
- retrieveApplicationEmojiById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an application emoji together with its respective creator.
- retrieveApplicationEmojis() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a list of Application Emojis together with their respective creators.
- retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
ApplicationInfo
for the application that owns the logged in Bot-Account. - retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Used to access application details of this bot.
- retrieveArchivedPrivateJoinedThreadChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Retrieves the archived private
ThreadChannels
for this channel, that the bot has previously joined or been added to. - retrieveArchivedPrivateThreadChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Retrieves the archived private
ThreadChannels
for this channel. - retrieveArchivedPublicThreadChannels() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IThreadContainer
-
Retrieves the archived public
ThreadChannels
for this channel. - retrieveAuditLogs() - Method in interface net.dv8tion.jda.api.entities.Guild
- retrieveAutoModRuleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
AutoModRule
for the provided id. - retrieveAutoModRuleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
AutoModRule
for the provided id. - retrieveAutoModRules() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all current
AutoModRules
for this guild. - retrieveBan(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the providedUserSnowflake
. - retrieveBanList() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of the currently banned
Users
. - retrieveCommandById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the existing
Command
instance by id. - retrieveCommandPrivileges() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
IntegrationPrivileges
for the commands in this guild. - retrieveCommands() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the list of guild commands.
- retrieveCommands() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the list of global commands.
- retrieveCommands(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the list of guild commands.
- retrieveCommands(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the list of global commands.
- retrieveEmoji(CustomEmoji) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a custom emoji together with its respective creator.
- retrieveEmojiById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a Custom Emoji together with its respective creator.
- retrieveEmojiById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a custom emoji together with its respective creator.
- retrieveEmojis() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of Custom Emojis together with their respective creators.
- retrieveEntitlementById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an
Entitlement
by its id. - retrieveEntitlementById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an
Entitlement
by its id. - retrieveEntitlements() - Method in interface net.dv8tion.jda.api.JDA
-
A
PaginationAction
implementation which allows you toiterate
overEntitlement
s that are applicable to the logged in application. - retrieveFuture(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent more recently than the most recently sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrieveIntegrationPrivilegesById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
IntegrationPrivileges
for the target with the specified ID. - retrieveIntegrationPrivilegesById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
IntegrationPrivileges
for the target with the specified ID. - retrieveInterestedMembers() - Method in interface net.dv8tion.jda.api.entities.ScheduledEvent
- retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IInviteContainer
-
Returns all invites for this channel.
- retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Invites
for this guild. - retrieveMember() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
Retrieves the
Member
that subscribed or unsubscribed to theScheduledEvent
. - retrieveMember() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
Retrieves the voting
Member
. - retrieveMember() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the
Member
who owns the reaction. - retrieveMember(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified
UserSnowflake
. - retrieveMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMembers(boolean, Collection<? extends UserSnowflake>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members.
- retrieveMembers(Collection<? extends UserSnowflake>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members.
- retrieveMembersByIds(boolean, long...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(boolean, String...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(boolean, Collection<Long>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(long...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(String...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(Collection<Long>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByPrefix(String, int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Queries a list of members using a radix tree based on the provided name prefix.
- retrieveMessage() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
Retrieves the message for this event.
- retrieveMessage() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the message for this reaction event.
- retrieveMessageById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveMessageById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveMessageById(String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Retrieves the message with the provided id.
- retrieveMetaData() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Loads
Guild.MetaData
for this guild instance. - retrieveNitroStickerPacks() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a list of all the public
StickerPacks
used for nitro. - retrieveOriginal() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Retrieves the original reply to this interaction.
- retrieveOwner() - Method in interface net.dv8tion.jda.api.entities.emoji.RichCustomEmoji
-
Retrieves the owner of this emoji.
- retrieveOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Shortcut for
guild.retrieveMemberById(guild.getOwnerIdLong())
. - retrieveOwner() - Method in interface net.dv8tion.jda.api.entities.sticker.GuildSticker
-
Retrieves the sticker owner.
- retrieveParentMessage() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Attempts to get the
Message
that this thread was started from. - retrievePast(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent before the oldest sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrievePinnedMessages() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Retrieves a List of
Messages
that have been pinned in this channel. - retrievePollVoters(long) - Method in interface net.dv8tion.jda.api.entities.Message
-
Paginate the users who voted for a poll answer.
- retrievePollVotersById(long, long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Paginate the users who voted for a poll answer.
- retrievePollVotersById(String, long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Paginate the users who voted for a poll answer.
- retrievePrivileges(Guild) - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Retrieves the
IntegrationPrivileges
for this command. - retrieveProfile() - Method in interface net.dv8tion.jda.api.entities.User
-
Loads the user's
User.Profile
data. - retrievePrunableMemberCount(int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
The method calculates the amount of Members that would be pruned if
Guild.prune(int, Role...)
was executed. - retrieveReactionUsers(Emoji) - Method in interface net.dv8tion.jda.api.entities.Message
- retrieveReactionUsersById(long, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
- retrieveReactionUsersById(String, Emoji) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
- retrieveRegions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
Shortcut forretrieveRegions(true)
This will include deprecated voice regions by default. - retrieveRegions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
- retrieveRoleConnectionMetadata() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the currently configured
RoleConnectionMetadata
records for this application. - retrieveScheduledEventById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
ScheduledEvent
by its ID. - retrieveScheduledEventById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
ScheduledEvent
by its ID. - retrieveStartMessage() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Attempts to get the
Message
that was posted when this thread was created. - retrieveSticker(StickerSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Attempts to retrieve a
GuildSticker
object for this guild based on the provided snowflake reference. - retrieveSticker(StickerSnowflake) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
Sticker
object based on the provided snowflake reference. - retrieveStickers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all the stickers from this guild.
- retrieveTemplates() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Templates
for this guild. - retrieveThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Load the thread-member for the specified user.
- retrieveThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Load the thread-member for the specified user.
- retrieveThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Load the thread-member for the user with the specified id.
- retrieveThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Load the thread-member for the user with the specified id.
- retrieveThreadMembers() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
-
Retrieves the
ThreadMembers
of this thread. - retrieveUser() - Method in interface net.dv8tion.jda.api.entities.channel.concrete.PrivateChannel
-
Retrieves the
User
that thisPrivateChannel
communicates with. - retrieveUser() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventUserEvent
-
Retrieves the
User
that subscribed or unsubscribed to theScheduledEvent
. - retrieveUser() - Method in class net.dv8tion.jda.api.events.message.poll.GenericMessagePollVoteEvent
-
Retrieves the voting
User
. - retrieveUser() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the
User
who owns the reaction. - retrieveUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUsers() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Retrieves the
Users
that already reacted with this MessageReaction. - retrieveVanityInvite() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the Vanity Invite meta data for this guild.
- retrieveWebhookById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhookById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IWebhookContainer
-
Retrieves the
Webhooks
attached to this channel. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Webhooks
for this Guild. - retrieveWelcomeScreen() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
welcome screen
for this Guild. - RETRY_AFTER_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
The number of seconds to wait before submitting another request
- retryAfter - Variable in class net.dv8tion.jda.api.requests.Response
- reverse() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Flips the
PaginationAction.order(PaginationOrder)
of this pagination action. - reverseOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Reverses the
current order
by usingCollections.reverse(orderList)
- revokePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - revokePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - RICH - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- RichCustomEmoji - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents a Custom Emoji.
- RichPresence - Interface in net.dv8tion.jda.api.entities
-
Used to hold additional information about a users
Activity
relevant to Rich Presence. - RichPresence.Image - Class in net.dv8tion.jda.api.entities
-
Used to hold information on images within a Rich Presence profile
- RichPresence.Party - Class in net.dv8tion.jda.api.entities
-
Holds information on a player's party
- RichSticker - Interface in net.dv8tion.jda.api.entities.sticker
-
Covers more details of stickers which are missing in messages.
- role(long) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.ROLE
with the provided id. - role(String) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.ROLE
with the provided id. - Role - Interface in net.dv8tion.jda.api.entities
-
Represents a
Guild
's Role. - ROLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withGuild.getRoleById(String)
- ROLE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- ROLE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
Role
The first and only group matches the id of the mention. - ROLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept a single
Role
- ROLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
- ROLE - Enum constant in enum net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.SelectTarget
- ROLE_COLOR - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getColor()
value. - ROLE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Role
. - ROLE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Role
. - ROLE_HOISTED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isHoisted()
value. - ROLE_MENTIONABLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isMentionable()
value. - ROLE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getName()
value. - ROLE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible name of the role if the target type is
TargetType.ROLE
- ROLE_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getPermissionsRaw()
value. - ROLE_SELECT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu of roles
- ROLE_SUBSCRIPTION_PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Sent when someone purchases a role subscription.
- ROLE_SUBSCRIPTIONS_PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite points to a role subscription listing in a guild.
- ROLE_TAGS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Role.getTags()
- ROLE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Role
. - Role.RoleTags - Interface in net.dv8tion.jda.api.entities
-
Tags associated with this role.
- RoleAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aRole
. - RoleConnectionMetadata - Class in net.dv8tion.jda.api.entities
-
A metadata record used for role connections.
- RoleConnectionMetadata(RoleConnectionMetadata.MetadataType, String, String, String) - Constructor for class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Creates a new RoleConnectionMetadata instance.
- RoleConnectionMetadata.MetadataType - Enum in net.dv8tion.jda.api.entities
-
The type of metadata.
- RoleCreateEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was created. - RoleCreateEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleCreateEvent
- RoleData(long) - Constructor for class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- RoleDeleteEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was deleted. - RoleDeleteEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleDeleteEvent
- RoleIcon - Class in net.dv8tion.jda.api.entities
-
An object representing a Role's icon.
- RoleIcon(String, String, long) - Constructor for class net.dv8tion.jda.api.entities.RoleIcon
- RoleManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Role
. - RoleOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
- Roles() - Constructor for class net.dv8tion.jda.api.requests.Route.Roles
- ROLES - Static variable in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Used to reset the roles field
- RoleUpdateColorEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its color. - RoleUpdateColorEvent(JDA, long, Role, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- RoleUpdateHoistedEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its hoist state. - RoleUpdateHoistedEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- RoleUpdateIconEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that the Icon of a
Role
changed. - RoleUpdateIconEvent(JDA, long, Role, RoleIcon) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
- RoleUpdateMentionableEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its mentionable state. - RoleUpdateMentionableEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- RoleUpdateNameEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its name. - RoleUpdateNameEvent(JDA, long, Role, String) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- RoleUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its permissions. - RoleUpdatePermissionsEvent(JDA, long, Role, long) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- RoleUpdatePositionEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its position. - RoleUpdatePositionEvent(JDA, long, Role, int, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- ROMANIAN_ROMANIA - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- ROTTERDAM - Enum constant in enum net.dv8tion.jda.api.Region
- Route - Class in net.dv8tion.jda.api.requests
-
Routes for API endpoints.
- Route.Applications - Class in net.dv8tion.jda.api.requests
- Route.AutoModeration - Class in net.dv8tion.jda.api.requests
- Route.Channels - Class in net.dv8tion.jda.api.requests
- Route.CompiledRoute - Class in net.dv8tion.jda.api.requests
-
A route compiled with arguments.
- Route.Emojis - Class in net.dv8tion.jda.api.requests
- Route.Guilds - Class in net.dv8tion.jda.api.requests
- Route.Interactions - Class in net.dv8tion.jda.api.requests
- Route.Invites - Class in net.dv8tion.jda.api.requests
- Route.Messages - Class in net.dv8tion.jda.api.requests
- Route.Misc - Class in net.dv8tion.jda.api.requests
- Route.Roles - Class in net.dv8tion.jda.api.requests
- Route.Self - Class in net.dv8tion.jda.api.requests
- Route.StageInstances - Class in net.dv8tion.jda.api.requests
- Route.Stickers - Class in net.dv8tion.jda.api.requests
- Route.Templates - Class in net.dv8tion.jda.api.requests
- Route.Users - Class in net.dv8tion.jda.api.requests
- Route.Webhooks - Class in net.dv8tion.jda.api.requests
- RULES_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the rules channel field
- run(boolean) - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
When called, establishes the session.
- RUSSIA - Enum constant in enum net.dv8tion.jda.api.Region
- RUSSIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
S
- SAFE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Doesn't classify as a NSFW server
- SAFETY_ALERTS_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to rest the safety alerts channel field
- sanitize(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string with default settings.
- sanitize(String, MarkdownSanitizer.SanitizationStrategy) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string without ignoring anything.
- SCHEDULED - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
- SCHEDULED_EVENT - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- SCHEDULED_EVENT_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user created a
ScheduledEvent
- SCHEDULED_EVENT_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user deleted/cancelled a
ScheduledEvent
- SCHEDULED_EVENT_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user updated a
ScheduledEvent
- SCHEDULED_EVENTS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Scheduled Events events.
- SCHEDULED_EVENTS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Guild.getScheduledEventCache()
- ScheduledEvent - Interface in net.dv8tion.jda.api.entities
-
A class representing a
ScheduledEvent
(The events that show up under the events tab in the Official Discord Client). - ScheduledEvent.Status - Enum in net.dv8tion.jda.api.entities
-
Represents the status of a scheduled event.
- ScheduledEvent.Type - Enum in net.dv8tion.jda.api.entities
-
Represents what type of event an event is, or where the event will be taking place at.
- ScheduledEventAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aScheduledEvent
. - ScheduledEventCreateEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a
ScheduledEvent
object has been created. - ScheduledEventCreateEvent(JDA, long, ScheduledEvent) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.ScheduledEventCreateEvent
- ScheduledEventDeleteEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a
ScheduledEvent
object has been deleted. - ScheduledEventDeleteEvent(JDA, long, ScheduledEvent) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.ScheduledEventDeleteEvent
- ScheduledEventManager - Interface in net.dv8tion.jda.api.managers
-
The Manager is providing functionality to update one or more fields of a
ScheduledEvent
. - ScheduledEventMembersPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the scheduled event users endpoint. - ScheduledEventUpdateDescriptionEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates the
description
of aScheduledEvent
has changed. - ScheduledEventUpdateDescriptionEvent(JDA, long, ScheduledEvent, String) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateDescriptionEvent
- ScheduledEventUpdateEndTimeEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates the
end time
of aScheduledEvent
has changed. - ScheduledEventUpdateEndTimeEvent(JDA, long, ScheduledEvent, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateEndTimeEvent
- ScheduledEventUpdateImageEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates the
image
of aScheduledEvent
has changed. - ScheduledEventUpdateImageEvent(JDA, long, ScheduledEvent, String) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateImageEvent
- ScheduledEventUpdateLocationEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates that the location of a
ScheduledEvent
has changed. - ScheduledEventUpdateLocationEvent(JDA, long, ScheduledEvent, String) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateLocationEvent
- ScheduledEventUpdateNameEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates that the
name
of aScheduledEvent
has changed. - ScheduledEventUpdateNameEvent(JDA, long, ScheduledEvent, String) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateNameEvent
- ScheduledEventUpdateStartTimeEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates the
start time
of aScheduledEvent
has changed. - ScheduledEventUpdateStartTimeEvent(JDA, long, ScheduledEvent, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStartTimeEvent
- ScheduledEventUpdateStatusEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent.update
-
Indicates that the
status
of aScheduledEvent
has changed. - ScheduledEventUpdateStatusEvent(JDA, long, ScheduledEvent, ScheduledEvent.Status) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.update.ScheduledEventUpdateStatusEvent
- ScheduledEventUserAddEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a
User
has subscribed to aScheduledEvent
. - ScheduledEventUserAddEvent(JDA, long, ScheduledEvent, long) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.ScheduledEventUserAddEvent
- ScheduledEventUserRemoveEvent - Class in net.dv8tion.jda.api.events.guild.scheduledevent
-
Indicates that a
User
has unsubscribed from aScheduledEvent
. - ScheduledEventUserRemoveEvent(JDA, long, ScheduledEvent, long) - Constructor for class net.dv8tion.jda.api.events.guild.scheduledevent.ScheduledEventUserRemoveEvent
- SCOPE_HEADER - Static variable in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Returned only on HTTP 429 responses.
- secondary(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SECONDARY
Style. - secondary(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SECONDARY
Style. - SECONDARY - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Secondary button style, usually in gray.
- SECONDS_1800 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_300 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_3600 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_60 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_900 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SelectMenu - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Represents a select menu in a message.
- SelectMenu.Builder<T,
B> - Class in net.dv8tion.jda.api.interactions.components.selections -
A preconfigured builder for the creation of select menus.
- SelectMenuInteraction<T,
S> - Interface in net.dv8tion.jda.api.interactions.components.selections -
Component Interaction for a
SelectMenu
. - SelectOption - Class in net.dv8tion.jda.api.interactions.components.selections
-
One of the possible options provided in a
SelectMenu
. - selectPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity at the specified index
This index is in correlation to thecurrent order
- selectPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity based on the index of the specified entity in the
current order
This is a convenience function that usesOrderAction.selectPosition(int)
internally - Self() - Constructor for class net.dv8tion.jda.api.requests.Route.Self
- SelfUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the avatar of the current user changed.
- SelfUpdateAvatarEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- SelfUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the discriminator of the current user changed.
- SelfUpdateDiscriminatorEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- SelfUpdateGlobalNameEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the
global name
of the current user changed. - SelfUpdateGlobalNameEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateGlobalNameEvent
- SelfUpdateMFAEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the mfa level of the current user changed.
- SelfUpdateMFAEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- SelfUpdateNameEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the name of the current user changed.
- SelfUpdateNameEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- SelfUpdateVerifiedEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the verification state of the current user changed.
- SelfUpdateVerifiedEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- SelfUser - Interface in net.dv8tion.jda.api.entities
-
Represents the currently logged in account.
- SEND_ALERT_MESSAGE - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Sends an alert message to the specified channel.
- SEND_MESSAGE - Static variable in class net.dv8tion.jda.api.requests.Route.Messages
- SEND_TYPING - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- sendAlert(GuildMessageChannel) - Static method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
Create a response that will send an alert message to the specified channel.
- sendFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessage(CharSequence) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessage(String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessage(MessageCreateData) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessage(MessageCreateData) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessageComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageComponents(LayoutComponent, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessageComponents(LayoutComponent, LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessageEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessagePoll(MessagePollData) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Send a message to this channel.
- sendMessagePoll(MessagePollData) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message poll to this webhook.
- sendStickers(Collection<? extends StickerSnowflake>) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Send up to 3 stickers in this channel.
- sendStickers(StickerSnowflake...) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
-
Send up to 3 stickers in this channel.
- sendTyping() - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Sends the typing status to discord.
- SequentialRestRateLimiter - Class in net.dv8tion.jda.api.requests
-
A bucket is determined via the Path+Method+Major in the following way: Get Hash from Path+Method (we call this route) Get bucket from Hash+Major (we call this bucketid)
- SequentialRestRateLimiter(RestRateLimiter.RateLimitConfig) - Constructor for class net.dv8tion.jda.api.requests.SequentialRestRateLimiter
- SerializableArray - Interface in net.dv8tion.jda.api.utils.data
-
Allows custom serialization for JSON payloads of an object.
- SerializableData - Interface in net.dv8tion.jda.api.utils.data
-
Allows custom serialization for JSON payloads of an object.
- SERVER_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_MONETIZATION_DISABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_NOT_AVAILABLE_IN_YOUR_LOCATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_NOT_ENOUGH_BOOSTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVICE_RESOURCE_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SESSION_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- SessionController - Interface in net.dv8tion.jda.api.utils
-
Controls states and behaviour of one or multiple
JDA
instances. - SessionController.SessionConnectNode - Interface in net.dv8tion.jda.api.utils
-
Represents a WebSocketClient request to start a session.
- SessionController.ShardedGateway - Class in net.dv8tion.jda.api.utils
-
POJO containing the gateway endpoint and recommended shard total for a shard manager.
- SessionControllerAdapter - Class in net.dv8tion.jda.api.utils
-
Simple implementation of
SessionController
without supporting concurrency. - SessionControllerAdapter() - Constructor for class net.dv8tion.jda.api.utils.SessionControllerAdapter
- SessionDisconnectEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates that JDA has been disconnected from the remote server.
- SessionDisconnectEvent(JDA, WebSocketFrame, WebSocketFrame, boolean, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.session.SessionDisconnectEvent
- SessionInvalidateEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates that the JDA cache has been invalidated.
- SessionInvalidateEvent(JDA) - Constructor for class net.dv8tion.jda.api.events.session.SessionInvalidateEvent
- SessionRecreateEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates if JDA successfully re-established its connection to the gateway.
- SessionRecreateEvent(JDA) - Constructor for class net.dv8tion.jda.api.events.session.SessionRecreateEvent
- SessionResumeEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates that JDA successfully resumed its connection to the gateway.
- SessionResumeEvent(JDA) - Constructor for class net.dv8tion.jda.api.events.session.SessionResumeEvent
- SessionState - Enum in net.dv8tion.jda.api.events.session
-
State of a gateway session.
- SET_STATUS - Static variable in class net.dv8tion.jda.api.requests.Route.Channels
- setActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Convenience method to set the components of a message to a single
ActionRow
of components. - setActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Convenience method to set the components of a message to a single
ActionRow
of components. - setActivity(Activity) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
Activity
for this session. - setActivity(Activity) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
Activity
for all shards. - setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivityProvider(IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets provider that provider the
Activity
for all shards. - setAfkChannel(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the AFK
VoiceChannel
of thisGuild
. - setAfkTimeout(Guild.Timeout) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setAllowed(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using the bitwise representation of a set of
Permissions
. - setAllowed(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a Collection of
Permissions
. - setAllowed(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a set of
Permissions
. - setAllowedMentions(Collection<Message.MentionType>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- setAllowedMentions(Collection<Message.MentionType>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setAllowedMentions(Collection<Message.MentionType>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Sets the
MentionTypes
that should be parsed. - setAllowList(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractKeywordTriggerConfig
-
Change the allow list to the provided keywords.
- setAppliedTags(Collection<? extends ForumTagSnowflake>) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the applied
ForumTags
for this forum post thread. - setAppliedTags(ForumTagSnowflake...) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the applied
ForumTags
for this forum post thread. - setArchived(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the archived state of this ThreadChannel.
- setAttachments(Collection<? extends AttachedFile>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setAttachments(Collection<? extends AttachedFile>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
The
AttachedFiles
that should be attached to the message. - setAttachments(AttachedFile...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
The
AttachedFiles
that should be attached to the message. - setAudioPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAuthor(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAutoArchiveDuration(ThreadChannel.AutoArchiveDuration) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the inactive time before autoarchiving of this ThreadChannel.
- setAutoArchiveDuration(ThreadChannel.AutoArchiveDuration) - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractThreadCreateAction
-
Sets the
ThreadChannel.AutoArchiveDuration
for the new thread. - setAutoComplete(boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure whether this option should support auto-complete interactions via
CommandAutoCompleteInteractionEvent
. - setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Sets whether or not JDA should try to automatically reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether audio connections from this AudioManager should automatically reconnect or not.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAvailableTags(List<? extends BaseForumTag>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
-
Sets the available tags of the selected
IPostContainer
. - setAvailableTags(List<? extends BaseForumTag>) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the available tags of the channel.
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default avatar of the selected
Webhook
. - setAvatar(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Avatar for the custom Webhook User
- setAvatarUrl(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction
-
Set the apparent avatar for the message author.
- setBanner(Icon) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the banner for the currently logged in account
- setBanner(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setBaseUrl(String) - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Provide a custom base URL for REST-api requests.
- setBitrate(int) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.AudioChannelManager
-
Sets the bitrate of the selected
AudioChannel
. - setBitrate(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the bitrate for the new VoiceChannel
- setBitrate(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the bitrate for this channel.
- setBoostProgressBarEnabled(boolean) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets whether this
Guild
should have its boost progress bar shown. - setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPoolProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCategory(Category) - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
Set the parent category for the currently selected channel.
- setCategory(Category, boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
Set the parent category for the currently selected channel.
- setChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the
TextChannel
of the selectedWebhook
. - setChannelTypes(Collection<ChannelType>) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the
ChannelTypes
to restrict this option to. - setChannelTypes(Collection<ChannelType>) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
ChannelTypes
that should be supported by this menu. - setChannelTypes(ChannelType...) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the
ChannelTypes
to restrict this option to. - setChannelTypes(ChannelType...) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
ChannelTypes
that should be supported by this menu. - setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.managers.Manager
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.FluentRestAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CacheRestAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.JDABuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setClassic(long) - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.GlobalRateLimit
-
Set the current global rate-limit reset time.
- setCloudflare(long) - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter.GlobalRateLimit
-
Set the current cloudflare rate-limit reset time.
- setColor(int) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the raw RGB color value for the embed.
- setColor(int) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the rgb color of the selected
Role
. - setColor(Color) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Color of the embed.
- setColor(Color) - Method in interface net.dv8tion.jda.api.managers.RoleManager
- setColor(Color) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Color) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the color which the new role should be displayed with.
- setColor(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Color for the new role.
- setCommunityUpdatesChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the community updates
TextChannel
of thisGuild
. - setComponents(Collection<? extends LayoutComponent>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- setComponents(Collection<? extends LayoutComponent>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setComponents(Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
LayoutComponents
that should be attached to the message. - setComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
LayoutComponents
that should be attached to the message. - setCompression(Compression) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setCompression(Compression) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setConcurrency(int) - Method in class net.dv8tion.jda.api.utils.ConcurrentSessionController
- setConcurrency(int) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Apply the
max_concurrency
for this bot. - setConnectionListener(ConnectionListener) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
ConnectionListener
for this AudioManager. - setConnectTimeout(long) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the amount of time, in milliseconds, that will be used as the timeout when waiting for the audio connection to successfully connect.
- setContent(String) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- setContent(String) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setContent(String) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The message content, which shows above embeds and attachments.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- setContextMap(ConcurrentMap<String, String>) - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
Called with the internal JDA
MDC
context map. - setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
MDC
mappings to use in JDA. - setContextMap(IntFunction<? extends ConcurrentMap<String, String>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
MDC
mappings provider to use in JDA. - setCurrent(String) - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Sets the current reason that should be used for
AuditableRestAction
. - setCustomBuilder(Consumer<? super Request.Builder>) - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Provide an interceptor to update outgoing requests with custom headers or other modifications.
- setDeafen(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice deafened in the guild.
- setDefaultFailOnInvalidReply(boolean) - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Sets the default value for
MessageCreateAction.failOnInvalidReply(boolean)
- setDefaultFailure(Consumer<? super Throwable>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - setDefaultHttpClient(OkHttpClient) - Static method in class net.dv8tion.jda.api.utils.FileProxy
-
Sets the default OkHttpClient used by
FileProxy
andImageProxy
. - setDefaultLayout(ForumChannel.Layout) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ForumChannelManager
-
Sets the default layout of the selected
ForumChannel
. - setDefaultLayout(ForumChannel.Layout) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the default layout of the new
ForumChannel
. - setDefaultMentionRepliedUser(boolean) - Static method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Sets the default value for
MessageRequest.mentionRepliedUser(boolean)
- setDefaultMentions(Collection<Message.MentionType>) - Static method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Sets the
MentionTypes
that should be parsed by default. - setDefaultNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Notification Level
of thisGuild
. - setDefaultOptions(Collection<? extends SelectOption>) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDefaultOptions(SelectOption...) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDefaultPermissions(DefaultMemberPermissions) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets the
Permissions
that a user must have in a specific channel to be able to use this command. - setDefaultPermissions(DefaultMemberPermissions) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setDefaultPermissions(DefaultMemberPermissions) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDefaultPermissions(DefaultMemberPermissions) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Sets the
Permissions
that a user must have in a specific channel to be able to use this command. - setDefaultReaction(Emoji) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
-
Sets the default reaction emoji of the selected
IPostContainer
. - setDefaultReaction(Emoji) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the default reaction emoji of the channel.
- setDefaultSortOrder(IPostContainer.SortOrder) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
-
Sets the default sort order of the selected
IPostContainer
. - setDefaultSortOrder(IPostContainer.SortOrder) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the default sort order of the channel.
- setDefaultSuccess(Consumer<Object>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - setDefaultThreadSlowmode(int) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IThreadContainerManager
-
Sets the default thread slowmode of the selected channel.
- setDefaultThreadSlowmode(int) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the slowmode value, which limits the amount of time that individual users must wait between sending messages in the new channel.
- setDefaultTimeout(long, TimeUnit) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Default timeout to apply to every RestAction.
- setDefaultValues(String...) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDefaultValues(Collection<? extends EntitySelectMenu.DefaultValue>) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
default values
that will be shown to the user. - setDefaultValues(Collection<String>) - Method in class net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDefaultValues(EntitySelectMenu.DefaultValue...) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
default values
that will be shown to the user. - setDenied(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using the bitwise representation of a set of
Permissions
. - setDenied(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a Collection of
Permissions
. - setDenied(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a set of
Permissions
. - setDescription(CharSequence) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Description of the embed.
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the description
- setDescription(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Configure the description
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Configure the description
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Configure the description
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Sets the description of the sticker.
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Sets the description of the welcome screen.
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the description of the selected
ScheduledEvent
. - setDescription(String) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Sets the description of this
Template
. - setDescription(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDescription(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Configure the description
- setDescription(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
Sets the description for the new
ScheduledEvent
. - setDescription(String) - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Set the file description used as ALT text for screenreaders.
- setDescriptionLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Sets a
language-specific
localization of this record's description. - setDescriptionLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Sets a
language-specific
localization of this option's description. - setDescriptionLocalization(DiscordLocale, String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Sets a
language-specific
localizations of this command's description. - setDescriptionLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Sets a
language-specific
localization of this subcommand's description. - setDescriptionLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Sets a
language-specific
localization of this subcommand group's description. - setDescriptionLocalization(DiscordLocale, String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Sets multiple
language-specific
localizations of this record's description. - setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Sets multiple
language-specific
localizations of this option's description. - setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Sets multiple
language-specific
localizations of this command's description. - setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Sets multiple
language-specific
localizations of this subcommand's description. - setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Sets multiple
language-specific
localizations of this subcommand group's description. - setDescriptionLocalizations(Map<DiscordLocale, String>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDisabled(boolean) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configure whether this select menu should be disabled.
- setDisabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be disabled.
- setDisabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be disabled.
- setDisabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be disabled.
- setDisabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be disabled.
- setDuration(long, TimeUnit) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Change the duration for this poll.
- setDuration(Duration) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Change the duration for this poll.
- setEmbeds(Collection<? extends MessageEmbed>) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- setEmbeds(Collection<? extends MessageEmbed>) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
MessageEmbeds
that should be attached to the message. - setEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
MessageEmbeds
that should be attached to the message. - setEmoji(Emoji) - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
-
Set the emoji to use for this tag.
- setEnabled(boolean) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Enable or disable the rule.
- setEnabled(boolean) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Sets the enabled state of the selected
AutoModRule
. - setEnabled(boolean) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Sets the enabled state of the welcome screen.
- setEnabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be enabled.
- setEnabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be enabled.
- setEnabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be enabled.
- setEnabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be enabled.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enables/Disables the use of a Shutdown hook to clean up JDA.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enables/Disables the use of a Shutdown hook to clean up the ShardManager and it's JDA instances.
- setEndTime(TemporalAccessor) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the time that the selected
ScheduledEvent
should end at. - setEndTime(TemporalAccessor) - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
Sets the time that the new
ScheduledEvent
will end at. - setEntityTypes(Collection<EntitySelectMenu.SelectTarget>) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
SelectTargets
that should be supported by this menu. - setEntityTypes(EntitySelectMenu.SelectTarget, EntitySelectMenu.SelectTarget...) - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.Builder
-
The
SelectTargets
that should be supported by this menu. - setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Whether messages sent from this interaction hook should be ephemeral by default.
- setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Set whether this message should be visible to other users.
- setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction
-
Set whether this message should be visible to other users.
- setEventManager(IEventManager) - Method in interface net.dv8tion.jda.api.JDA
-
Changes the internal EventManager.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the internally used EventManager.
- setEventManagerProvider(IntFunction<? extends IEventManager>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets a provider to change the internally used EventManager.
- setEventPassthrough(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should store the raw
DataObject
for every discord event, accessible throughgetRawData()
. - setEventPassthrough(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should store the raw
DataObject
for every discord event, accessible throughgetRawData()
. - setEventPool(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPoolProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setExemptChannels(Collection<? extends GuildChannel>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Set which channels can bypass this rule.
- setExemptChannels(Collection<? extends GuildChannel>) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Set which channels can bypass this rule.
- setExemptChannels(GuildChannel...) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Set which channels can bypass this rule.
- setExemptRoles(Collection<? extends Role>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Set which roles can bypass this rule.
- setExemptRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Set which roles can bypass this rule.
- setExemptRoles(Role...) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Set which roles can bypass this rule.
- setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Explicit Content Level
of thisGuild
. - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
ExplicitContentLevel
for the resultingGuild
- setFeatures(Collection<String>) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setFiles(Collection<? extends FileUpload>) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- setFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
- setFiles(Collection<? extends FileUpload>) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
FileUploads
that should be attached to the message. - setFiles(FileUpload...) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
The
FileUploads
that should be attached to the message. - setFooter(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed without icon.
- setFooter(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed.
- setGatewayEncoding(GatewayEncoding) - Method in class net.dv8tion.jda.api.JDABuilder
-
Choose which
GatewayEncoding
JDA should use. - setGatewayEncoding(GatewayEncoding) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Choose which
GatewayEncoding
JDA should use. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGuildOnly(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets whether this command is only usable in a guild (Default: false).
- setGuildOnly(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setGuildOnly(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setGuildOnly(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Sets whether this command is only usable in a guild (Default: false).
- setHideMediaDownloadOption(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.MediaChannelManager
-
Sets whether to hide the download media option on this channel.
- setHoisted(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the hoist state of the selected
Role
. - setHoisted(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is hoisted
- setHoisted(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether or not the new role should be hoisted
- setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Builder
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Builder
that will be used by JDA's requester. - setIcon(String) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(String) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(UnicodeEmoji) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(UnicodeEmoji) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.managers.RoleManager
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- setId(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Change the custom id used to identify the select menu.
- setId(String) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the id for this TextInput
This is used to uniquely identify it. - setId(String) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Sets the custom id for this modal.
- setIdle(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not we should mark our session as afk
This value can be changed at any time in thePresence
from a JDA instance. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets whether this session should be marked as afk or not
- setIdle(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets whether all instances should be marked as afk or not
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdleProvider(IntFunction<Boolean>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that decides for all shards whether they should be marked as afk or not.
- setImage(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Image of the embed.
- setImage(Icon) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the cover image for the new
ScheduledEvent
. - setImage(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
Sets the cover image for the new
ScheduledEvent
. - setInvitable(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the invitable state of this ThreadChannel.
- setInvitable(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
-
Sets whether this channel allows all members to add new members.
- setInvitesDisabled(boolean) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Configures the
INVITES_DISABLED
feature flag of this guild. - setKeywords(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Changes the keywords to match against to the new list.
- setLabel(String) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the label for this TextInput
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setLayout(MessagePoll.LayoutType) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
They poll layout.
- setListener(ConnectionListener) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- setLocalizationFunction(LocalizationFunction) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets the
LocalizationFunction
for this command
This enables you to have the entirety of this command to be localized. - setLocalizationFunction(LocalizationFunction) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setLocalizationFunction(LocalizationFunction) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setLocation(String) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the location of the selected
ScheduledEvent
to take place externally, or not in a specificGuildChannel
. - setLocation(GuildChannel) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the location of the selected
ScheduledEvent
to take place in the specifiedGuildChannel
. - setLocked(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the locked state of this ThreadChannel.
- setMaxAge(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age in seconds for the invite.
- setMaxAge(Long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age for the invite.
- setMaxBufferSize(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
The maximum size, in bytes, of the buffer used for decompressing discord payloads.
- setMaxBufferSize(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
The maximum size, in bytes, of the buffer used for decompressing discord payloads.
- setMaxLength(int) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the maximum length for strings which can be provided for this option.
- setMaxLength(int) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the maximum length of this input field.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxUses(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max uses for the invite.
- setMaxValue(double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the maximal value which can be provided for this option.
- setMaxValue(long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the maximal value which can be provided for this option.
- setMaxValues(int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The maximum amount of values a user can select.
- setMemberCachePolicy(MemberCachePolicy) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configure the member caching policy.
- setMemberCachePolicy(MemberCachePolicy) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configure the member caching policy.
- setMentionable(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the mentionable state of the selected
Role
. - setMentionable(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is mentionable
- setMentionable(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether the new role should be mentionable by members of the parent
Guild
. - setMentionLimit(int) - Method in class net.dv8tion.jda.api.entities.automod.build.MentionSpamTriggerConfig
-
Configure the maximum number of unique mentions allowed in a message.
- setMentionRaidProtectionEnabled(boolean) - Method in class net.dv8tion.jda.api.entities.automod.build.MentionSpamTriggerConfig
-
Whether to enable mention raid protection.
- setMessageReference(long) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply.
- setMessageReference(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply.
- setMessageReference(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply.
- setMessageReference(MessageReference.MessageReferenceType, long, long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply or forwarded message.
- setMessageReference(MessageReference.MessageReferenceType, String, String, String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply or forwarded message.
- setMessageReference(MessageReference.MessageReferenceType, Message) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Message reference used for a reply or forwarded message.
- setMinLength(int) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimum length for strings which can be provided for this option.
- setMinLength(int) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the minimum length of this input field.
- setMinValue(double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal value which can be provided for this option.
- setMinValue(long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal value which can be provided for this option.
- setMinValues(int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum amount of values a user has to select.
- setModerated(boolean) - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
-
Set whether the tag can only be applied by forum moderators.
- setMultiAnswer(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Whether this poll allows selecting multiple answers.
- setMute(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice muted in the guild.
- setName(String) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Change the name of the rule.
- setName(String) - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
-
Set the new tag name to use.
- setName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Configure the command name.
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the name
- setName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Configure the name
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Configure the name
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Configure the choice name
- setName(String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the username for the currently logged in account
- setName(String) - Method in interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
-
Sets the name of the selected
ApplicationEmoji
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Sets the name of the selected
AutoModRule
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Sets the name of the selected
GuildChannel
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Sets the name of the selected
RichCustomEmoji
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the name of this
Guild
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Sets the name of the sticker.
- setName(String) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the name of the selected
Role
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the name of the selected
ScheduledEvent
- setName(String) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Sets the name of this
Template
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default name of the selected
Webhook
. - setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractThreadCreateAction
-
Sets the name for the new GuildChannel.
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the name for the new GuildChannel
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Configure the name
- setName(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the name for this Role
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the name for the resulting
Guild
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the name for new role (optional)
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
Sets the name for the new
ScheduledEvent
. - setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Name for the custom Webhook User
- setName(String) - Method in class net.dv8tion.jda.api.utils.FileUpload
-
Changes the name of this file.
- setNameLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Sets a
language-specific
localization of this record's name. - setNameLocalization(DiscordLocale, String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets a
language-specific
localization of this command's name. - setNameLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Sets a
language-specific
localization of this option's name. - setNameLocalization(DiscordLocale, String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setNameLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Sets a
language-specific
localization of this subcommand's name. - setNameLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Sets a
language-specific
localization of this subcommand group's name. - setNameLocalization(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Sets the name localizations of this choice.
- setNameLocalization(DiscordLocale, String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setNameLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
-
Sets multiple
language-specific
localizations of this record's name. - setNameLocalizations(Map<DiscordLocale, String>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets multiple
language-specific
localizations of this command's name. - setNameLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Sets multiple
language-specific
localizations of this option's name. - setNameLocalizations(Map<DiscordLocale, String>) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setNameLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Sets multiple
language-specific
localizations of this subcommand's name. - setNameLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Sets multiple
language-specific
localizations of this subcommand group's name. - setNameLocalizations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
Sets the name localizations of this choice.
- setNameLocalizations(Map<DiscordLocale, String>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setNickname(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the nickname of the user for the guild.
- setNonce(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Unique string/number used to identify messages using
Message.getNonce()
inMessageReceivedEvent
. - setNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
NotificationLevel
for the resultingGuild
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Sets whether this command should only be usable in NSFW (age-restricted) channels.
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IAgeRestrictedChannelManager
-
Sets the nsfw flag (also known as Age Restriction) of the selected
channel
. - setNSFW(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the NSFW flag for the channel
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Sets whether this command should only be usable in NSFW (age-restricted) channels.
- setNSFW(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the whether this channel should be marked NSFW.
- setOwnerId(long) - Method in interface net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction
-
Set the owner's id to create the entitlement for
- setOwnerId(String) - Method in interface net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction
-
Set the owner's id to create the entitlement for
- setOwnerType(TestEntitlementCreateAction.OwnerType) - Method in interface net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction
-
Set the owner type to create the entitlement for
- setParent(Category) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Sets the
Parent Category
of the selectedGuildChannel
. - setParent(Category) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the
Category
for the new GuildChannel. - setPassContext(boolean) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
If enabled this will pass a
ContextException
as root-cause to all failure consumers. - setPatterns(Collection<String>) - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
-
Change the list of keywords regex patterns to match against.
- setPermissionChecksEnabled(boolean) - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Enables internal checks for missing permissions
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - setPermissions(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllowed(long)
andPermissionOverrideAction.setDenied(long)
First sets the allow bits and then the deny bits. - setPermissions(Long) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllowed(java.util.Collection)
andPermissionOverrideAction.setDenied(java.util.Collection)
First sets the granted permissions and then the denied permissions. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissionsRaw(Long) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the raw permission value for this Role
- setPinned(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the pinned state of this ThreadChannel.
- setPlaceholder(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configure the placeholder which is displayed when no selections have been made yet.
- setPlaceholder(String) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets a placeholder for this TextInput field.
- setPoll(MessagePollData) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- setPoll(MessagePollData) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Add a poll to this message.
- setPosition(int) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPositionableChannelManager
-
Sets the position of the selected
GuildChannel
. - setPosition(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the position where the new Channel should be inserted into.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the position for this channel.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the position for this Role
- setPresence(Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
andActivity
for all shards. - setPresence(OnlineStatus, Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets all presence fields of this session.
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
andActivity
for all shards. - setRateLimitElastic(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA request handler. - setRateLimitElastic(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA request handler. - setRateLimitElastic(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA request handler. - setRateLimitElastic(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA request handler. - setRateLimitElasticProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA request handler. - setRateLimiterFactory(Function<? super RestRateLimiter.RateLimitConfig, ? extends RestRateLimiter>) - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Provide a custom implementation of
RestRateLimiter
. - setRateLimitScheduler(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitScheduler(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitScheduler(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitScheduler(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitSchedulerProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
provider that should be used in the JDA rate-limit handler. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setReceivingHandler(AudioReceiveHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioReceiveHandler
that the manager will use to process audio data received from an audio connection. - setRegion(Region) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.AudioChannelManager
-
Sets the
Region
of the selectedAudioChannel
. - setRegion(Region) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the voice region for the new AudioChannel
- setRelativeRateLimit(boolean) - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Whether to use
X-RateLimit-Reset-After
to determine the rate-limit backoff. - setReplace(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setReplace(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageEditRequest
-
Whether to replace the existing message completely.
- setRequestTimeoutRetry(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequired(boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure whether the user must set this option.
- setRequired(boolean) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets whether the user is required to write in this TextInput.
- setRequiredLength(int, int) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimum and maximum length for strings which can be provided for this option.
- setRequiredMFALevel(Guild.MFALevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setRequiredRange(double, double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal and maximal value which can be provided for this option.
- setRequiredRange(int, int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum and maximum amount of values a user can select.
- setRequiredRange(int, int) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the minimum and maximum required length on this TextInput component
- setRequiredRange(long, long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal and maximal value which can be provided for this option.
- setRequiredScopes(String...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Configures the required scopes applied to the
ApplicationInfo.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(String...) - Method in interface net.dv8tion.jda.api.JDA
-
Configures the required scopes applied to the
JDA.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(Collection<String>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Configures the required scopes applied to the
ApplicationInfo.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(Collection<String>) - Method in interface net.dv8tion.jda.api.JDA
-
Configures the required scopes applied to the
JDA.getInviteUrl(Permission...)
and similar methods. - setResponses(Collection<? extends AutoModResponse>) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Configure what the rule should do upon triggering.
- setResponses(Collection<? extends AutoModResponse>) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Sets what the rule should do upon triggering.
- setResponses(AutoModResponse...) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Sets what the rule should do upon triggering.
- setRestConfig(RestConfig) - Method in class net.dv8tion.jda.api.JDABuilder
-
Custom
RestConfig
to use for this JDA instance. - setRestConfig(RestConfig) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Custom
RestConfig
to use. - setRestConfigProvider(IntFunction<? extends RestConfig>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Custom
RestConfig
to use. - setRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRoles(Set<Role>) - Method in interface net.dv8tion.jda.api.managers.CustomEmojiManager
-
Sets the restriction roles of the selected
RichCustomEmoji
. - setRoles(Role...) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRulesChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the rules
TextChannel
of thisGuild
. - setSafetyAlertsChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the safety alerts
TextChannel
of thisGuild
. - setSelfDeafened(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether connections from this AudioManager should be deafened.
- setSelfMuted(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Set this to
true
if the current connection should be displayed as muted, this will cause theAudioSendHandler
packages to not be ignored by Discord! - setSendingHandler(AudioSendHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioSendHandler
that the manager will use to provide audio data to an audio connection. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
SessionController
for this JDABuilder instance. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
SessionController
for the resulting ShardManager instance. - setShards(int...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the list of shards the
DefaultShardManager
should contain. - setShards(int, int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShards(Collection<Integer>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShardsTotal(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
This will set the total amount of shards the
DefaultShardManager
should use. - setSkuId(long) - Method in interface net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction
-
Set the SKU's id to create the entitlement in
- setSkuId(String) - Method in interface net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction
-
Set the SKU's id to create the entitlement in
- setSlowmode(int) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ISlowmodeChannelManager
-
Sets the slowmode of the selected channel.
- setSlowmode(int) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the slowmode value, which limits the amount of time that individual users must wait between sending messages in the new channel.
- setSpeakingMode(Collection<SpeakingMode>) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSpeakingMode(SpeakingMode...) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSplash(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setStartTime(TemporalAccessor) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the time that the selected
ScheduledEvent
should start at. - setStartTime(TemporalAccessor) - Method in interface net.dv8tion.jda.api.requests.restaction.ScheduledEventAction
-
Sets the time that the new
ScheduledEvent
will start at. - setStatus(ScheduledEvent.Status) - Method in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Sets the status of the event.
- setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
OnlineStatus
for this session - setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
for all shards. - setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatusProvider(IntFunction<OnlineStatus>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
for all shards. - setStickers(Collection<? extends StickerSnowflake>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Set the stickers to send alongside this message.
- setStickers(StickerSnowflake...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageCreateAction
-
Set the stickers to send alongside this message.
- setStyle(TextInputStyle) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets the style for this TextInput
Possible values are:TextInputStyle.SHORT
TextInputStyle.PARAGRAPH
- setSuppressedNotifications(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- setSuppressedNotifications(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Set whether this message should trigger push/desktop notifications to other users.
- setSuppressEmbeds(boolean) - Method in class net.dv8tion.jda.api.utils.messages.AbstractMessageBuilder
- setSuppressEmbeds(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageEditBuilder
- setSuppressEmbeds(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageRequest
-
Set whether embeds should be suppressed on this message.
- setSystemChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the system
TextChannel
of thisGuild
. - setTagRequired(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
-
Sets the tag requirement state of this
IPostContainer
. - setTags(String...) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Sets the tags of the sticker.
- setTags(Collection<? extends ForumTagSnowflake>) - Method in interface net.dv8tion.jda.api.requests.restaction.ForumPostAction
-
Configures that tags which should be applied to the new post.
- setTags(Collection<String>) - Method in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Sets the tags of the sticker.
- setTags(ForumTagSnowflake...) - Method in interface net.dv8tion.jda.api.requests.restaction.ForumPostAction
-
Configures that tags which should be applied to the new post.
- setTargetApplication(long) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the id of the targeted application.
- setTargetApplication(String) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the id of the targeted application.
- setTargetStream(long) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to target for this invite.
- setTargetStream(String) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTargetStream(Member) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTargetStream(User) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTemporary(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether the invite should only grant temporary membership.
- setThread(ThreadChannel) - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractWebhookMessageAction
-
Set the target thread for the webhook message.
- setThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ThreadFactory
that will be used by the internal executor of the ShardManager. - setThreadId(long) - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractWebhookMessageAction
-
Set the target thread id for the webhook message.
- setThreadId(String) - Method in interface net.dv8tion.jda.api.requests.restaction.AbstractWebhookMessageAction
-
Set the target thread id for the webhook message.
- setThumbnail(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Thumbnail of the embed.
- setTimeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Change the timeout duration for this task.
- setTimeout(Duration) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Change the timeout duration for this task.
- setTimeoutPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.utils.Once.Builder
-
Sets the thread pool used to schedule timeouts and run its callback.
- setTimestamp(TemporalAccessor) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Timestamp of the embed.
- setTitle(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setTitle(String) - Method in class net.dv8tion.jda.api.interactions.modals.Modal.Builder
-
Sets the title for this modal.
- setTitle(String) - Method in class net.dv8tion.jda.api.utils.messages.MessagePollBuilder
-
Change the title for this poll.
- setTitle(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setToken(String) - Method in class net.dv8tion.jda.api.JDABuilder
- setToken(String) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the token that will be used by the
ShardManager
instance to log in whenbuild()
is called. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
-
Sets the topic of the selected
channel
. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.StandardGuildMessageChannelManager
-
Sets the topic of the selected
channel
. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Sets the topic for this stage instance.
- setTopic(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the topic for the channel
- setTopic(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the topic for this channel.
- setTopic(String) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
-
Sets the topic for the stage instance.
- setTranslation(DiscordLocale, String) - Method in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
-
Sets the given localized string to be used for the specified locale.
- setTranslations(Map<DiscordLocale, String>) - Method in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
-
Adds all the translations from the supplied map into this LocalizationMap.
- setTriggerConfig(TriggerConfig) - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
-
Change the
TriggerConfig
for this rule. - setTriggerConfig(TriggerConfig) - Method in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Change the
TriggerConfig
for this rule. - setTTS(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- setTTS(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Whether the message should use Text-to-Speech (TTS).
- setType(ChannelType) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.NewsChannelManager
-
Converts the selected channel to a different
ChannelType
. - setType(ChannelType) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.TextChannelManager
-
Converts the selected channel to a different
ChannelType
. - setUnique(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether discord should reuse a similar invite.
- setUrl(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the URL of the embed.
- setUserAgentSuffix(String) - Method in class net.dv8tion.jda.api.requests.RestConfig
-
Provide a custom User-Agent suffix which is appended to
RestConfig.USER_AGENT
. - setUserlimit(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the userlimit for the new
AudioChannel
. - setUserlimit(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the userlimit for this channel.
- setUserLimit(int) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.AudioChannelManager
-
Sets the user-limit of the selected
AudioChannel
. - setUsername(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageCreateAction
-
Set the apparent username for the message author.
- setUseShutdownNow(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the
ShardManager
should useJDA#shutdownNow()
instead ofJDA#shutdown()
to shutdown it's shards. - setValue(String) - Method in class net.dv8tion.jda.api.interactions.components.text.TextInput.Builder
-
Sets a pre-populated text for this TextInput field.
- setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Verification Level
of thisGuild
. - setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
VerificationLevel
for the resultingGuild
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setVoiceMessage(boolean) - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateBuilder
- setVoiceMessage(boolean) - Method in interface net.dv8tion.jda.api.utils.messages.MessageCreateRequest
-
Whether this message should be considered a voice message.
- setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - setWelcomeChannels(Collection<? extends GuildWelcomeScreen.Channel>) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Sets the welcome channels of the welcome screen.
- setWelcomeChannels(GuildWelcomeScreen.Channel...) - Method in interface net.dv8tion.jda.api.managers.GuildWelcomeScreenManager
-
Sets the welcome channels of the welcome screen.
- SEXUAL_CONTENT - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Words that can be considered as sexual in nature.
- ShardCacheView - Interface in net.dv8tion.jda.api.utils.cache
-
Read-only view on internal ShardManager cache of JDA instances.
- ShardedGateway(String, int) - Constructor for class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
Creates a new GatewayBot instance with the provided properties
- ShardedGateway(String, int, int) - Constructor for class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
- ShardInfo(int, int) - Constructor for class net.dv8tion.jda.api.JDA.ShardInfo
- SHARDING_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- ShardManager - Interface in net.dv8tion.jda.api.sharding
-
This class acts as a manager for multiple shards.
- SHIELD - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- SHORT - Enum constant in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
- shouldQueue() - Method in class net.dv8tion.jda.api.requests.Request
- shouldReconnect() - Method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
- shouldShutdownAutomatically(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Whether the previously provided executor should be shutdown by
JDA.shutdown()
. - shuffleOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Shuffles the
current order
by usingCollections.shuffle(orderList)
- shutdown() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- shutdown() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the destruction of this instance and should be used to perform all necessary cleanup and shutdown operations needed to free resources.
- shutdown() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance, closing all its connections.
- shutdown() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down all JDA shards, closing all their connections.
- shutdown() - Method in class net.dv8tion.jda.api.sharding.ThreadPoolProvider.LazySharedProvider
-
Shuts down the shared pool and the temporary pool.
- shutdown(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down the shard with the given id only.
- SHUTDOWN - Enum constant in enum net.dv8tion.jda.api.events.session.SessionState
-
The session has been closed and will not be reconnected.
- SHUTDOWN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has finished shutting down and this instance can no longer be used to communicate with the Discord servers.
- ShutdownEvent - Class in net.dv8tion.jda.api.events.session
-
Indicates that JDA has fully disconnected from Discord and will not attempt to reconnect again.
- ShutdownEvent(JDA, OffsetDateTime, int) - Constructor for class net.dv8tion.jda.api.events.session.ShutdownEvent
- shutdownNow() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance instantly, closing all its connections.
- SHUTTING_DOWN - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that JDA was shutdown and no further connections should be established
- SHUTTING_DOWN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has received a shutdown request or has been disconnected from Discord and reconnect is disabled, thus, JDA is in the process of shutting down
- SimpleCacheView(Class<T>, Function<T, String>) - Constructor for class net.dv8tion.jda.api.utils.cache.CacheView.SimpleCacheView
- SINGAPORE - Enum constant in enum net.dv8tion.jda.api.Region
- SINGLE - Static variable in class net.dv8tion.jda.api.JDA.ShardInfo
-
Default sharding config with one shard
- size() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The amount of retrieved
Messages
by this MessageHistory. - size() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
The current size of this cache
This is along
as it may be a projected view of multiple caches (SeeCacheView.all(java.util.function.Supplier)
) - skipTo(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Skips past the specified ID for successive requests.
- skuIds(long...) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by their SKU id - skuIds(String...) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by their SKU id - skuIds(Collection<String>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filters
Entitlement
s by their SKU id - SkuSnowflake - Interface in net.dv8tion.jda.api.entities
-
Represents an abstract SKU reference by only the SKU ID.
- slash(String, String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a slash command builder.
- SLASH - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- SLASH_COMMAND - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a slash command.
- SLASH_COMMAND - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This message was created by an interaction.
- SlashCommandData - Interface in net.dv8tion.jda.api.interactions.commands.build
-
Extension of
CommandData
which allows setting slash-command specific settings such as options and subcommands. - SlashCommandInteraction - Interface in net.dv8tion.jda.api.interactions.commands
-
Interaction with a slash command
- SlashCommandInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a slash command was used in a
MessageChannel
. - SlashCommandInteractionEvent(JDA, long, SlashCommandInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
- SlashCommandReference - Class in net.dv8tion.jda.api.interactions.commands
-
Represents a slash command mention, such as
</ban soft:1021082477038678126>
- SlashCommandReference(String, String, String, long) - Constructor for class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- SLOWMODE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The state of slow mode in the channel.
- SLOWMODE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the rate-limit per user field
- SLOWMODE_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SLURS - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Words that can be considered as slurs or insults.
- SMALL_ATOM - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_ATOM_UTF8 - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_BIGINT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_INT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SnowflakeCacheView<T> - Interface in net.dv8tion.jda.api.utils.cache
-
CacheView
implementation specifically to viewISnowflake
implementations. - SortedChannelCacheView<T> - Interface in net.dv8tion.jda.api.utils.cache
-
Specialized
ChannelCacheView
type used for handling sorted lists of channels. - SortedSnowflakeCacheView<T> - Interface in net.dv8tion.jda.api.utils.cache
-
Specialized
CacheView
for entities that occur in a specified order. - sortOrder(Comparator<T>) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- SOUNDSHARE - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- SOURCE_MESSAGE_DELETED - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that the source message of this crosspost was deleted.
- SOUTH_AFRICA - Enum constant in enum net.dv8tion.jda.api.Region
- SOUTH_KOREA - Enum constant in enum net.dv8tion.jda.api.Region
- SPAM - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
The rule is triggered by user message content containing classified spam content.
- SPANISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- SPANISH_LATAM - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- SpeakingMode - Enum in net.dv8tion.jda.api.audio
-
Flags representing the speaking modes used by discord users.
- SPECTATE - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- SPECTATE - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to spectate a game. - SPLASH - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the splash field
- SPLASH_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getSplashUrl()
. - split(String, int, boolean, SplitUtil.Strategy...) - Static method in class net.dv8tion.jda.api.utils.SplitUtil
-
Apply a list of
Strategies
to split the provided string into chunks of a maximumlimit
characters. - split(String, int, SplitUtil.Strategy...) - Static method in class net.dv8tion.jda.api.utils.SplitUtil
-
Apply a list of
Strategies
to split the provided string into chunks of a maximumlimit
characters. - spliterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- SplitUtil - Class in net.dv8tion.jda.api.utils
-
Utility to strategically split strings.
- SplitUtil() - Constructor for class net.dv8tion.jda.api.utils.SplitUtil
- SplitUtil.Strategy - Interface in net.dv8tion.jda.api.utils
-
Function which applies a programmable strategy used to determine a splitting point.
- spoiler(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing spoiler regions in the input and applies spoiler formatting to the entire string.
- SPOILER - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Spoiler region such as "||Hello||"
- STAFF - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- STAGE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
StageChannel
, Guild-Only. - STAGE_ALREADY_OPEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- STAGE_END - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Messages created in
StageChannels
to indicate that a stage instance has ended. - STAGE_INSTANCE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- STAGE_INSTANCE - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
An event with it's own
StageInstance
- STAGE_INSTANCE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was started by aStage Moderator
. - STAGE_INSTANCE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was deleted by aStage Moderator
. - STAGE_INSTANCE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was updated by aStage Moderator
. - STAGE_SPEAKER - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Messages created in
StageChannels
to indicate that a newspeaker
is up. - STAGE_START - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Messages created in
StageChannels
to indicate that a stage instance has started. - STAGE_TOPIC - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Messages created in
StageChannels
to indicate that a stage instance topic has been changed. - StageChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents a Stage Channel.
- StageChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing methods to modify a
StageChannel
. - StageInstance - Interface in net.dv8tion.jda.api.entities
-
A Stage Instance holds information about a live stage.
- StageInstance.PrivacyLevel - Enum in net.dv8tion.jda.api.entities
-
The privacy level for a stage instance.
- StageInstanceAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used to create aStageInstance
- StageInstanceCreateEvent - Class in net.dv8tion.jda.api.events.stage
-
Indicates that a
StageInstance
was created. - StageInstanceCreateEvent(JDA, long, StageInstance) - Constructor for class net.dv8tion.jda.api.events.stage.StageInstanceCreateEvent
- StageInstanceDeleteEvent - Class in net.dv8tion.jda.api.events.stage
-
Indicates that a
StageInstance
was deleted. - StageInstanceDeleteEvent(JDA, long, StageInstance) - Constructor for class net.dv8tion.jda.api.events.stage.StageInstanceDeleteEvent
- StageInstanceManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
StageInstance
. - StageInstances() - Constructor for class net.dv8tion.jda.api.requests.Route.StageInstances
- StageInstanceUpdatePrivacyLevelEvent - Class in net.dv8tion.jda.api.events.stage.update
-
Indicates that a
StageInstance
updated itsPrivacyLevel
. - StageInstanceUpdatePrivacyLevelEvent(JDA, long, StageInstance, StageInstance.PrivacyLevel) - Constructor for class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- StageInstanceUpdateTopicEvent - Class in net.dv8tion.jda.api.events.stage.update
-
Indicates that a
StageInstance
updated itstopic
. - StageInstanceUpdateTopicEvent(JDA, long, StageInstance, String) - Constructor for class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- STANDARD - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
A sticker provided by nitro sticker packs.
- StandardGuildChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents a standard
GuildChannel
which are the "normal" channels that are present in the channel sidebar. - StandardGuildChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.middleman -
Manager providing functionality common for all
StandardGuildChannels
. - StandardGuildMessageChannel - Interface in net.dv8tion.jda.api.entities.channel.middleman
-
Represents a standard
GuildMessageChannel
which are the "normal" message channels that are present in the channel sidebar. - StandardGuildMessageChannelManager<T,
M> - Interface in net.dv8tion.jda.api.managers.channel.middleman -
Manager providing functionality common for all
StandardGuildMessageChannels
. - StandardSticker - Interface in net.dv8tion.jda.api.entities.sticker
-
Standard stickers used for nitro and wave buttons on welcome messages.
- start() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- start() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the start of the loop, similar to
Thread.start()
, and after a call to this method JDA assumes that the instance will be sending UDP audio packets in a loop. - start(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- start(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Adds a new shard with the given id to this ShardManager and starts it.
- START_TIME - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the start time field
- STARTED_ONBOARDING - Enum constant in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The Member has started the onboarding process
- STATUS - Static variable in interface net.dv8tion.jda.api.managers.ScheduledEventManager
-
Used to reset the status field
- StatusChangeEvent - Class in net.dv8tion.jda.api.events
-
Indicates that our
Status
changed. - StatusChangeEvent(JDA, JDA.Status, JDA.Status) - Constructor for class net.dv8tion.jda.api.events.StatusChangeEvent
- Sticker - Interface in net.dv8tion.jda.api.entities.sticker
-
Abstract representation of all sticker types.
- STICKER - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- STICKER - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Guild.getStickerCache()
- STICKER_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator created a
GuildSticker
. - STICKER_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted a
GuildSticker
. - STICKER_DESCRIPTION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Sticker.getDescription()
value. - STICKER_FORMAT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Sticker.getFormatType()
value. - STICKER_FPS_TOO_SMALL_OR_TOO_LARGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- STICKER_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Sticker.getName()
value. - STICKER_TAGS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Sticker.getTags()
value. - STICKER_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated a
GuildSticker
. - Sticker.StickerFormat - Enum in net.dv8tion.jda.api.entities.sticker
-
The various formats used for stickers and the respective file extensions.
- Sticker.Type - Enum in net.dv8tion.jda.api.entities.sticker
-
The specific types of stickers
- StickerItem - Interface in net.dv8tion.jda.api.entities.sticker
-
Stickers used primarily for message objects.
- StickerPack - Interface in net.dv8tion.jda.api.entities.sticker
-
A pack of
StandardStickers
used for nitro. - Stickers() - Constructor for class net.dv8tion.jda.api.requests.Route.Stickers
- StickerSnowflake - Interface in net.dv8tion.jda.api.entities.sticker
-
Represents an abstract sticker reference by only the sticker ID.
- StickerUnion - Interface in net.dv8tion.jda.api.entities.sticker
-
Represents possible
RichSticker
types. - stop(boolean, Runnable) - Method in interface net.dv8tion.jda.api.requests.RestRateLimiter
-
Indication to stop accepting new requests.
- stop(boolean, Runnable) - Method in class net.dv8tion.jda.api.requests.SequentialRestRateLimiter
- stream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
A sequential
Stream
with this PaginationAction as its source. - stream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a
Stream
of all cached elements. - stream(BiFunction<? super DataArray, Integer, ? extends T>) - Method in class net.dv8tion.jda.api.utils.data.DataArray
- STREAM - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite points to a user's stream in a voice channel.
- streaming(String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- STREAMING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
is a stream and should be displayed asStreaming...
in the official client. - STREAMING_URL - Static variable in interface net.dv8tion.jda.api.entities.Activity
-
The Pattern used for
Activity.isValidStreamingUrl(String)
- streamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.stream()
which does not preserve order. - strike(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing strike regions in the input and applies strike formatting to the entire string.
- STRIKE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Strikethrough region such as "~~Hello~~"
- STRING - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept text inputs.
- STRING - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- STRING - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- STRING_SELECT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu of strings
- StringSelectInteraction - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Component Interaction for a
StringSelectMenu
. - StringSelectInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.component
-
Indicates that a custom
StringSelectMenu
on one of the bots messages was used by a user. - StringSelectInteractionEvent(JDA, long, StringSelectInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.component.StringSelectInteractionEvent
- StringSelectMenu - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Represents a select menu in a message.
- StringSelectMenu.Builder - Class in net.dv8tion.jda.api.interactions.components.selections
-
A preconfigured builder for the creation of string select menus.
- SUB_COMMAND - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Option which is serialized as subcommand, this is only used for internals and should be ignored by users.
- SUB_COMMAND_GROUP - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Option which is serialized as subcommand groups, this is only used for internals and should be ignored by users.
- Subcommand(ICommandReference, DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- SubcommandData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command subcommand.
- SubcommandData(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Create a subcommand builder.
- SubcommandGroup(Command, DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- SubcommandGroupData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command group.
- SubcommandGroupData(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Create an group builder.
- submit() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submit(boolean) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submitAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - submitAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - subscribe(Consumer<E>) - Method in class net.dv8tion.jda.api.utils.Once.Builder
-
Starts listening for the event, once.
- SubscribeEvent - Annotation Type in net.dv8tion.jda.api.hooks
-
Annotation used by the
AnnotatedEventManager
this is only picked up if the event manager implementation has been set to use theAnnotatedEventManager
viaJDABuilder.setEventManager(IEventManager)
- success(E) - Static method in class net.dv8tion.jda.api.utils.Result
-
Creates a successful result.
- success(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SUCCESS
Style. - success(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SUCCESS
Style. - SUCCESS - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Success/Approve button style, usually in green.
- SUPER - Enum constant in enum net.dv8tion.jda.api.entities.MessageReaction.ReactionType
- suppressContentIntentWarning() - Static method in interface net.dv8tion.jda.api.entities.Message
-
Suppresses the warning for missing the
MESSAGE_CONTENT
intent and using one of the dependent getters. - suppressEmbeds(boolean) - Method in interface net.dv8tion.jda.api.entities.Message
-
Enables/Disables suppression of Embeds on this Message.
- swapPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the entity located at the specified position.
- swapPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the specified entity.
- SWEDISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- SYDNEY - Enum constant in enum net.dv8tion.jda.api.Region
- sync() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Syncs this template.
- sync() - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with its parent (Category
). - sync(IPermissionContainer) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with the given (GuildChannel
). - SYNC - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- SYNC_INTEGRATION - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- SYNC_TEMPLATE - Static variable in class net.dv8tion.jda.api.requests.Route.Templates
- syncPermissionOverrides() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Syncs the permission overrides of the channel with the category.
- SYSTEM_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the system channel field
T
- TAGS - Static variable in interface net.dv8tion.jda.api.managers.GuildStickerManager
-
Used to reset tags field
- takeAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeRemainingAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeUntilAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeUntilAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeWhileAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- takeWhileAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- targetsAllChannels() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
Whether this IntegrationPrivilege targets "All channels"
- targetsEveryone() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
-
Whether this IntegrationPrivilege targets the @everyone Role
- TargetType - Enum in net.dv8tion.jda.api.audit
-
TargetType for an
ActionType
This describes what kind of Discord entity is being targeted by an auditable action! - Task<T> - Interface in net.dv8tion.jda.api.utils.concurrent
-
Represents an asynchronous task.
- TEAM_USER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
-
User is a
team
- TeamMember - Interface in net.dv8tion.jda.api.entities
-
Member of a
ApplicationTeam
. - TeamMember.MembershipState - Enum in net.dv8tion.jda.api.entities
-
The membership state on the team.
- TeamMember.RoleType - Enum in net.dv8tion.jda.api.entities
-
The role in the team.
- Template - Class in net.dv8tion.jda.api.entities.templates
-
Representation of a Discord Guild Template
This class is immutable. - Template(JDAImpl, String, String, String, int, User, OffsetDateTime, OffsetDateTime, TemplateGuild, boolean) - Constructor for class net.dv8tion.jda.api.entities.templates.Template
- TemplateChannel - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the channels information provided by a template.
- TemplateChannel(long, ChannelType, String, String, int, long, boolean, List<TemplateChannel.PermissionOverride>, boolean, int, int, int) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateChannel
- TemplateChannel.PermissionOverride - Class in net.dv8tion.jda.api.entities.templates
-
Represents the specific
Role
permission overrides that can be set for channels. - TemplateGuild - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the guild information provided by a template.
- TemplateGuild(long, String, String, String, Guild.VerificationLevel, Guild.NotificationLevel, Guild.ExplicitContentLevel, DiscordLocale, Guild.Timeout, TemplateChannel, TemplateChannel, List<TemplateRole>, List<TemplateChannel>) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateGuild
- TemplateManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Template
. - TemplateRole - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the roles information provided by a template.
- TemplateRole(long, String, int, boolean, boolean, long) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateRole
- Templates() - Constructor for class net.dv8tion.jda.api.requests.Route.Templates
- test(Throwable) - Method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Tests whether the given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
equal to this. - test(Collection<ErrorResponse>) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Provides a tests whether a given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
being one of the provided responses. - test(ErrorResponse...) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Provides a tests whether a given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
being one of the provided responses. - TEST_MODE_PURCHASE - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was purchased by a dev in application test mode
- TestEntitlementCreateAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aEntitlement
. - TestEntitlementCreateAction.OwnerType - Enum in net.dv8tion.jda.api.requests.restaction
-
The type of the owner for the entitlement
- TEXT - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
TextChannel
, Guild-Only. - TEXT_INPUT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A text input field
- TEXT_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length the footer of an embed can have
- TextChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents a Discord Text GuildChannel.
- TextChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality common for all
TextChannels
. - TextInput - Interface in net.dv8tion.jda.api.interactions.components.text
-
Represents a Discord Text input component
- TextInput.Builder - Class in net.dv8tion.jda.api.interactions.components.text
-
Builder for
TextInputs
- TextInputStyle - Enum in net.dv8tion.jda.api.interactions.components.text
-
The different styles a
TextInput
field can have. - THAI - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- THREAD - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- THREAD_APPLIED_TAGS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The applied tags of this
ThreadChannel
, given that it is a forum post. - THREAD_ARCHIVED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isArchived()
value. - THREAD_AUTO_ARCHIVE_DURATION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.getAutoArchiveDuration()
value. - THREAD_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user created a
ThreadChannel
- THREAD_CREATED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This is sent to a TextChannel when a message thread is created if the message from which the thread was started is "old".
- THREAD_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user deleted a
ThreadChannel
- THREAD_INVITABLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isInvitable()
value. - THREAD_LOCKED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isLocked()
value. - THREAD_LOCKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- THREAD_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.getName()
value. - THREAD_STARTER_MESSAGE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
A new message sent as the first message in threads that are started from an existing message in the parent channel.
- THREAD_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user updated a
ThreadChannel
- THREAD_WITH_THIS_MESSAGE_ALREADY_EXISTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ThreadChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents Discord Message Threads of all kinds.
- ThreadChannel.AutoArchiveDuration - Enum in net.dv8tion.jda.api.entities.channel.concrete
-
The values permitted for the auto archive duration of a
ThreadChannel
. - ThreadChannelAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aThreadChannel
. - ThreadChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality common for all
ThreadChannels
. - ThreadChannelPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the thread members endpoint. - ThreadCreateMetadata - Class in net.dv8tion.jda.api.requests.restaction
-
Metadata used to create a thread through a
webhook message
. - ThreadCreateMetadata(String) - Constructor for class net.dv8tion.jda.api.requests.restaction.ThreadCreateMetadata
-
Create a new thread metadata instance.
- ThreadHiddenEvent - Class in net.dv8tion.jda.api.events.thread
-
This event is dispatched when a
ThreadChannel
that JDA did have access to is now inaccessible (due to permissions). - ThreadHiddenEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.ThreadHiddenEvent
- ThreadLocalReason - Class in net.dv8tion.jda.api.audit
-
Thread-Local audit-log reason used automatically by
AuditableRestAction
instances when no other reason was set. - ThreadLocalReason.Closable - Class in net.dv8tion.jda.api.audit
-
Allows to use try-with-resources blocks for setting reasons
- ThreadMember - Interface in net.dv8tion.jda.api.entities
-
A
ThreadMember
represents aMember's
participation in a Thread. - ThreadMemberJoinEvent - Class in net.dv8tion.jda.api.events.thread.member
-
Indicates that a guild
Member
joined aThreadChannel
. - ThreadMemberJoinEvent(JDA, long, ThreadChannel, ThreadMember) - Constructor for class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
- ThreadMemberLeaveEvent - Class in net.dv8tion.jda.api.events.thread.member
-
Indicates that a guild
Member
left aThreadChannel
. - ThreadMemberLeaveEvent(JDA, long, ThreadChannel, long, ThreadMember) - Constructor for class net.dv8tion.jda.api.events.thread.member.ThreadMemberLeaveEvent
- ThreadMemberPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the thread members endpoint. - ThreadPoolProvider<T> - Interface in net.dv8tion.jda.api.sharding
-
Called by
DefaultShardManager
when building a JDA instance. - ThreadPoolProvider.LazySharedProvider<T> - Class in net.dv8tion.jda.api.sharding
- ThreadRevealedEvent - Class in net.dv8tion.jda.api.events.thread
-
This event is dispatched when a
ThreadChannel
that JDA didn't previously have access to (due to permissions) is now visible. - ThreadRevealedEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.ThreadRevealedEvent
- Thumbnail(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
- TIER_1 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The first tier.
- TIER_2 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The second tier.
- TIER_3 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The third tier.
- TIME_1_HOUR - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
- TIME_1_WEEK - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
- TIME_24_HOURS - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
- TIME_3_DAYS - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
- TIME_LONG - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats time as
18:49:26
or6:49:26 PM
- TIME_SHORT - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats time as
18:49
or6:49 PM
- TimeFormat - Enum in net.dv8tion.jda.api.utils
-
Utility enum used to provide different markdown styles for timestamps.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.managers.Manager
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.FluentRestAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Timeout for this RestAction instance.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CacheRestAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Timeout for this RestAction instance.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- timeout(Duration) - Method in class net.dv8tion.jda.api.utils.Once.Builder
-
Sets the timeout duration, after which the event is no longer listener for.
- timeout(Duration, Runnable) - Method in class net.dv8tion.jda.api.utils.Once.Builder
-
Sets the timeout duration, after which the event is no longer listener for, and the callback is run.
- TIMEOUT - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Times out the user for the specified duration.
- timeoutFor(long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
for a specific amount of time. - timeoutFor(Duration) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
for a specific amount of time. - timeoutFor(UserSnowflake, long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutFor(UserSnowflake, Duration) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutMember(Duration) - Static method in interface net.dv8tion.jda.api.entities.automod.AutoModResponse
-
Create a response that will timeout the user for the specified duration.
- timeoutUntil(TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
until the specified date. - timeoutUntil(UserSnowflake, TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
until the specified date. - Timestamp - Class in net.dv8tion.jda.api.utils
-
Utility class representing Discord Markdown timestamps.
- TIMESTAMP_OFFSET - Static variable in class net.dv8tion.jda.api.utils.TimeUtil
- Timestamps(long, long) - Constructor for class net.dv8tion.jda.api.entities.Activity.Timestamps
- TimeUtil - Class in net.dv8tion.jda.api.utils
-
Utility for various time related features of the API.
- TimeUtil() - Constructor for class net.dv8tion.jda.api.utils.TimeUtil
- TITLE_BLOCKED_BY_AUTOMOD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- TITLE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed title can have
- toAttachmentData(int) - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- toAttachmentData(int) - Method in interface net.dv8tion.jda.api.utils.AttachedFile
-
Used internally to build attachment descriptions for requests.
- toAttachmentData(int) - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- toAttachmentData(int) - Method in class net.dv8tion.jda.api.utils.FileUpload
- toBitField(Collection<Message.MessageFlag>) - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Converts a Collection of MessageFlags back to the integer representing the bitfield.
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractKeywordTriggerConfig
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.AbstractTriggerConfig
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.AutoModRuleData
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.CustomKeywordTriggerConfig
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.MentionSpamTriggerConfig
- toData() - Method in class net.dv8tion.jda.api.entities.automod.build.PresetKeywordTriggerConfig
- toData() - Method in interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
- toData() - Method in interface net.dv8tion.jda.api.entities.channel.forums.ForumTag
- toData() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
- toData() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Creates a new
DataObject
used for sending. - toData() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
- toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- toData() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The raw JSON object that was parsed from this update
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
- toData() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- toData() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- toData() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- toData() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toData() - Method in interface net.dv8tion.jda.api.utils.data.SerializableData
-
Serialized
DataObject
for this object. - toData() - Method in class net.dv8tion.jda.api.utils.messages.MessageCreateData
- toData() - Method in class net.dv8tion.jda.api.utils.messages.MessageEditData
- toData() - Method in class net.dv8tion.jda.api.utils.messages.MessagePollData
- toData(OptionType) - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- toDataArray() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toDataArray() - Method in interface net.dv8tion.jda.api.utils.data.SerializableArray
-
Serialized
DataArray
for this object. - toETF() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Serializes this object as ETF LIST term.
- toETF() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Serializes this object as ETF MAP term.
- toInstant() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Shortcut for
Instant.ofEpochMilli(getTimestamp())
. - toJson() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Serializes this object as JSON.
- toJson() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Serialize this object as JSON.
- toList() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Converts this DataArray to a
List
. - toLocale() - Method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
Creates a
Locale
from this DiscordLocale. - toMap() - Method in class net.dv8tion.jda.api.interactions.commands.localization.LocalizationMap
-
Gets the unmodifiable map representing this LocalizationMap.
- toMap() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Converts this DataObject to a
Map
- TOO_MANY_REACTIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- TOPIC - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The topic of the channel.
- TOPIC - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the topic field
- TOPIC - Static variable in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Used to reset the topic field
- toPrettyString() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toPrettyString() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toRaw(Collection<Member.MemberFlag>) - Static method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
The raw value of the provided
Flags
. - toString() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- toString() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
- toString() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- toString() - Method in enum net.dv8tion.jda.api.entities.channel.ChannelField
- toString() - Method in class net.dv8tion.jda.api.entities.channel.forums.ForumTagData
- toString() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
- toString() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- toString() - Method in class net.dv8tion.jda.api.entities.RoleConnectionMetadata
- toString() - Method in class net.dv8tion.jda.api.entities.templates.Template
- toString() - Method in class net.dv8tion.jda.api.entities.User.Profile
- toString() - Method in class net.dv8tion.jda.api.entities.VanityInvite
- toString() - Method in class net.dv8tion.jda.api.events.Event
- toString() - Method in class net.dv8tion.jda.api.events.guild.scheduledevent.update.GenericScheduledEventUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateGlobalNameEvent
- toString() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent
- toString() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
- toString() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
- toString() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.SlashCommandReference
- toString() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- toString() - Method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
- toString() - Method in class net.dv8tion.jda.api.interactions.modals.ModalMapping
- toString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
- toString() - Method in enum net.dv8tion.jda.api.Region
- toString() - Method in enum net.dv8tion.jda.api.requests.CloseCode
- toString() - Method in class net.dv8tion.jda.api.requests.Response
- toString() - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
- toString() - Method in class net.dv8tion.jda.api.requests.Route
- toString() - Method in class net.dv8tion.jda.api.utils.AttachmentUpdate
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toString() - Method in class net.dv8tion.jda.api.utils.FileUpload
- toString() - Method in class net.dv8tion.jda.api.utils.Result
- toString() - Method in class net.dv8tion.jda.api.utils.Timestamp
- transferOwnership(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Transfers the Guild ownership to the specified
Member
Only available if the currently logged in account is the owner of this Guild - TRIGGER_METADATA - Static variable in interface net.dv8tion.jda.api.managers.AutoModRuleManager
-
Used to reset the trigger metadata field.
- TriggerConfig - Interface in net.dv8tion.jda.api.entities.automod.build
-
Configuration for
AutoModRule
, which defines under what conditions the rule should be triggered. - tryLock(Lock) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Tries to acquire the provided lock in a 10 second timeframe.
- TURKISH - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- TWO_FACTOR_AUTH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- type(ActionType) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
ActionType
- TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Entity type (like channel type or webhook type)
- TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option indicating the type of an entity.
- TYPE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The
type
of the channel. - TYPE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the channel type field
U
- UKRAINIAN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- UNAUTHORIZED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UnavailableGuildJoinedEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
that is not yet available. - UnavailableGuildJoinedEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
- UnavailableGuildLeaveEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you left a
Guild
that is not yet available. - UnavailableGuildLeaveEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
- unban(UserSnowflake) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Unbans the specified
UserSnowflake
from this Guild. - UNBAN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unbanned a user.
- UNBAN - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- underline(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing underline regions in the input and applies underline formatting to the entire string.
- UNDERLINE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Underline region such as "__Hello__"
- UNICODE - Enum constant in enum net.dv8tion.jda.api.entities.emoji.Emoji.Type
-
Standard Unicode Emoji.
- UnicodeEmoji - Interface in net.dv8tion.jda.api.entities.emoji
-
Represents a standard unicode emoji such as 😃 (client alias:
:smiley:
). - UnifiedMemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
Placeholder for unknown types which haven't been added yet.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Placeholder for unknown types.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Placeholder for unknown values.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
Placeholder for unknown trigger types that haven't been added yet.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
Placeholder for possible future order modes.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Unknown Discord channel type.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Placeholder for future layout types.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
Placeholder for a new type that is not yet supported here
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Placeholder for unsupported types.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Placeholder for future tiers.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Placeholder for unsupported levels.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Placeholder for unsupported IconTypes
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Unknown Discord invite target type.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Represents any unknown or unsupported
MessageActivity
types. - UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Unknown MessageType.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
Unknown future types that may be added by Discord which aren't represented in JDA yet.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Placeholder for future privacy levels, indicates that this version of JDA does not support this privacy level yet
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
Represents any unknown or unsupported format types.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
Placeholder for future stickers which are currently unsupported.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Placeholder for future states
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Placeholder for future types
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.WebhookType
-
Placeholder for unsupported types
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Placeholder for future option types
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Placeholder for future styles
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Placeholder for possible future online status values that are not listed here yet.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.Permission
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.Region
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- UNKNOWN_ACCOUNT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_APPLICATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BAN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BRANCH - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_CHANNEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_COMMAND - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_COMMAND_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_DISCOVERABLE_SERVER_CATEGORY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_EMOJI - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ENTITLEMENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_GIFT_CODE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_MEMBER_VERIFICATION_FORM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_TEMPLATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_WELCOME_SCREEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INTEGRATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INTERACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INVITE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_LOBBY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MEMBER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_OPCODE - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_OVERRIDE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_PREMIUM_SERVER_SUBSCRIBE_COOLDOWN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_PROVIDER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_REDISTRIBUTABLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ROLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SCHEDULED_EVENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SCHEDULED_EVENT_USER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SESSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SKU - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STAGE_INSTANCE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STICKER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STORE_DIRECTORY_LAYOUT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STORE_LISTING - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STREAM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_TAG - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_UPLOADED_FILE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_USER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_VOICE_STATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_WEBHOOK - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_WEBHOOK_SERVICE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UnknownNullability - Annotation Type in net.dv8tion.jda.annotations
- unloadMember(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Attempts to remove the user with the provided id from the member cache.
- unloadUnless(MemberCachePolicy) - Method in class net.dv8tion.jda.api.utils.cache.LRUMemberCachePolicy
-
Configure when to unload a member.
- unloadUser(long) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to remove the user with the provided id from the cache.
- unpack(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java object.
- unpackList(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java
List
. - unpackMap(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java
Map
. - unpin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to remove the Message from the
MessageChannel's
pinned message list. - unpinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Used to unpin a message.
- unpinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
-
Used to unpin a message.
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- unregister(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Removes the specified listener
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- UPDATE_COMMANDS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- UPDATE_GUILD_COMMANDS - Static variable in class net.dv8tion.jda.api.requests.Route.Interactions
- UPDATE_INSTANCE - Static variable in class net.dv8tion.jda.api.requests.Route.StageInstances
- UPDATE_ONBOARDING_MISSING_REQUIREMENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UPDATE_ROLE_CONNECTION_METADATA - Static variable in class net.dv8tion.jda.api.requests.Route.Applications
- UPDATE_RULE - Static variable in class net.dv8tion.jda.api.requests.Route.AutoModeration
- UPDATE_VOICE_STATE - Static variable in class net.dv8tion.jda.api.requests.Route.Guilds
- updateCommands() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Configures the complete list of guild commands.
- updateCommands() - Method in interface net.dv8tion.jda.api.JDA
-
Configures the complete list of global commands.
- updateComponent(String, ItemComponent) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this layout.
- updateComponent(List<? extends LayoutComponent>, String, ItemComponent) - Static method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this list of layouts.
- updateComponent(List<? extends LayoutComponent>, ItemComponent, ItemComponent) - Static method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this list of layouts.
- updateComponent(ItemComponent, ItemComponent) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this layout.
- UpdateEvent<E,
T> - Interface in net.dv8tion.jda.api.events -
Indicates that a value of an entity was updated
- updateRoleConnectionMetadata(Collection<? extends RoleConnectionMetadata>) - Method in interface net.dv8tion.jda.api.JDA
-
Updates the currently configured
RoleConnectionMetadata
records for this application. - upsertCommand(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates or updates a slash command.
- upsertCommand(String, String) - Method in interface net.dv8tion.jda.api.JDA
-
Creates or updates a global slash command.
- upsertCommand(CommandData) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates or updates a command.
- upsertCommand(CommandData) - Method in interface net.dv8tion.jda.api.JDA
-
Creates or updates a global command.
- upsertPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
-
Creates a new override or updates an existing one.
- URGENT - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this Message came from the urgent message system
- URL_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length any URL can have inside an embed
- URL_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button url can have
- URL_PATTERN - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- US_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- US_EAST - Enum constant in enum net.dv8tion.jda.api.Region
- US_SOUTH - Enum constant in enum net.dv8tion.jda.api.Region
- US_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- USE_APPLICATION_COMMANDS - Enum constant in enum net.dv8tion.jda.api.Permission
- USE_EMBEDDED_ACTIVITIES - Enum constant in enum net.dv8tion.jda.api.Permission
- USE_EXTERNAL_APPLICATIONS - Enum constant in enum net.dv8tion.jda.api.Permission
- useCache(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CacheRestAction
-
Sets whether this request should rely on cached entities, or always retrieve a new one.
- user(long) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.USER
with the provided id. - user(String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a user context menu command builder.
- user(String) - Static method in class net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.DefaultValue
-
Creates a default value of type
EntitySelectMenu.SelectTarget.USER
with the provided id. - user(UserSnowflake) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
UserSnowflake
. - user(UserSnowflake) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction
-
Filter
Entitlement
s to retrieve by the given user ID - User - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord User.
- USER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withJDA.getUserById(String)
- USER - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.SelectTarget
- USER_AGENT - Static variable in class net.dv8tion.jda.api.requests.RestConfig
-
The User-Agent used by JDA for all REST-api requests.
- USER_BANNED_FROM_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- USER_GIFT - Enum constant in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Entitlement was gifted by another user
- USER_LIMIT - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The maximum user count of this channel.
- USER_MUST_BE_VERIFIED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- USER_NOT_CONNECTED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- USER_SELECT - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu of users
- USER_SUBSCRIPTION - Enum constant in enum net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction.OwnerType
- USER_TAG - Static variable in interface net.dv8tion.jda.api.entities.User
-
Compiled pattern for a Discord Tag:
(.{2,32})#(\d{4})
- User.Profile - Class in net.dv8tion.jda.api.entities
-
Represents the information contained in a
User
's profile. - User.UserFlag - Enum in net.dv8tion.jda.api.entities
-
Represents the bit offsets used by Discord for public flags
- UserActivityEndEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityEndEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- UserActivityStartEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityStartEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- UserAudio - Class in net.dv8tion.jda.api.audio
-
Represents a packet of User specific audio.
- UserAudio(User, short[]) - Constructor for class net.dv8tion.jda.api.audio.UserAudio
- UserContextInteraction - Interface in net.dv8tion.jda.api.interactions.commands.context
-
Interaction with a user context menu command
- UserContextInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a user context command was used.
- UserContextInteractionEvent(JDA, long, UserContextInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- USERLIMIT - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the userlimit field
- Users() - Constructor for class net.dv8tion.jda.api.requests.Route.Users
- UserSnowflake - Interface in net.dv8tion.jda.api.entities
-
Represents an abstract user reference by only the user ID.
- UserTypingEvent - Class in net.dv8tion.jda.api.events.user
-
Indicates that a
User
started typing. - UserTypingEvent(JDA, long, User, MessageChannel, OffsetDateTime, Member) - Constructor for class net.dv8tion.jda.api.events.user.UserTypingEvent
- UserUpdateActivitiesEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the activities of a guild member changed.
- UserUpdateActivitiesEvent(JDA, long, Member, List<Activity>) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- UserUpdateActivityOrderEvent - Class in net.dv8tion.jda.api.events.user.update
- UserUpdateActivityOrderEvent(JDA, long, List<Activity>, Member) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- UserUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the Avatar of a
User
changed. - UserUpdateAvatarEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- UserUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the discriminator of a
User
changed. - UserUpdateDiscriminatorEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- UserUpdateFlagsEvent - Class in net.dv8tion.jda.api.events.user.update
- UserUpdateFlagsEvent(JDA, long, User, EnumSet<User.UserFlag>) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- UserUpdateGlobalNameEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the
global name
of aUser
changed. - UserUpdateGlobalNameEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent
- UserUpdateNameEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the username of a
User
changed. - UserUpdateNameEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- UserUpdateOnlineStatusEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the
OnlineStatus
of aUser
changed. - UserUpdateOnlineStatusEvent(JDA, long, Member, OnlineStatus) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- useSharding(int, int) - Method in class net.dv8tion.jda.api.JDABuilder
-
This will enable sharding mode for JDA.
V
- value() - Element in annotation type net.dv8tion.jda.annotations.DeprecatedSince
- value() - Element in annotation type net.dv8tion.jda.annotations.ReplaceWith
- VALUE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed field value can have
- VALUE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The maximum length a select option value can have
- valueOf(String) - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.emoji.Emoji.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageReaction.ReactionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.events.session.SessionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.GatewayEncoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.PrivilegeTargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.SelectTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.InteractionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Permission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Region
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction.OwnerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModEventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModResponse.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModRule.KeywordPreset
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.automod.AutoModTriggerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.attribute.IPostContainer.SortOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ForumChannel.Layout
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel.AutoArchiveDuration
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.emoji.Emoji.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Entitlement.EntitlementType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Member.MemberFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageReaction.ReactionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageReference.MessageReferenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.messages.MessagePoll.LayoutType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.RoleConnectionMetadata.MetadataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.StickerFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.sticker.Sticker.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.TeamMember.RoleType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.events.session.SessionState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.GatewayEncoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.IntegrationPrivilege.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.PrivilegeTargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu.SelectTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.text.TextInputStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.DiscordLocale
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.InteractionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Permission
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Region
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.restaction.TestEntitlementCreateAction.OwnerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Collection
of all values in this DataObject. - values() - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VanityInvite - Class in net.dv8tion.jda.api.entities
-
Meta data for the vanity invite of a guild
- VanityInvite(String, int) - Constructor for class net.dv8tion.jda.api.entities.VanityInvite
- VERIFICATION_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- VERIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the verification level field
- VERIFICATION_PENDING_GUILD_LIMIT - Enum constant in enum net.dv8tion.jda.api.entities.ApplicationInfo.Flag
-
Indicates unusual growth of an app that prevents verification
- VERIFIED_BOT - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- VERIFIED_DEVELOPER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_CLASSIFIER - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MAJOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MINOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_REVISION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERY_HIGH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- VIDEO - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- VideoInfo(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
- VIETNAMESE - Enum constant in enum net.dv8tion.jda.api.interactions.DiscordLocale
- VIEW_AUDIT_LOGS - Enum constant in enum net.dv8tion.jda.api.Permission
- VIEW_CHANNEL - Enum constant in enum net.dv8tion.jda.api.Permission
- VIEW_CREATOR_MONETIZATION_ANALYTICS - Enum constant in enum net.dv8tion.jda.api.Permission
- VIEW_GUILD_INSIGHTS - Enum constant in enum net.dv8tion.jda.api.Permission
- VIP_BRAZIL - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_HONG_KONG - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_INDIA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_JAPAN - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_MILAN - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_ROTTERDAM - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_RUSSIA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SINGAPORE - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SOUTH_AFRICA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SOUTH_KOREA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SYDNEY - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_EAST - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_SOUTH - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- VOICE - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- VOICE - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelType
-
A
VoiceChannel
, Guild-Only. - VOICE - Enum constant in enum net.dv8tion.jda.api.entities.ScheduledEvent.Type
-
An event inside a
VoiceChannel
- VOICE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache members who are connected to a voice channel.
- VOICE_CHANNEL_STATUS_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user removed the
status
of a voice channel. - VOICE_CHANNEL_STATUS_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user updated the
status
of a voice channel. - VOICE_CONNECT - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_DEAF_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_MESSAGE_ADDITIONAL_CONTENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- VOICE_MESSAGE_MISSING_METADATA - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- VOICE_MESSAGE_TOO_MANY_AUDIO_ATTACHMENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- VOICE_MOVE_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_MUTE_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_SET_STATUS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_SPEAK - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_STATE - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getVoiceState()
This will always be cached for self member. - VOICE_STATUS - Enum constant in enum net.dv8tion.jda.api.entities.channel.ChannelField
-
The status of the channel.
- VOICE_STREAM - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_USE_EXTERNAL_SOUNDS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_USE_SOUNDBOARD - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_USE_VAD - Enum constant in enum net.dv8tion.jda.api.Permission
- VoiceChannel - Interface in net.dv8tion.jda.api.entities.channel.concrete
-
Represents a Discord Voice GuildChannel.
- VoiceChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing methods to modify a
VoiceChannel
. - VoiceDispatchInterceptor - Interface in net.dv8tion.jda.api.hooks
-
Interceptor used to handle critical voice dispatches.
- VoiceDispatchInterceptor.VoiceServerUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice Server Update
- VoiceDispatchInterceptor.VoiceStateUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice State Update
- VoiceDispatchInterceptor.VoiceUpdate - Interface in net.dv8tion.jda.api.hooks
-
Abstraction for all relevant voice updates
- VoiceServerUpdate(Guild, String, String, String, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- VoiceStateUpdate(AudioChannel, GuildVoiceState, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
W
- WAITING_TO_RECONNECT - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
When trying to reconnect to Discord JDA encountered an issue, most likely related to a lack of internet connection, and is waiting to try reconnecting again.
- wasHoisted() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
-
Whether the role was hoisted
- wasMentionable() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
-
Whether the role was mentionable
- wasMfaEnabled() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
-
Whether MFA was previously enabled or not
- wasVerified() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
-
Whether the account was verified
- watching(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- WATCHING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asWatching...
in the official client. - WEB - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
Discord from the browser (or bot)
- Webhook - Interface in net.dv8tion.jda.api.entities
-
An object representing Webhooks in Discord
- WEBHOOK - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- WEBHOOK_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- WEBHOOK_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Webhook
. - WEBHOOK_FORUM_POST_WITHOUT_THREAD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- WEBHOOK_ICON - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getDefaultUser()
's avatar hash of a Webhook. - WEBHOOK_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getName()
value. - WEBHOOK_POST_WITH_THREAD_NAME_AND_ID - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- WEBHOOK_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Webhook
. - WEBHOOK_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Webhook
. - WEBHOOK_URL - Static variable in interface net.dv8tion.jda.api.entities.Webhook
-
Pattern for a Webhook URL.
- Webhook.ChannelReference - Class in net.dv8tion.jda.api.entities
-
Partial Channel which references the source channel for a follower webhook.
- Webhook.GuildReference - Class in net.dv8tion.jda.api.entities
-
Partial Guild which references the source guild for a follower webhook.
- Webhook.WebhookReference - Class in net.dv8tion.jda.api.entities
- WebhookAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Webhook
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createWebhooks
. - WebhookClient<T> - Interface in net.dv8tion.jda.api.entities
-
Interface which allows sending messages through the webhooks API.
- WebhookManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Webhook
. - WebhookMessageCreateAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of a default
RestAction
that allows setting message information before sending! - WebhookMessageDeleteAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Request to delete a message from a webhook.
- WebhookMessageEditAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
- WebhookMessageRetrieveAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Request to fetch a message from a webhook.
- WebhookReference(JDA, long, long) - Constructor for class net.dv8tion.jda.api.entities.Webhook.WebhookReference
- Webhooks() - Constructor for class net.dv8tion.jda.api.requests.Route.Webhooks
- WebhookType - Enum in net.dv8tion.jda.api.entities
-
Types of webhooks.
- WEBP - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
WEBP
- WHITESPACE - Static variable in interface net.dv8tion.jda.api.utils.SplitUtil.Strategy
-
Splits on every character which is considered
whitespace
. - Widget - Interface in net.dv8tion.jda.api.entities
-
Represents a guild's widget
- WIDGET_HTML - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_PNG - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_URL - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- Widget.Member - Interface in net.dv8tion.jda.api.entities
-
Represents a member of a guild
- Widget.VoiceChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a voice channel
- Widget.VoiceState - Interface in net.dv8tion.jda.api.entities
-
Represents a
Member's
voice state - WidgetUtil - Class in net.dv8tion.jda.api.utils
-
The WidgetUtil is a class for interacting with various facets of Discord's guild widgets
- WidgetUtil() - Constructor for class net.dv8tion.jda.api.utils.WidgetUtil
- WidgetUtil.BannerType - Enum in net.dv8tion.jda.api.utils
-
Represents the available banner types
Each of these has a different appearance: - WidgetUtil.WidgetTheme - Enum in net.dv8tion.jda.api.utils
-
Represents the color scheme of the widget
These color themes match Discord's dark and light themes - withActiveMemberCache(boolean) - Method in class net.dv8tion.jda.api.utils.cache.LRUMemberCachePolicy
- withActiveMemberCache(int) - Method in class net.dv8tion.jda.api.utils.cache.LRUMemberCachePolicy
- withClient(OkHttpClient) - Method in class net.dv8tion.jda.api.utils.FileProxy
-
Sets the custom OkHttpClient used by this instance, regardless of if
FileProxy.setDefaultHttpClient(OkHttpClient)
has been used or not. - withDefault(boolean) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed default.
- withDescription(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed description of this option.
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Returns a copy of this component with
ActionComponent.isDisabled()
set to the provided value. - withDisabled(boolean) - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Returns a new instance of this LayoutComponent with all components set to disabled/enabled.
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.selections.EntitySelectMenu
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.text.TextInput
- withEmoji(Emoji) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the attached Emoji.
- withEmoji(Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed emoji.
- withId(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided id.
- withIgnored(int) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Specific regions to ignore.
- withLabel(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided label.
- withLabel(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed label.
- withQueryParams(String...) - Method in class net.dv8tion.jda.api.requests.Route.CompiledRoute
-
Returns a copy of this CompiledRoute with the provided parameters added as query.
- withSku(SkuSnowflake) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided SKU.
- withState(String) - Method in interface net.dv8tion.jda.api.entities.Activity
-
Adds the provided state to the activity.
- withStrategy(MarkdownSanitizer.SanitizationStrategy) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Switches the used
MarkdownSanitizer.SanitizationStrategy
. - withStyle(ButtonStyle) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided style.
- withUrl(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided url.
- withValue(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed value.
Z
- ZERO_WIDTH_SPACE - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- zip(RestAction<? extends T>, RestAction<? extends T>...) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Accumulates this RestAction with the provided actions into a
List
. - ZLIB - Enum constant in enum net.dv8tion.jda.api.utils.Compression
-
Use ZLIB transport compression
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
GatewayIntent.GUILD_EXPRESSIONS