Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractKeywordTriggerConfig<B extends AbstractKeywordTriggerConfig<B>> - Class in net.dv8tion.jda.api.entities.automod.build
-
Abstract for all keyword trigger types.
- AbstractMessageBuilder<T,
R extends AbstractMessageBuilder<T, R>> - Class in net.dv8tion.jda.api.utils.messages -
Abstract builder implementation of
MessageRequest
. - AbstractThreadCreateAction<T,
R extends AbstractThreadCreateAction<T, R>> - Interface in net.dv8tion.jda.api.requests.restaction -
Common features of all
RestActions
that create a new thread. - AbstractTriggerConfig<B extends AbstractTriggerConfig<B>> - Class in net.dv8tion.jda.api.entities.automod.build
-
Abstract base class for all trigger configurations.
- AbstractWebhookMessageAction<T,
R extends 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 extends AudioChannel,
M extends 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 extends GuildChannel> - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aGuildChannel
. - ChannelCacheView<T extends Channel> - 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 extends GuildChannel,
M extends 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 in net.dv8tion.jda.api.exceptions
-
Used to pass a context to async exception handling for debugging purposes.
- ContextException() - Constructor for exception 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 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 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 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 extends FluentAuditableRestAction<T, R>> - Interface in net.dv8tion.jda.api.requests.restaction -
Interface used to mixin the customization parameters for
AuditableRestActions
. - FluentRestAction<T,
R extends 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 extends SelectMenu> - 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 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 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 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.