Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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.
- AccountTypeException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that an operation is not possible unless the
AccountType
matches the one provided inAccountTypeException.getRequiredType()
- AccountTypeException(AccountType) - Constructor for exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- AccountTypeException(AccountType, String) - Constructor for exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- 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
- 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.Emoji - Class in net.dv8tion.jda.api.entities
-
Emoji for a custom status.
- 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.
- addActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add a single
ActionRow
to the message. - addActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add one
ActionRow
for the message. - addActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add a single
ActionRow
to the message. - addActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add one
ActionRow
for the message. - addActionRows(Collection<? extends ActionRow>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add
ActionRows
to the message. - addActionRows(Collection<? extends ActionRow>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add
ActionRows
for the message. - addActionRows(ActionRow...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add
ActionRows
to the message. - addActionRows(ActionRow...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add
ActionRows
for the message. - 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.
- addBlankField(boolean) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Adds a blank (empty) Field to the embed.
- 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.RestAction
-
Shortcut for
setCheck(() -> getCheck().getAsBoolean() && checks.getAsBoolean())
. - 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
- 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
- addEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add
MessageEmbeds
for the message - addEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add
MessageEmbeds
to this message - addEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Add
MessageEmbeds
for the message - addEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Add
MessageEmbeds
to this message - 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.
- 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.
- addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Adds the provided
byte[]
as file data. - addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Adds the provided
byte[]
as file data. - addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Adds the provided byte[] as file data.
- addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Adds the provided byte[] as file data.
- addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Adds the provided
byte[]
as file data. - addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Adds the provided
File
. - addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Adds the provided
File
. - addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Adds the provided
File
as file data. - addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Adds the provided
File
as file data. - addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Adds the provided
File
. - addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Adds the provided
File
. - addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Adds the provided
File
. - addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Adds the provided
File
as file data. - addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Adds the provided
File
as file data. - addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Adds the provided
File
. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Adds the provided
InputStream
as file data. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Adds the provided
InputStream
as file data. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Adds the provided
InputStream
as file data. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Adds the provided
InputStream
as file data. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Adds the provided
InputStream
as file data. - addMember(String, long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Adds the user represented by the provided id to this guild.
- addMember(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Adds the user represented by the provided id to this guild.
- addMember(String, User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Adds the provided user to this guild.
- 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.SelectMenu.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.SelectMenu.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.SelectMenu.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.SelectMenu.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.SelectMenu.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.SelectMenu.Builder
-
Adds up to 25 possible options to this select menu.
- 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(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Adds a reaction to this Message using a unicode emoji.
- addReaction(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
-
Adds a reaction to this Message using an
Emote
. - addReactionById(long, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(String, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.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(long, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically assigns the provided
Role
to the specified member by their user id. - addRoleToMember(String, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically assigns the provided
Role
to the specified member by their user id. - addRoleToMember(Member, 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. - addThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Adds a member to this thread.
- addThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Adds a member to this thread.
- addThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Adds a member to this thread.
- addThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Adds a member to this thread.
- 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_CHANNEL_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
All permissions that apply to a channel
- ALL_GUILD_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
All Guild specific permissions which are only available to roles
- 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
- ALL_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
Represents a raw set of all permissions
- ALL_TEXT_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
All text channel specific permissions which are only available in text channel permission overrides
- ALL_VOICE_PERMISSIONS - Static variable in enum net.dv8tion.jda.api.Permission
-
All voice channel specific permissions which are only available in voice channel permission overrides
- 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
- allowedMentions(Collection<Message.MentionType>) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Sets the
MentionTypes
that should be parsed. - AllowedMentions<R> - Interface in net.dv8tion.jda.api.utils
-
Represents the operations used to whitelist/blacklist mentions.
- allowMentions(Message.MentionType...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
MentionTypes
to the whitelist. - 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
- AMSTERDAM - Enum constant in enum net.dv8tion.jda.api.Region
- 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
- 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.MessageBuilder.SplitPolicy
-
Splits exactly after 2000 chars.
- APNG - Enum constant in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
The APNG format.
- append(char) - Method in class net.dv8tion.jda.api.MessageBuilder
- append(char) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- append(CharSequence) - Method in class net.dv8tion.jda.api.MessageBuilder
- append(CharSequence) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- append(CharSequence, int, int) - Method in class net.dv8tion.jda.api.MessageBuilder
- append(CharSequence, int, int) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- append(CharSequence, MessageBuilder.Formatting...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Appends a String using the specified chat
Formatting(s)
. - append(Object) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Appends the string representation of an object to the Message.
- append(IMentionable) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Appends a mention to the Message.
- appendCodeBlock(CharSequence, CharSequence) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Appends a code-block to the Message.
- appendCodeLine(CharSequence) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Appends a code-line to the Message.
- appendDescription(CharSequence) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Appends to the description of the embed.
- appendFormat(String, Object...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
This method is an extended form of
String.format(String, Object...)
. - appendFormat(String, Object...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Applies the result of
String.format(String, Object...)
as content. - 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_ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The id for an authorized application (webhook/bot/integration)
- ApplicationInfo - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Application from its bot's point of view.
- ApplicationTeam - Interface in net.dv8tion.jda.api.entities
-
Meta-data for the team of an application.
- apply(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Applies the sendable information of the provided
Message
to this MessageAction settings. - 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
- applyMessage(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Applies the sendable information of the provided
Message
to this message action settings. - applyMessage(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Applies the
Message
to overwrite the existing message. - 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.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.ChannelField
-
The time this channel's archival information was last updated.
- ARRAY - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- 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.SelectMenu
- 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.SelectMenu
- asList() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable snapshot of the current cache state.
- 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
- 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
- Attachment(long, String, String, String, String, String, int, int, int, boolean, JDAImpl) - Constructor for class net.dv8tion.jda.api.entities.Message.Attachment
- AttachmentOption - Enum in net.dv8tion.jda.api.utils
-
Options that can be applied to attachments in
MessageAction
. - 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
-
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 - 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, only available to accounts of
AccountType.BOT
- 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, 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.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
- 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
- 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
. - 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
- ban(int) - 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(int, String) - 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(String, int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the user specified by the userId and deletes messages sent by the user based on the amount of delDays.
- ban(String, int, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the user specified by the userId and deletes messages sent by the user based on the amount of delDays.
- ban(Member, int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the
Member
and deletes messages sent by the user based on the amount of delDays. - ban(Member, int, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the
Member
and deletes messages sent by the user based on the amount of delDays. - ban(User, int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the
Member
and deletes messages sent by the user based on the amount of delDays. - ban(User, int, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Bans the
User
and deletes messages sent by the user based on the amount of delDays. - 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_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- 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.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
- BaseGuildMessageChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a standard
Guild
MessageChannel
. - BaseGuildMessageChannelManager<T extends BaseGuildMessageChannel,
M extends BaseGuildMessageChannelManager<T, M>> - Interface in net.dv8tion.jda.api.managers.channel.middleman -
Manager providing functionality common for all
BaseGuildMessageChannels
. - 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.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 - Enum constant in enum net.dv8tion.jda.api.MessageBuilder.Formatting
- BLOCK - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Codeblock region such as "```Hello```"
- 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 - Enum constant in enum net.dv8tion.jda.api.MessageBuilder.Formatting
- 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
- BOOST_PROGRESS_BAR_ENABLED - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the premium progress bar enabled field
- 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.components.selections.SelectMenu.Builder
-
Creates a new
SelectMenu
instance if all requirements are satisfied. - 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.MessageBuilder
-
Creates a
Message
object from this MessageBuilder - 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(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Builds a new
ShardManager
instance. - buildAll(MessageBuilder.SplitPolicy...) - Method in class net.dv8tion.jda.api.MessageBuilder
- 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
.
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 interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Idempotent (ideally pure) function which decided whether to cache the provided member or not.
- 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.
- cancel() - Method in class net.dv8tion.jda.api.requests.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
- cancelRequests() - Method in interface net.dv8tion.jda.api.JDA
-
Cancels all currently scheduled
RestAction
requests. - cancelRequestToSpeak() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Cancels the
Request-to-Speak
. - cancelRequestToSpeak() - Method in interface net.dv8tion.jda.api.entities.StageChannel
-
Cancels the
Request-to-Speak
. - canDecode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Whether
OpusPacket.decode()
is possible. - canInteract(Emote) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided
Emote
(use in a message) - canInteract(Member) - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether the specified Member can interact with this Emote
- 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.Emote
-
Whether the specified User can interact with this Emote within the provided MessageChannel
Same logic ascanInteract(issuer, channel, true)
! - canInteract(User, MessageChannel, boolean) - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether the specified User can interact with this Emote within the provided MessageChannel
Special override to exclude elevated bot permissions in case of (for instance) reacting to messages. - CANNOT_DELETE_CHANNEL_COMMUNITY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- CANNOT_MESSAGE_VC - 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_TO_USER - 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()
. - canProvideRoles() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether this Emote has an attached roles list.
- 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.GuildMessageChannel
- canTalk() - Method in interface net.dv8tion.jda.api.entities.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.GuildMessageChannel
-
Whether the specified
Member
can send messages in this channel. - Category - Interface in net.dv8tion.jda.api.entities
-
Represents a channel category in the official Discord API.
- CATEGORY - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
Category
, Guild-Only. - CategoryManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
- 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 - Interface in net.dv8tion.jda.api.entities
-
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
TextChannel
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 - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the channel field
- 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_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted a
GuildChannel
. - 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_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
TextChannel.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_SLOWMODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
TextChannel.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_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
. - ChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel
- 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
- ChannelDeleteEvent(JDA, long, Channel) - Constructor for class net.dv8tion.jda.api.events.channel.ChannelDeleteEvent
- ChannelField - Enum in net.dv8tion.jda.api.entities
-
This enum represents the attributes of a channel that can be modified by events.
- 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
- ChannelType - Enum in net.dv8tion.jda.api.entities
-
Enum used to differentiate between the different types of Discord channels.
- ChannelUpdateArchivedEvent - Class in net.dv8tion.jda.api.events.channel.update
- 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
- 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
- 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
- ChannelUpdateBitrateEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateBitrateEvent
- ChannelUpdateInvitableEvent - Class in net.dv8tion.jda.api.events.channel.update
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- ChannelUpdateUserLimitEvent(JDA, long, Channel, Integer, Integer) - Constructor for class net.dv8tion.jda.api.events.channel.update.ChannelUpdateUserLimitEvent
- check(AccountType, AccountType) - Static method in exception net.dv8tion.jda.api.exceptions.AccountTypeException
- 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.MessageBuilder
-
Clears the current builder.
- 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
. - 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. - clearFiles() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
And closesFileInputStreams
generated byMessageAction.addFile(File, String, net.dv8tion.jda.api.utils.AttachmentOption...)
. - clearFiles(BiConsumer<String, InputStream>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
- clearFiles(Consumer<InputStream>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
TheMessageAction.clearFiles(BiConsumer)
version provides the resource name for more selective operations. - clearMentionedRoles() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes the whitelist of mentioned roles.
- clearMentionedUsers() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes the whitelist of mentioned users.
- clearMentions() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Combination of
MessageBuilder.clearMentionedRoles()
andMessageBuilder.clearMentionedUsers()
. - 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(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes all reactions for the specified emoji.
- clearReactions(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes all reactions for the specified emote.
- clearReactionsById(long) - Method in interface net.dv8tion.jda.api.entities.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, String) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- clearReactionsById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- clearReactionsById(String) - Method in interface net.dv8tion.jda.api.entities.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, String) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- clearReactionsById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Removes all reactions for the specified emoji.
- 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.requests.Response
- close() - Method in interface net.dv8tion.jda.api.utils.ClosableIterator
- close() - Method in class net.dv8tion.jda.api.utils.LockIterator
- 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.
- CLOUD_FLARE_LOAD - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- 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.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 a
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. - CommandPrivilege - Class in net.dv8tion.jda.api.interactions.commands.privileges
-
Privilege used to restrict access to a command within a
Guild
. - CommandPrivilege(CommandPrivilege.Type, boolean, long) - Constructor for class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
- CommandPrivilege.Type - Enum in net.dv8tion.jda.api.interactions.commands.privileges
-
The target type this privilege applies to.
- 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
- 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. - 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. - Component - Interface in net.dv8tion.jda.api.interactions.components
-
Component of a Message.
- 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.
- 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.
- content(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Overrides existing content with the provided input
The content of a Message may not exceed 2000! - 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
- 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(String) - Static method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
Creates a new
SelectMenu.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, 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_INSTANT_INVITE - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_PRIVATE_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- CREATE_PUBLIC_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- createCategory(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Category
in this Guild. - createCopy() - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.Category
- createCopy() - Method in interface net.dv8tion.jda.api.entities.ICopyableChannel
-
Creates a copy of the specified
GuildChannel
. - createCopy() - Method in interface net.dv8tion.jda.api.entities.NewsChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.Role
- createCopy() - Method in interface net.dv8tion.jda.api.entities.StageChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.StoreChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.TextChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
- 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(Guild) - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.Category
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.ICopyableChannel
-
Creates a copy of the specified
GuildChannel
in the specifiedGuild
. - createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.NewsChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.Role
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.StageChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.StoreChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.TextChannel
- createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
- 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.
- createEmote(String, Icon, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Emote
in this Guild. - 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.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.
- 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. - createPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- createRole() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Role
in this Guild. - 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.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.StageChannel
-
Create a new
StageInstance
for this stage channel. - createTemplate(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to create a new
Template
for this Guild. - createTextChannel(String) - Method in interface net.dv8tion.jda.api.entities.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. - createThreadChannel(String) - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
-
Creates a new, public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String) - Method in interface net.dv8tion.jda.api.entities.Message
- createThreadChannel(String, boolean) - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
-
Creates a new
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String, long) - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
-
Creates a new, public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createThreadChannel(String, String) - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
-
Creates a new, public
ThreadChannel
with the parent channel being thisIThreadContainer
. - createVoiceChannel(String) - Method in interface net.dv8tion.jda.api.entities.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.BaseGuildMessageChannel
-
Creates a new
Webhook
. - crosspost() - Method in interface net.dv8tion.jda.api.entities.Message
-
Attempts to crosspost this message.
- 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.NewsChannel
-
Attempts to crosspost the provided message.
- crosspostMessageById(String) - Method in interface net.dv8tion.jda.api.entities.NewsChannel
-
Attempts to crosspost the provided message.
- 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.
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.
- 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.
- 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
- 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.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.ChannelAction
- 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.GuildAction
- deadline(long) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
- 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.MessageAction
- 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.ThreadChannelAction
- 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(Member, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sets the Guild Deafened state state of the
Member
based on the provided boolean. - declineSpeaker() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Reject this members
request to speak
. - 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.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) 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
User.getDefaultAvatarUrl()
- 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_THREAD_FACTORY - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- 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, 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 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 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.Channel
-
TODO-v5: Revisit these docs Deletes this Channel.
- delete() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Deletes this Emote.
- 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.GuildChannel
-
TODO-v5: this override might not be needed anymore if we remove AuditableRestAction and instead place auditable hooks onto RestAction itself.
- 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.StageInstance
-
Deletes this stage instance
- 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_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. - 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.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.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.GuildMessageChannel
-
Bulk deletes a list of messages.
- deleteMessagesByIds(Collection<String>) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Bulk deletes a list of messages.
- deleteOriginal() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Delete the original reply.
- deleteWebhookById(String) - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
-
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.
- denyMentions(Message.MentionType...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes the provided
MentionTypes
from the whitelist. - 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.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
- 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.
- disable(Role) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided role.
- disable(User) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided user.
- 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.
- 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
. - disableRole(long) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided role.
- disableRole(String) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided role.
- disableUser(long) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided user.
- disableUser(String) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that denies access to the command for the provided user.
- 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.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. - DisconnectEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA has been disconnected from the remote server.
- DisconnectEvent(JDA, WebSocketFrame, WebSocketFrame, boolean, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.DisconnectEvent
- 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
- 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.
- downloadToFile() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Downloads the attachment into the current working directory using the file name provided by
Message.Attachment.getFileName()
. - downloadToFile(File) - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Downloads the attachment to a file at the specified path (relative or absolute).
- downloadToFile(String) - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Downloads the attachment to a file at the specified path (relative or absolute).
E
- EARLY_SUPPORTER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- 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's content to the provided String.
- editMessage(String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessage(Message) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided
Message
. - editMessage(Message) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IMessageEditCallback
-
Acknowledgement of this interaction with a message update.
- editMessageById(long, byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, InputStream, String, AttachmentOption...) - 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.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(long, Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, Message) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, InputStream, String, AttachmentOption...) - 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.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Edit an existing message sent by this webhook.
- editMessageById(String, Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, Message) - 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's content to the provided
LayoutComponents
. - editMessageComponents(LayoutComponent...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided
LayoutComponents
. - editMessageComponentsById(long, Collection<? extends LayoutComponent>) - Method in interface net.dv8tion.jda.api.entities.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.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.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.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's content to 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's content to 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.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.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.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.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's content to the provided format.
- 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.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.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(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(String) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- editOriginal(Message) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Edit the source message sent by this interaction.
- 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.
- 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
This limit depends on the currentAccountType
and applies to BOT - EMBED_MAX_LENGTH_CLIENT - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum amount of total visible characters an embed can have
This limit depends on the currentAccountType
and applies to CLIENT - 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_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 - Class in net.dv8tion.jda.api.entities
-
Represents a Discord Emoji.
- Emoji(String) - Constructor for class net.dv8tion.jda.api.entities.Activity.Emoji
- Emoji(String, long, boolean) - Constructor for class net.dv8tion.jda.api.entities.Activity.Emoji
- Emote - Interface in net.dv8tion.jda.api.entities
-
Represents a Custom Emote.
- EMOTE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- EMOTE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
Emote
The first group matches the name of the emote and the second the id of the mention. - EMOTE - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Guild.getEmoteCache()
- EMOTE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator created an
Emote
. - EMOTE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator deleted an
Emote
. - EMOTE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Emote.getName()
value. - EMOTE_ROLES_ADD - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles added to
Emote.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOTE_ROLES_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles remove from
Emote.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOTE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated an
Emote
. - EmoteAddedEvent - Class in net.dv8tion.jda.api.events.emote
- EmoteAddedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.api.events.emote.EmoteAddedEvent
- EmoteManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for an
Emote
. - EmoteRemovedEvent - Class in net.dv8tion.jda.api.events.emote
-
Indicates that an
Emote
was removed from a Guild. - EmoteRemovedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.api.events.emote.EmoteRemovedEvent
- EmoteUpdateNameEvent - Class in net.dv8tion.jda.api.events.emote.update
-
Indicates that the name of an
Emote
changed. - EmoteUpdateNameEvent(JDA, long, Emote, String) - Constructor for class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- EmoteUpdateRolesEvent - Class in net.dv8tion.jda.api.events.emote.update
-
Indicates that the role whitelist for an
Emote
changed. - EmoteUpdateRolesEvent(JDA, long, Emote, List<Role>) - Constructor for class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- 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(Role) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided role.
- enable(User) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided user.
- 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.
- 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
. - enableRole(long) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided role.
- enableRole(String) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided role.
- enableUser(long) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided user.
- enableUser(String) - Static method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
Creates a privilege that grants access to the command for the provided user.
- 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.
- 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.Emoji
- equals(Object) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- equals(Object) - Method in class net.dv8tion.jda.api.entities.Emoji
- 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.MessageReaction.ReactionEmote
- 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.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.CommandPrivilege
- equals(Object) - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- equals(Object) - Method in class net.dv8tion.jda.api.JDA.ShardInfo
- equals(Object) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- equals(Object) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- equals(Object) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- equals(Object) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- 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).
- EU_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- EU_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- EUROPE - Enum constant in enum net.dv8tion.jda.api.Region
- 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.
- execute(T) - Method in interface net.dv8tion.jda.api.utils.Procedure
- 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
F
- 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.MessageAction
-
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
- 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.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.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
- FILE_UPLOAD_MAX_SIZE_EXCEEDED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- filter(long) - Method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Decide whether the specified guild should chunk members.
- 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.
- 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
- follow(long) - Method in interface net.dv8tion.jda.api.entities.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- follow(String) - Method in interface net.dv8tion.jda.api.entities.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- follow(TextChannel) - Method in interface net.dv8tion.jda.api.entities.NewsChannel
-
Subscribes to the crossposted messages in this channel.
- 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
- 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
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.IMentionable
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
- 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.
- FRANKFURT - Enum constant in enum net.dv8tion.jda.api.Region
- 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(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
. - 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
- 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. - fromCustom(Emote) - Static method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
- fromData(DataObject) - Static method in class net.dv8tion.jda.api.entities.Emoji
-
Parses the provided JSON representation to an emoji instance.
- 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 interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
Inverse function for
SerializableData.toData()
which parses the serialized select menu data. - 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 - fromEmote(String, long, boolean) - Static method in class net.dv8tion.jda.api.entities.Emoji
-
Creates an emoji with the provided name.
- fromEmote(Emote) - Static method in class net.dv8tion.jda.api.entities.Emoji
-
Creates an emoji from the provided
Emote
- 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.
- 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.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.MessageSticker.StickerFormat
-
Resolves the specified format identifier to the StickerFormat enum constant.
- 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.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.User
-
Creates a User 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.
- 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.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.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.ThreadChannel.AutoArchiveDuration
- 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.CommandPrivilege.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.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.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.
- fromMarkdown(String) - Static method in class net.dv8tion.jda.api.entities.Emoji
-
Parses the provided markdown formatting to an Emoji instance.
- 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. - fromSortBucket(int) - Static method in enum net.dv8tion.jda.api.entities.ChannelType
-
An
EnumSet
populated with all channel types using the provided sorting bucket. - 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 class net.dv8tion.jda.api.entities.Emoji
-
Creates an emoji with the provided unicode.
- fromUnicode(String, JDA) - Static method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
G
- 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
- GenericChannelEvent - Class in net.dv8tion.jda.api.events.channel
- 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
- 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
- GenericEmoteEvent - Class in net.dv8tion.jda.api.events.emote
-
Indicates that an
Emote
was created/removed/updated. - GenericEmoteEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
- GenericEmoteUpdateEvent<T> - Class in net.dv8tion.jda.api.events.emote.update
-
Indicates that an
Emote
was updated. - GenericEmoteUpdateEvent(JDA, long, Emote, T, T, String) - Constructor for class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- GenericEvent - Interface in net.dv8tion.jda.api.events
- 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
- 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
- GenericGuildVoiceUpdateEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Requirements
- GenericGuildVoiceUpdateEvent(JDA, long, Member, AudioChannel, AudioChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- 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
- 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, GuildChannel, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
- 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
- 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
- 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
- GenericThreadEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.GenericThreadEvent
- GenericThreadMemberEvent - Class in net.dv8tion.jda.api.events.thread.member
- 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
- 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) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves any type to the provided key.
- 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
- getAccountType() - Method in interface net.dv8tion.jda.api.JDA
-
The
AccountType
of the currently logged in account. - 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
. - 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.managers.Presence
-
The current Activity for this session.
- getActivity() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
The game that the member is currently playing.
- 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. - getAllow() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of allowed permission bits.
- 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. - getAllowedFileSize() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
Returns the maximum size for files that can be uploaded with this account.
- 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.
- 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.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 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.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 interface net.dv8tion.jda.api.interactions.commands.Command
-
The id of the application this command belongs to.
- getApproximateMembers() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The approximate number of members in this guild.
- 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.
- getAsAudioChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
AudioChannel
for this option value. - getAsBoolean() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The boolean value.
- getAsCodepoints() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
The codepoint notation (
"U+XXXX"
) for the unicode of this emoji. - getAsCodepoints() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
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.
- getAsGuildChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
GuildChannel
for this option value. - 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.
- getAsMember() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
Member
for this option value. - getAsMention() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.Channel
- getAsMention() - Method in class net.dv8tion.jda.api.entities.Emoji
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.Emote
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.IMentionable
-
Retrieve a Mention for this Entity.
- getAsMention() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- getAsMentionable() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
IMentionable
instance for this option value. - getAsMessageChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
GuildMessageChannel
for this option value. - getAsNewsChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
NewsChannel
for this option value. - getAsReactionCode() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The code for this Reaction.
- getAsRole() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
Role
for this option value. - getAsStageChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
StageChannel
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.
- getAsTag() - Method in interface net.dv8tion.jda.api.entities.User
-
The "tag" for this user
- getAsTextChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
TextChannel
for this option value. - getAsThreadChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
ThreadChannel
for this option value. - getAsUser() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
User
for this option value. - getAsVoiceChannel() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The resolved
VoiceChannel
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. - 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.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.ThreadChannel
-
The inactivity timeout of this thread.
- 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 class net.dv8tion.jda.api.utils.WidgetUtil.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 class net.dv8tion.jda.api.utils.WidgetUtil.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.
- getBannerId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The guild banner id.
- getBannerId() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The Discord Id for this user's banner image.
- getBannerUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The guild banner url.
- getBannerUrl() - Method in class net.dv8tion.jda.api.entities.User.Profile
-
The URL for the user's banner image.
- getBitrate() - Method in interface net.dv8tion.jda.api.entities.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. - 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.Guild
-
Gets all
Categories
in thisGuild
. - getCategories() - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Categories
visible to the currently logged in account. - getCategories() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Categories
visible to the currently logged in account. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Categories
in this Guild that have the same name as the one provided. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a list of all
Categories
that have the same name as the one provided. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets a list of all
Categories
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 class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
Category
this invite points to. - getCategory() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
Category
this override belongs to. - 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.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Gets the
Category
that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedCategories
of this Guild. - getCategoryCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedCategories
visible to this JDA session. - 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.GuildVoiceState
-
Returns the current
AudioChannel
that theMember
is in. - 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.StageInstance
-
The
StageChannel
for this stage instance - getChannel() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
BaseGuildMessageChannel
instance this Webhook is attached to. - getChannel() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
- 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
GuildChannel
this override belongs to. - 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.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.context.MessageContextInteraction
- getChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction
- getChannel() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The respective
MessageChannel
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.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
-
The
BaseGuildMessageChannel
this Manager'sWebhook
is in. - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
The target
MessageChannel
for this message - 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
- getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
GuildChannel
this will be created in - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
The
BaseGuildMessageChannel
to create this webhook in. - getChannel() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Gets the channel the member is 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
. - 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. - 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
- getChannelJoined() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getChannelJoined() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceJoinEvent
- getChannelJoined() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- getChannelJoined() - Method in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The
AudioChannel
that was joined - getChannelLeft() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getChannelLeft() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceLeaveEvent
- getChannelLeft() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- getChannelLeft() - Method in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The
AudioChannel
that theMember
is moved from - getChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
Channels
listed for this Category
This may containVoiceChannels
,StoreChannels
, andTextChannels
! - getChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Populated list of
channels
for this guild. - 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. - 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
- 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.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.
- getClientCloseFrame() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
The close frame we sent to discord
- getCloseCode() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
Possibly-null
CloseCode
representing the meaning for this DisconnectEvent - getCloseCode() - Method in class net.dv8tion.jda.api.events.ShutdownEvent
-
Possibly-null
CloseCode
representing the meaning for this ShutdownEvent. - 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.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 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.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.
- getCommandPath() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
- getCommandString() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets the display string for this command.
- getCommandType() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getCommandType() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getCommandType() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The
Type
of command this interaction is for. - getCommunityUpdatesChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that receives community updates. - getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponent() - Method in class net.dv8tion.jda.api.events.interaction.component.SelectMenuInteractionEvent
- getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.ButtonInteraction
- getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
ActionComponent
instance. - getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
- getComponentId() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponentId() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The custom component ID provided to the component when it was originally created.
- getComponents() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Mutable list of components in this ActionRow.
- getComponents() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
List representation of this component layout.
- getComponentType() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getComponentType() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
Component.Type
- getConcurrency() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The concurrency level for this bot.
- getConnectedChannel() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Provides the current channel that this connection is transmitting to.
- getConnectedChannel() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
AudioChannel
that JDA currently has an audio connection to. - getConnectionListener() - Method in interface net.dv8tion.jda.api.managers.AudioManager
- getConnectionStatus() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The current
ConnectionStatus
. - getConnectTimeout() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set timeout value, in milliseconds, used when waiting for an audio connection to be established.
- getContentDisplay() - Method in interface net.dv8tion.jda.api.entities.Message
-
The textual content of this message in the format that would be shown to the Discord client.
- getContentRaw() - Method in interface net.dv8tion.jda.api.entities.Message
-
The raw textual content of this message.
- getContentStripped() - Method in interface net.dv8tion.jda.api.entities.Message
-
Gets the textual content of this message using
Message.getContentDisplay()
and then strips it of markdown characters like *, **, __, ~~, || that provide text formatting. - getContentType() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The Content-Type of this file.
- getCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The amount of users that already reacted with this Reaction
This is not updated, it is afinal int
per Reaction instance - getCoverId() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The cover aka splash id of this Application.
- getCoverUrl() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The url of the cover image for this application.
- getCreator() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The user who created this template.
- getCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
The current reason that should be used for
AuditableRestAction
. - getCurrentOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Immutable List representing the currently selected order of entities in this OrderAction instance
- getDateTimeString(OffsetDateTime) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Returns a prettier String-representation of a OffsetDateTime object
- getDefaultAvatarId() - Method in interface net.dv8tion.jda.api.entities.User
-
The Discord Id for this user's default avatar image.
- getDefaultAvatarId() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the asset id of the member's default avatar
- getDefaultAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
The URL for the for the user's default avatar image.
- getDefaultAvatarUrl() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the url of the member's default avatar
- getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The default
TextChannel
for aGuild
. - getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Member
-
The default
TextChannel
for aMember
. - getDefaultFailure() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - getDefaultMentions() - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Returns the default
MentionTypes
previously set byMessageAction.setDefaultMentions(Collection)
. - getDefaultMentions() - Static method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Returns the default
MentionTypes
previously set byAllowedMentions.setDefaultMentions(Collection)
. - getDefaultNotificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the default message Notification-Level of this Guild.
- getDefaultNotificationLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
NotificationLevel
of this guild. - getDefaultSuccess() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - getDefaultTimeout() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default timeout to apply to every RestAction in milliseconds.
- getDefaultUser() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The default User for this Webhook.
- getDelay(TimeUnit) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- getDenied() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
EnumSet of all
Permissions
that are denied by this override. - getDenied() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
EnumSet of all
Permissions
that are denied by this override. - getDeniedPermissions() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Set of
Permissions
that would be denied by the PermissionOverride that is created by this action. - getDeniedRaw() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions denied by this override.
- getDeniedRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions denied by this override.
- getDeny() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of denied permission bits.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The description of the bot's application.
- getDescription() - Method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Description of this level in the official Discord Client (as of 5th May, 2017)
- getDescription() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The description for this guild.
- getDescription() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The description of this application.
- getDescription() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The description (alt text) of this attachment.
- getDescription() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
A short description of this Application.
- getDescription() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The description of the embedded resource.
- getDescription() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The description of the sticker or empty String if the sticker doesn't have one.
- getDescription() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The template description.
- getDescription() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The description for this guild.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The description for this option
- getDescription() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The configured description
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The configured description
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The description for this subcommand group
- getDescription() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The description of this command.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The description of this option, subcommand, or subcommand group.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The description of this subcommand.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The description of this subcommand group.
- getDescription() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current description for this option.
- getDescriptionBuilder() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The
StringBuilder
used to build the description for the embed. - getDetails() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
What the player is currently doing
Example: "Competitive - Captain's Mode", "In Queue", "Unranked PvP" - getDirectAudioController() - Method in interface net.dv8tion.jda.api.JDA
-
Direct access to audio (dis-)connect requests.
- getDiscordTimestamp(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Converts the provided epoch millisecond timestamp to a Discord Snowflake.
- getDiscriminator() - Method in interface net.dv8tion.jda.api.entities.User
-
The discriminator of theUser
. - getDiscriminator() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the discriminator of the member
- getDouble(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a double to a key.
- getDouble(String, double) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a double to a key.
- getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.Member
-
The URL for the member's effective avatar image.
- getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
The URL for the user's avatar image.
- getEffectiveAvatarUrl() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
The URL for the user's avatar image
If they do not have an avatar set, this will return the URL of their default avatar - getEffectiveName() - Method in interface net.dv8tion.jda.api.entities.Member
-
Retrieves the Name displayed in the official Discord Client.
- getEffectiveName() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the visible name of the member.
- getElapsedTime(TemporalUnit) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Calculates the elapsed time from
Activity.Timestamps.getStartTime()
to now in terms of the specified unit. - getElementById(int) - Method in interface net.dv8tion.jda.api.utils.cache.ShardCacheView
-
Retrieves the JDA instance represented by the provided shard ID.
- getElementById(long) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(long) - Method in interface net.dv8tion.jda.api.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.ShardCacheView
-
Retrieves the JDA instance represented by the provided shard ID or
null
if none of the connected shards match the provided id. - getElementById(String) - Method in interface net.dv8tion.jda.api.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementsById(long) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsById(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsByName(String) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByName(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Role...) - Method in interface net.dv8tion.jda.api.utils.cache.MemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getElementsWithRoles(Role...) - Method in interface net.dv8tion.jda.api.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getEmbeds() - Method in interface net.dv8tion.jda.api.entities.Message
-
An immutable list of
MessageEmbeds
that are part of this Message. - getEmoji() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The emoji (or custom emoji) attached to a custom status.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The unicode representing the emoji used for reacting.
- getEmoji() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The Unicode Emoji of this
Role
that is used instead of a custom image. - getEmoji() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The emoji attached to this button.
- getEmoji() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The emoji attached to this option which is shown next to the option in the select menu
- getEmoji() - Method in enum net.dv8tion.jda.api.Region
-
The unicode flag representative of this Region.
- getEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The instance of
Emote
for the Reaction instance. - getEmote() - Method in class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
-
The responsible
Emote
for this event - getEmote() - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
The target
Emote
that will be modified by this Manager - getEmoteById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets an
Emote
from this guild that has the same id as the one provided. - getEmoteById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets an
Emote
from this guild that has the same id as the one provided. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
SnowflakeCacheView
of all cachedEmotes
of this Guild. - getEmoteCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this JDA session. - getEmoteCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this ShardManager instance. - getEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
- getEmotes() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
Emotes
used in this Message. - getEmotes() - Method in interface net.dv8tion.jda.api.JDA
-
A collection of all to us known emotes (managed/restricted included).
- getEmotes() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
A collection of all known emotes (managed/restricted included).
- getEmotesBag() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
Bag
of emotes used in this message. - getEmotesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Emotes
in this Guild that have the same name as the one provided. - getEmotesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
Emotes
that have the same name as the one provided. - getEmotesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
Emotes
that have the same name as the one provided. - getEncoding() - Method in class net.dv8tion.jda.api.entities.Icon
-
The base64 encoded data for this Icon
- getEnd() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Epoch second timestamp of match end, or
0
of unset. - getEndpoint() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The voice server endpoint
- getEndTime() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getEntity() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getEntity() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The affected entity
- getEntity() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getEntityType() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
Class representation of the affected entity, useful when dealing with refection.
- getErrorCode() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The discord error code for this error response.
- getErrorResponse() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The
ErrorResponse
corresponding for the received error response from Discord - getErrors() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
-
The list of
ErrorCodes
associated with this schema error. - getEventManager() - Method in interface net.dv8tion.jda.api.JDA
-
The EventManager used by this JDA instance.
- getException() - Method in class net.dv8tion.jda.api.requests.Response
- getExpirationTimestamp() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The unix millisecond timestamp for the expiration of this interaction hook.
- getExplicitContentLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The level of content filtering enabled in this Guild.
- getExplicitContentLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
ExplicitContentLevel
of this guild. - getExtension() - Method in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
The file extension used for the sticker asset.
- getFailure() - Method in class net.dv8tion.jda.api.utils.Result
-
Unwraps the error for this result.
- getFeatures() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Features of the
Guild
. - getFeatures() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The Features of the
Guild
. - getFieldName() - Method in enum net.dv8tion.jda.api.entities.ChannelField
- getFields() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Modifiable list of
MessageEmbed
Fields that the builder will use forEmbedBuilder.build()
. - getFields() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The fields in a message embed.
- getFileExtension() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file extension of the Attachment when it was first uploaded.
- getFileName() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file name of the Attachment when it was first uploaded.
- getFirst() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The first cached entity retrieved by this PaginationAction instance
- getFlags() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns an EnumSet of all
MessageFlags
present for this Message. - getFlags() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence
- getFlags() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the
UserFlags
of this user. - getFlags(int) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Maps the ActivityFlags based on the provided bitmask.
- getFlags(int) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
A set of all UserFlags that are specified by this raw int representation of flags.
- getFlagSet() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence in an enum set
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the raw message flags of this message
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getFlagsRaw() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the bitmask representation of the
UserFlags
of this user. - getFocusedOption() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getFocusedOption() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction
-
The focused option which the user is typing.
- getFooter() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The footer (bottom) of the embedded content.
- getFormat() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
The
TimeFormat
used to display this timestamp. - getFormatType() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The
Format
of the sticker. - getFromOffset(int) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Gets the first UserFlag relating to the provided offset.
- getFromOffset(int) - Static method in enum net.dv8tion.jda.api.Permission
-
Gets the first
Permission
relating to the provided offset. - getGateway() - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Discord's gateway URL, which is used to receive events.
- getGatewayIntents() - Method in interface net.dv8tion.jda.api.JDA
-
The
GatewayIntents
for this JDA session. - getGatewayIntents() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getGatewayIntents() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
The
GatewayIntents
for the JDA sessions of this shard manager. - getGatewayPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to our last heartbeat
This roughly represents the WebSocket ping of this session - getGatewayPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to send WebSocket messages to discord. - getGlobalRatelimit() - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Provides the cross-session global REST ratelimit it received through
SessionController.setGlobalRatelimit(long)
. - getGlobalRatelimit() - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getGroup() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Group
object containing information about this invite's origin group. - getGuild() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Guild
this audit-log entry refers to - getGuild() - Method in interface net.dv8tion.jda.api.entities.Emote
-
The
Guild
this emote is attached to. - getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Returns the
Guild
that this GuildChannel is part of. - getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Guild
object containing information about this invite's origin guild. - getGuild() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild to which this PermissionHolder is related
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Member
-
The Guild in which this Member is represented.
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
Guild
that this message was sent in. - getGuild() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
Guild
this Reaction was used in. - getGuild() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The guild for this reference.
- getGuild() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
Guild
this Role exists in - getGuild() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
Guild
this stage instance is in - getGuild() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
A
Template.Guild
object containing information about this template's origin guild. - getGuild() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
Guild
instance for this Webhook. - getGuild() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
The
Guild
in which this channel event happened. - getGuild() - Method in class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
-
The
Guild
where the emote came from - getGuild() - Method in class net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
The
Guild
- getGuild() - Method in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The
Guild
- getGuild() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
Guild
the Message was received in. - getGuild() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
The
Guild
where the messages were deleted. - getGuild() - Method in class net.dv8tion.jda.api.events.role.GenericRoleEvent
-
The guild of the role
- getGuild() - Method in class net.dv8tion.jda.api.events.thread.GenericThreadEvent
- getGuild() - Method in interface net.dv8tion.jda.api.events.user.update.GenericUserPresenceEvent
-
Guild in which the presence has changed.
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Guild
in which this users started typing, ornull
if this was not in a Guild. - getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- getGuild() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The
Guild
for this update - getGuild() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
Guild
this interaction happened in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Gets the
Guild
instance that this AudioManager is used for. - getGuild() - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
The
Guild
this Manager'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.EmoteManager
- getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
The
Guild
object of this Manager. - getGuild() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The
Guild
this Manager'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.RoleManager
- getGuild() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The guild to create this
GuildChannel
in - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The
Guild
to which the user will be added. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The
Guild
which holds the channels fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.RoleOrderAction
-
The
Guild
which holds the roles fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
The current target
Guild
for this AuditLogPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ThreadChannelPaginationAction
-
The current target
Guild
for this ThreadChannelPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Guild
for this override - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
The guild to create the role in
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
-
The guild to create this
GuildChannel
in - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
The
Guild
to create this webhook in - getGuild(JDA) - Method in exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- getGuildAvailableCount() - Method in class net.dv8tion.jda.api.events.ReadyEvent
-
Number of available guilds for this session.
- getGuildById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(long) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getGuildById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedGuilds
visible to this JDA session. - getGuildCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedGuilds
visible to this ShardManager instance. - getGuildChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
GuildMessageChannel
that this message was sent in if it was sent in a Guild. - getGuildChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
GuildMessageChannel
this Reaction was used in. - getGuildChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
GuildMessageChannel
for this Message if it was sent in a Guild. - getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction
- getGuildChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
GuildChannel
this interaction happened in. - getGuildChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, long) - Method in interface net.dv8tion.jda.api.JDA
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, String) - Method in interface net.dv8tion.jda.api.JDA
-
Get
GuildChannel
for the provided ID. - getGuildChannelById(ChannelType, String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Get
GuildChannel
for the provided ID. - getGuildId() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the guild id for this reference, or 0 if no guild id was provided.
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
-
The guild id for the timed out guild
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildId() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
-
The id for the guild we left.
- getGuildId() - Method in exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The id for the responsible
Guild
instance. - getGuildId() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the guild id
- getGuildIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the guild id for this reference, or 0 if no guild id was provided.
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
-
The guild id for the timed out guild
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildIdLong() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
-
The id for the guild we left.
- getGuildIdLong() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the guild id
- getGuildLocale() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getGuildLocale() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the preferred language of the Guild.
- getGuilds() - Method in interface net.dv8tion.jda.api.JDA
-
An immutable List of all
Guilds
that the logged account is connected to. - getGuilds() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
Guilds
that the logged account is connected to. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An immutable list of all
Guilds
that have the same name as the one provided. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
Guilds
that have the same name as the one provided. - getGuildTotalCount() - Method in class net.dv8tion.jda.api.events.ReadyEvent
-
Sum of both
ReadyEvent.getGuildAvailableCount()
andReadyEvent.getGuildUnavailableCount()
. - getGuildUnavailableCount() - Method in class net.dv8tion.jda.api.events.ReadyEvent
-
Number of guilds currently not available to this session
Discord failed to connect these guilds to our gateway and we had to discard them for now. - getHeader() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The data header for the encoding of an image.
- getHeaders() - Method in class net.dv8tion.jda.api.requests.Request
- getHeight() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The height of the Attachment if this Attachment is an image/video.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The height of the image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The height of the thumbnail image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The height of the video.
- getHistory() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Creates a new
MessageHistory
object for each call of this method. - getHistoryAfter(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent after the mentioned message ID (exclusive). - getHistoryAfter(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent after the marker.
- getHistoryAround(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages around the marker. - getHistoryAround(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent around the marker. - getHistoryAround(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent around the mentioned message ID (inclusive). - getHistoryAround(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
Message
as a marker and retrieves messages around the marker. - getHistoryBefore(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent before the mentioned message ID (exclusive). - getHistoryBefore(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent before the marker.
- getHistoryFromBeginning(int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Retrieves messages from the beginning of this
MessageChannel
. - getHistoryFromBeginning(MessageChannel) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent. - getHook() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getHook() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getHook() - Method in interface net.dv8tion.jda.api.interactions.callbacks.IDeferrableCallback
-
The
InteractionHook
which can be used to send deferred replies or followup messages. - getHttpClient() - Method in interface net.dv8tion.jda.api.JDA
-
The
OkHttpClient
used for handling http requests fromRestActions
. - getIcon() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
Icon
of this role ornull
if no custom image or emoji is set. - getIconId() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The icon id of the bot's application.
- getIconId() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id hash for the icon of this team.
- getIconId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Discord hash-id of the
Guild
icon image. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The icon id of this application or
null
if the application has no icon. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The icon id of this group or
null
if the group has no icon. - getIconId() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The icon id of this guild.
- getIconId() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The icon id of this Application.
- getIconId() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The Discord hash-id of the
Role
icon image. - getIconId() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The icon id of this guild.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The icon-url of the bot's application.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The url for the icon of this team.
- getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The URL of the
Guild
icon image. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The icon url of this application or
null
if the application has no icon. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The icon url of this group or
null
if the group has no icon. - getIconUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The icon url of this guild.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The url of the icon image for this application.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The url of the footer's icon.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The url of the sticker image.
- getIconUrl() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
The URL of the
Role
icon image. - getIconUrl() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The icon url of this guild.
- getId() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
The Discord id key used to represent the channel type.
- getId() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The Snowflake id of the target entity of this invite.
- getId() - Method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The Discord id key used to represent the target type.
- getId() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The Snowflake id of this entity.
- getId() - Method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The id of this
ActivityType
. - getId() - Method in enum net.dv8tion.jda.api.entities.MessageType
-
The Discord id key used to reference the MessageType.
- getId() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
ID for this party, relevant to the game.
- getId() - Method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
The raw command type id used in the API
- getId() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
The component ID or null.
- getId() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The custom id used to identify the select menu.
- getIdentifier() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Provides a unique String identifier for the connection.
- getIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
The id for this custom emoji.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Emoji
- getIdLong() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The Snowflake id of the target entity of this invite.
- getIdLong() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The Snowflake id of this entity.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
- getIdLong() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
- getIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
- getIdLong() - Method in class net.dv8tion.jda.api.entities.MessageSticker
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The ids of channels are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
The ids of roles are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
- getIdLong() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The ids of roles are their position as stored by Discord so this will not look like a typical snowflake.
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.ChannelReference
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.GuildReference
- getIdLong() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
- getIdLong() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
- getIdLong() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- getIdLong() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- getIdLong() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- getImage() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the image in the message embed
- getImageUrl() - Method in interface net.dv8tion.jda.api.entities.Emote
-
A String representation of the URL which leads to image displayed within the official Discord™ client when this Emote is used
- getInherit() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
EnumSet of all
Permission
that are unaffected by this override. - getInherit() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
EnumSet of all
Permission
that are unaffected by this override. - getInherited() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The currently set of inherited permission bits.
- getInheritedPermissions() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Set of
Permissions
that would be inherited from other permission holders. - getInheritRaw() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions not affected by this override.
- getInheritRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions not affected by this override.
- getInstance() - Method in class net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
-
The affected
StageInstance
- getInt(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an int.
- getInt(int, int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an int.
- getInt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an int to a key.
- getInt(String, int) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an int to a key.
- getIntegrationId() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the integration associated with this role.
- getIntegrationIdLong() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
The id for the integration associated with this role.
- getIntents(int) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts a bitmask into an
EnumSet
of enum values. - getInteraction() - Method in interface net.dv8tion.jda.api.entities.Message
-
This is sent on the message object when the message is a response to an
Interaction
without an existing message. - getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.component.SelectMenuInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericAutoCompleteInteractionEvent
- getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
-
The
Interaction
instance. - getInteraction() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The interaction attached to this hook.
- getInvite() - Method in class net.dv8tion.jda.api.events.guild.invite.GuildInviteCreateEvent
-
The invite which was created.
- getInviteCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets an invite code for the guild, or null if no invite channel is enabled in the widget
- getInviter() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The user who created this invite.
- getInvites() - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable List of
Invite
codes that are included in this Message. - getInviteUrl(long, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(long, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getIterableHistory() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
A
PaginationAction
implementation that allows toiterate
over recentMessages
of this MessageChannel. - getJDA() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The corresponding JDA instance of the referring Guild
- getJDA() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The
JDA
instance of this ApplicationInfo (the one logged into this application's bot account). - getJDA() - Method in interface net.dv8tion.jda.api.entities.Channel
-
Returns the
JDA
instance of this channel - getJDA() - Method in interface net.dv8tion.jda.api.entities.Emote
-
The
JDA
instance of this Emote - getJDA() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the
JDA
instance of this Guild - getJDA() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the
JDA
instance of this VoiceState - getJDA() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The
JDA
instance used to create this Invite - getJDA() - Method in interface net.dv8tion.jda.api.entities.Member
-
The JDA instance.
- getJDA() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The corresponding JDA instance for this Attachment
- getJDA() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
JDA
instance related to this Message. - getJDA() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The corresponding JDA instance for this MessageHistory
- getJDA() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The JDA instance of this Reaction
- getJDA() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The current JDA instance for the Reaction
- getJDA() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the JDA instance related to this message reference.
- getJDA() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
The
JDA
instance that this PermissionOverride is related to. - getJDA() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
JDA
instance of this Role - getJDA() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The
JDA
instance used to create this Template instance. - getJDA() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getJDA() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the
JDA
instance of this User - getJDA() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The JDA instance of this Webhook.
- getJDA() - Method in class net.dv8tion.jda.api.events.Event
- getJDA() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current JDA instance corresponding to this Event
- getJDA() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Returns the
JDA
instance of this Command - getJDA() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the
JDA
instance of this interaction - getJDA() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
The JDA instance for this interaction
- getJDA() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Gets the
JDA
instance that this AudioManager is a part of. - getJDA() - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
The associated JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The JDA instance of this Presence
- getJDA() - Method in class net.dv8tion.jda.api.requests.Request
- getJDA() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
The current JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
JDA
instance for this request - getJumpUrl() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the jump-to URL for the received message.
- getKey() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The raw key used to identify types within the api.
- getKey() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The key which defines the field that was updated by this change
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Key used in
AuditLogEntry.getOptionByName(String)
- getKey() - Method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
The Discord defined id key for this ActivityType.
- getKey() - Method in enum net.dv8tion.jda.api.entities.ClientType
-
The raw key used by the API to identify this type
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The API key used to represent this tier, identical to the ordinal.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
The key for this level
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
The Discord id key used to represent this MFALevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
The Discord id key used to represent this NotificationLevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
The Discord id key used to represent this NSFW level.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
The Discord id key for this Verification Level.
- getKey() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
The key for this image, used for
RichPresence.Image.getUrl()
- getKey() - Method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
The raw API key for this privacy level
- getKey() - Method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The key for this state that is used in the API.
- getKey() - Method in enum net.dv8tion.jda.api.entities.WebhookType
-
The raw api key for this type
- getKey() - Method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
The raw value for this type or -1 for
OptionType.UNKNOWN
- getKey() - Method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
The raw style integer key
- getKey() - Method in enum net.dv8tion.jda.api.interactions.InteractionType
- getKey() - Method in enum net.dv8tion.jda.api.OnlineStatus
-
The valid API key for this OnlineStatus
- getKey() - Method in enum net.dv8tion.jda.api.Region
-
The Region key as defined by Discord.
- getKey() - Method in enum net.dv8tion.jda.api.utils.Compression
-
The key used for the gateway query to enable this compression
- getLabel() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The visible text on the button.
- getLabel() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current option label which would be shown to the user in the client.
- getLargeImage() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the large image displayed in the profile view
- getLast() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The most recent entity retrieved by this PaginationAction instance
- getLastKey() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The current iteration anchor used for pagination.
- getLatestMessageId() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLatestMessageIdLong() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLength() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The total amount of characters that is displayed when this embed is displayed by the Discord client.
- getLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The currently used limit.
- getListener() - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- getLocale() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The preferred locale for this guild.
- getLocale() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The preferred locale for this guild.
- getLocation() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
-
The JSON-path for the error.
- getLong(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a long.
- getLong(int, long) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a long.
- getLong(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a long to a key.
- getLong(String, long) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a long to a key.
- getManager() - Method in interface net.dv8tion.jda.api.entities.AudioChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.Category
- getManager() - Method in interface net.dv8tion.jda.api.entities.Emote
-
The
Manager
for this emote, used to modify properties of the emote like name and role restrictions. - getManager() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the
GuildManager
for this Guild, used to modify all properties and settings of the Guild. - getManager() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Returns the
ChannelManager
for this GuildChannel. - getManager() - Method in interface net.dv8tion.jda.api.entities.ICategorizableChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- getManager() - Method in interface net.dv8tion.jda.api.entities.IPositionableChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.NewsChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Returns the
PermissionOverrideAction
to modify this PermissionOverride. - getManager() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
RoleManager
for this Role. - getManager() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The
AccountManager
for the currently logged in account. - getManager() - Method in interface net.dv8tion.jda.api.entities.StageChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
StageInstanceManager
used to update this stage instance. - getManager() - Method in interface net.dv8tion.jda.api.entities.StoreChannel
- getManager() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns the
TemplateManager
for this Template. - getManager() - Method in interface net.dv8tion.jda.api.entities.TextChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
- getManager() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
WebhookManager
for this Webhook. - getMax() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
The maximum size of this party, or
0
if unset - getMaxAge() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The max age of this invite in seconds.
- getMaxBitrate() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum bitrate that can be applied to voice channels when this tier is reached.
- getMaxBitrate() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum bitrate that can be applied to a voice channel in this guild.
- getMaxEmotes() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum amount of emotes a guild can have when this tier is reached.
- getMaxEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of emotes a guild can have based on the guilds boost tier.
- getMaxFileSize() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The maximum size for files that can be uploaded to this Guild.
- getMaxFileSize() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the maximum size for files that can be uploaded to this Guild.
- getMaxLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The maximum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be greater than the returned value. - getMaxMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of members that can join this guild.
- getMaxParticipants() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The max participant count of this application or
-1
if no max participant count is set - getMaxPerRow() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
How many of these components can be added to one
ActionRow
. - getMaxPerRow() - Method in interface net.dv8tion.jda.api.interactions.components.ItemComponent
-
How many of these components can be added to one
ActionRow
. - getMaxPresences() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of connected members this guild can have at a time.
- getMaxReconnectDelay() - Method in interface net.dv8tion.jda.api.JDA
-
This value is the maximum amount of time, in seconds, that JDA will wait between reconnect attempts.
- getMaxUses() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The max uses of this invite.
- getMaxValue() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum value which can be provided for this option.
- getMaxValue() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The maximum value which can be provided for this option.
- getMaxValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The maximum amount of values a user can select at once.
- getMaxValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum amount of values a user can select at once.
- getMeaning() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The meaning for this error.
- getMeaning() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
The message which further explains the reason for this close code's occurrence
- getMeaning() - Method in enum net.dv8tion.jda.api.requests.ErrorResponse
- getMember() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the
Member
corresponding to this GuildVoiceState instance (BackReference) - getMember() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the author of this Message as a
member
. - getMember() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
Member
who caused this interaction. - getMember() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getMember() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getMember() - Method in class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
-
The
Member
instance - getMember() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
-
The member instance for this user, if it was cached at the time.
- getMember() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
Member
for the override. - getMember() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
-
The affected
Member
- getMember() - Method in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
-
The affected
Member
- getMember() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getMember() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The Author of the Message received as
Member
object. - getMember() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
Member instance for the author of this message or
null
if this was not in a Guild. - getMember() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
Member
instance for the reacting user ornull
if the reaction was from a user not in this guild. - getMember() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
- getMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
- getMember() - Method in interface net.dv8tion.jda.api.events.user.update.GenericUserPresenceEvent
-
Member who changed their presence.
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- getMember() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Member
instance for the User, or null if this was not in a Guild. - getMember() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
Member
who caused this interaction. - getMember() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Member
for this override - getMember() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- getMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user. - getMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(long) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a member with the given ID, or
null
if the member is not found - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(String) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a member with the given ID, or null if the member is not found
- getMemberByTag(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberByTag(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
MemberCacheView
for all cachedMembers
of this Guild. - getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The expected member count for this guild.
- getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of total members in the guild.
- getMemberCount() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the current number of members that have joined this thread.
- getMemberLimit() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The active member limit for this guild.
- getMemberPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- getMembers() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The
Team Members
. - getMembers() - Method in interface net.dv8tion.jda.api.entities.Category
- getMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
A list of all
Members
in this Guild. - getMembers() - Method in interface net.dv8tion.jda.api.entities.IMemberContainer
-
A List of all
Members
that are in this GuildChannel
ForTextChannels
, this returns all Members with thePermission.VIEW_CHANNEL
Permission. - getMembers() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a list of online members in the guild
- getMembers() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets a list of all members in the channel
- getMembersByEffectiveName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same effective name as the one provided. - getMembersByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same name as the one provided. - getMembersByNickname(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Members
who have the same nickname as the one provided. - getMembershipState() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The state of this member.
- getMembersWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMentionedChannels() - Method in interface net.dv8tion.jda.api.entities.Message
-
A immutable list of all mentioned
TextChannels
. - getMentionedChannels() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
Resolved
GuildChannel
mentions for aSTRING
option. - getMentionedChannelsBag() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
Bag
of mentioned channels. - getMentionedMembers() - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable list of
Members
representing the users ofMessage.getMentionedUsers()
in theGuild
this Message was sent in. - getMentionedMembers() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- getMentionedMembers(Guild) - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable list of
Members
representing the users ofMessage.getMentionedUsers()
in the specifiedGuild
. - getMentionedRoles() - Method in interface net.dv8tion.jda.api.entities.Message
-
A immutable list of all mentioned
Roles
. - getMentionedRoles() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- getMentionedRolesBag() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
Bag
of mentioned roles. - getMentionedUsers() - Method in interface net.dv8tion.jda.api.entities.Message
-
An immutable list of all mentioned
Users
. - getMentionedUsers() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- getMentionedUsersBag() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
Bag
of mentioned users. - getMentions() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- getMentions(Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Combines all instances of
IMentionable
filtered by the specifiedMentionType
values. - getMessage() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
The resolved message, if available.
- getMessage() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getMessage() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The received
Message
object. - getMessage() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
The
Message
that was updated
Note: Messages in JDA are not updated, they are immutable and will not change their state. - getMessage() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
-
The human readable explanation message for this error
- getMessage() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The
Message
instance. - getMessageById(long) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Used to get a Message from the set of already retrieved message via it's message Id.
- getMessageById(String) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Used to get a Message from the set of already retrieved message via it's message Id.
- getMessageChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
MessageChannel
this interaction happened in. - getMessageCount() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the current number of messages present in this thread.
- getMessageEmbeds() - Method in class net.dv8tion.jda.api.events.message.MessageEmbedEvent
-
The list of
MessageEmbeds
- getMessageId() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageId() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the message id for this reference, or 0 if no message id was provided.
- getMessageId() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The id for this message
- getMessageId() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The id of the message.
- getMessageIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Returns the message id for this reference, or 0 if no message id was provided.
- getMessageIdLong() - Method in class net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
- getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The id for this message
- getMessageIdLong() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
-
The id of the message.
- getMessageIds() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
List of messages that have been deleted.
- getMessageReference() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
MessageReference
for this Message. - getMIME() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The MIME Type
- getMinLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The minimum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be less than the returned value. - getMinutes() - Method in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
- getMinValue() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The minimum value which can be provided for this option.
- getMinValue() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The minimum value which can be provided for this option.
- getMinValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum amount of values a user has to select.
- getMinValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The minimum amount of values a user has to select.
- getModes(int) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Parses the active modes represented by the provided bitmask
- getMutualGuilds() - Method in interface net.dv8tion.jda.api.entities.User
- getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getName() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
The name of this emoji.
- getName() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The displayed name of the
Activity
. - getName() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The name of the bot's application.
- getName() - Method in interface net.dv8tion.jda.api.entities.Channel
-
The human readable name of this channel.
- getName() - Method in class net.dv8tion.jda.api.entities.Emoji
-
The name of this emoji.
- getName() - Method in interface net.dv8tion.jda.api.entities.Emote
-
The name of this emote.
- getName() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The human readable name of the
Guild
. - getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Channel
-
The name of this channel.
- getName() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The name of this application.
- getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The name of this group or
null
if the group has no name. - getName() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The name of this guild.
- getName() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The command name.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The name of this Application.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The name of the Author.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
The name of the field
- getName() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
The name of the provider.
- getName() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The name for this emote/emoji
For unicode emojis this will be the unicode of said emoji rather than an alias like:smiley:
. - getName() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The name of the sticker.
- getName() - Method in interface net.dv8tion.jda.api.entities.Role
-
The Name of this
Role
. - getName() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
The template name.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The human readable name of the GuildChannel.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
The name of this guild.
- getName() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The Name of this
Role
. - getName() - Method in interface net.dv8tion.jda.api.entities.User
-
The username of the
User
. - getName() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The readable name as used in the Discord Client.
- getName() - Method in class net.dv8tion.jda.api.entities.Webhook.ChannelReference
-
The source channel's name
- getName() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The name of this Webhook.
- getName() - Method in class net.dv8tion.jda.api.entities.Webhook.GuildReference
-
The source guild's name
- getName() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getName() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getName() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The name of the input field, usually an option name in
CommandAutoCompleteInteraction
. - getName() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The current command name
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The name for this option
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The configured name
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The name for this subcommand group
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The readable name of this choice.
- getName() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The name of this command.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The name of this option, subcommand, or subcommand group.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The name of this subcommand.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The name of this subcommand group.
- getName() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The command name.
- getName() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The name of this option.
- getName() - Method in enum net.dv8tion.jda.api.Permission
-
The readable name as used in the Discord client.
- getName() - Method in enum net.dv8tion.jda.api.Region
-
The human readable region name.
- getName() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets the name of the guild
- getName() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Returns the username of the member
- getName() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the name of the channel
- getNewActivity() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
-
The new activity
- getNewAfkChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
-
The new afk channel
- getNewAfkTimeout() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The new
AFK-Timeout
- getNewAvatarId() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The new avatar id
- getNewAvatarId() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The new avatar id
- getNewAvatarId() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The new avatar id
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The url of the new avatar
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The new avatar url
- getNewAvatarUrl() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The url of the new avatar
- getNewBannerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The new banner id
- getNewBannerUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The new banner url
- getNewBoostCount() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
-
The new boost count
- getNewBoostTier() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
-
The new
Guild.BoostTier
- getNewColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The new color
- getNewColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the new color
- getNewCommunityUpdatesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
-
The new community updates channel.
- getNewDescription() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
-
The new description for this guild
- getNewDiscriminator() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
-
The new discriminator
- getNewDiscriminator() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
-
The new discriminator
- getNewFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The new Set of features after the
Guild
update. - getNewFlags() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- getNewFlagsRaw() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
-
Gets the new
UserFlags
of the user and returns it as bitmask representation. - getNewIcon() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
-
The new icon
- getNewIconId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getNewIconUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The url of the new icon
- getNewLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The new
ExplicitContentLevel
for theGuild
after to this event. - getNewMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The new max members for this guild
- getNewMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The new max presences
- getNewMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The new
MFALevel
- getNewName() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
-
The new username
- getNewNickname() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
-
The new nickname
- getNewNotificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
-
The new
NotificationLevel
- getNewNSFWLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
-
The new
NSFWLevel
- getNewOnlineStatus() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
-
The new status
- getNewOwner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner
- getNewOwnerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getNewOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getNewPending() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
-
The new pending status
- getNewPermissions() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPermissionsRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPing() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
-
The new ping for the current JDA session
- getNewPosition() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewPositionRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewRoles() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
-
The new role whitelist
- getNewRulesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
-
The new rules channel.
- getNewsChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
NewsChannel
that this message was sent in. - getNewsChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
NewsChannel
this invite points to. - getNewsChannel() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
NewsChannel
this override belongs to. - getNewsChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
NewsChannel
the Message was received in. - getNewsChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
NewsChannel
in which this users started typing, ornull
if this was not in a NewsChannel. - getNewsChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
NewsChannel
this interaction happened in. - getNewsChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
NewsChannel
from this guild that has the same id as the one provided. - getNewsChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
NewsChannel
which has the same id as the one provided. - getNewsChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
NewsChannel
from this guild that has the same id as the one provided. - getNewsChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
NewsChannel
which has the same id as the one provided. - getNewsChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedNewsChannels
of this Guild. - getNewsChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedNewsChannel
visible to this JDA session. - getNewsChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
NewsChannels
listed for this Category - getNewsChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
NewsChannels
in thisGuild
. - getNewsChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable List of all
NewsChannels
of all connectedGuilds
. - getNewsChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
NewsChannels
in this Guild that have the same name as the one provided. - getNewsChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
NewsChannels
that have the same name as the one provided. - getNewSplashId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The new splash id
- getNewSplashUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The url of the new splash
- getNewStatus() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
-
The status that we changed to
- getNewSystemChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
-
The new system channel.
- getNewTime() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- getNewTimeBoosted() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
-
The new boost time
- getNewTimeOutEnd() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
-
The new end of the time out
- getNewValue() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The updated value for the field specified by
AuditLogChange.getKey()
. - getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceJoinEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getNewValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The new value
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getNewVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity code
- getNewVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity url
- getNewVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The new
VerificationLevel
- getNextPacket(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNextPacketRaw(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNickname() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the current nickname of this Member for the parent Guild.
- getNickname() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the nickname of the member.
- getNonce() - Method in interface net.dv8tion.jda.api.entities.Message
-
Validation nonce for this Message
This can be used to validate that a Message was properly sent to the Discord Service. - getNSFWLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the NSFW Level that this guild is classified with.
- getObject() - Method in class net.dv8tion.jda.api.requests.Response
- getObject(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a DataObject
- getObject(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataObject to a key.
- getOffset() - Method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
The offset for this flag:
1 << offset
- getOffset() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The binary offset of the flag.
- getOffset() - Method in enum net.dv8tion.jda.api.Permission
-
The binary offset of the permission.
- getOffset() - Method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
The offset of the intent flag within a bitmask
This meansgetRawValue() == 1 << getOffset()
- getOldActivity() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
-
The old activity
- getOldAfkChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
-
The old afk channel
- getOldAfkTimeout() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The old
AFK-Timeout
- getOldAllow() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old allowed permissions
- getOldAllowRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old allowed permissions as a raw bitmask.
- getOldAvatarId() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The old avatar id
- getOldAvatarId() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The old avatar id
- getOldAvatarId() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The previous avatar id
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
-
The previous avatar url
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
-
The old avatar url
- getOldAvatarUrl() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
-
The previous avatar url
- getOldBannerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The old banner id
- getOldBannerUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
-
The old banner url
- getOldBoostCount() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
-
The old boost count
- getOldBoostTier() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
-
The old
Guild.BoostTier
- getOldColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The old color
- getOldColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the old color
- getOldCommunityUpdatesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
-
The previous community updates channel.
- getOldDeny() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old denied permissions
- getOldDenyRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old denied permissions as a raw bitmask.
- getOldDescription() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
-
The old description for this guild
- getOldDiscriminator() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
-
The old discriminator
- getOldDiscriminator() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
-
The old discriminator
- getOldFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The old Set of features before the
Guild
update. - getOldFlags() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- getOldFlagsRaw() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
-
Gets the old
UserFlags
of the user and returns it as bitmask representation. - getOldIcon() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
-
The old icon
- getOldIconId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getOldIconUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The url of the old icon
- getOldInherited() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old inherited permissions
- getOldInheritedRaw() - Method in class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
-
The old inherited permissions as a raw bitmask.
- getOldLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The old
ExplicitContentLevel
for theGuild
prior to this event. - getOldMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The old max members for this guild
- getOldMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The old max presences
- getOldMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The old
MFALevel
- getOldName() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
-
The old username
- getOldNickname() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
-
The old nickname
- getOldNotificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
-
The old
NotificationLevel
- getOldNSFWLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
-
The old
NSFWLevel
- getOldOnlineStatus() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
-
The old status
- getOldOwner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The old owner
- getOldOwnerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The previous owner user id
- getOldOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The previous owner user id
- getOldPending() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
-
The old pending status
- getOldPermissions() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPermissionsRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPing() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
-
The previous ping for the current JDA session
- getOldPosition() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldPositionRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldRoles() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
-
The old role whitelist
- getOldRulesChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
-
The previous rules channel.
- getOldSplashId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The old splash id
- getOldSplashUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The url of the old splash
- getOldStatus() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
-
The previous status
- getOldSystemChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
-
The previous system channel.
- getOldTime() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- getOldTimeBoosted() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
-
The old boost time
- getOldTimeOutEnd() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
-
The old end of the time out
- getOldValue() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The previous value for the field specified by
AuditLogChange.getKey()
. - getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceLeaveEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getOldValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The old value
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getOldVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity code
- getOldVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity url
- getOldVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The old
VerificationLevel
- getOnFailure() - Method in class net.dv8tion.jda.api.requests.Request
- getOnlineCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of online members in the guild.
- getOnlineStatus() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the
OnlineStatus
of the User. - getOnlineStatus() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the online status of the member.
- getOnlineStatus(ClientType) - Method in interface net.dv8tion.jda.api.entities.Member
-
The platform dependent
OnlineStatus
of this member. - getOnSuccess() - Method in class net.dv8tion.jda.api.requests.Request
- getOption(String) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Finds the first option with the specified name.
- getOption(AuditLogOption) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name) - getOptionByName(String) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name)
This lookup is case-insensitive! - getOptions() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Key-Value
Map
containing all Options made in this entry. - getOptions() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getOptions() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The options for this command.
- getOptions() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
The options for this command.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Options
of this command. - getOptions() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
-
The options for this subcommand, or the subcommands within this group.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The options provided by the user when this command was executed.
- getOptions() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Modifiable list of options currently configured in this builder.
- getOptions() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
An unmodifiable list of up to 25 available options to choose from.
- getOptions(AuditLogOption...) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Constructs a filtered, immutable list of options corresponding to the provided
AuditLogOptions
. - getOptionsByName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets all options for the specified name.
- getOptionsByType(OptionType) - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
Gets all options for the specified type.
- getOptionType() - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.AutoCompleteCallbackAction
-
The
OptionType
of the choices you can suggest. - getOpusAudio() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The raw opus audio, copied to a new array.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The owner of the bot's application.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Searches for the
TeamMember
inApplicationTeam.getMembers()
that has the same user id asApplicationTeam.getOwnerIdLong()
. - getOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Member
object for the owner of this Guild. - getOwner() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the
Member
that created and owns this thread. - getOwner() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The owner of this Webhook.
- getOwnerAsUser() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The owner of this Webhook.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the
User
of the owner of this thread as a String. - getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the ID of the owner of this thread as a long.
- getOwnerThreadMember() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the owner of this thread as a
ThreadMember
. - getPackage() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The raw gateway package including sequence and type.
- getPackId() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The ID of the pack the sticker is from.
- getPackIdLong() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
The ID of the pack the sticker is from.
- getParentCategory() - Method in interface net.dv8tion.jda.api.entities.ICategorizableChannel
-
Parent
Category
of this GuildChannel. - getParentCategoryId() - Method in interface net.dv8tion.jda.api.entities.ICategorizableChannel
-
Get the snowflake of the
Category
that contains this channel. - getParentCategoryIdLong() - Method in interface net.dv8tion.jda.api.entities.ICategorizableChannel
-
Get the snowflake of the
Category
that contains this channel. - getParentChannel() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the
parent channel
of this thread. - getParentId() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Parent Category id of this TemplateChannel.
- getParentMessageChannel() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
- getParseKey() - Method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
The Key returned by this method is used to determine the group or parsable mention group they are part of.
- getParty() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the active party of the player
- getPartyId() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The party id discord uses internally, it may be
null
. - getPattern() - Method in enum net.dv8tion.jda.api.entities.Message.MentionType
- getPayload() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The payload of the package.
- getPermission() - Method in exception net.dv8tion.jda.api.exceptions.PermissionException
-
The
Permission
that is required for the operation - getPermissionContainer() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
- getPermissionHolder() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
This method will return the
PermissionHolder
of this PermissionOverride. - getPermissionHolder() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
IPermissionHolder
for the override. - getPermissionOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The affected
PermissionOverride
that was updated. - getPermissionOverride() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The target
PermissionOverride
that will be modified by this Manager - getPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- getPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
-
Gets all of the
PermissionOverrides
that are part of thisGuildChannel
. - getPermissionOverrides() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Gets all of the
PermissionOverrides
that are part of thisTemplateChannel
. - getPermissions() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions(long) - Static method in enum net.dv8tion.jda.api.Permission
-
A set of all
Permissions
that are specified by this raw long representation of permissions. - getPermissions(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Permissions this PermissionHolder holds in the specified
GuildChannel
. - getPermissionsExplicit() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsExplicit(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
long
representation of the literal permissions that thisRole
has. - getPermissionsRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
The
long
representation of the literal permissions that thisRole
has. - getPlaceholder() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Placeholder which is displayed when no selections have been made yet.
- getPlaceholder() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
Placeholder which is displayed when no selections have been made yet.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.IPositionableChannel
-
The position this GuildChannel is displayed at.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.Role
- getPosition() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the integer position of the channel
- getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.IPositionableChannel
-
The actual position of the
GuildChannel
as stored and given by Discord. - getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The actual position of the
Role
as stored and given by Discord. - getPositionRaw() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The actual position of the
TemplateChannel
as stored and given by Discord. - getPremadeWidgetHtml(String, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPremadeWidgetHtml(Guild, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPresence() - Method in interface net.dv8tion.jda.api.JDA
-
The
Presence
controller for the current session. - getPresenceLimit() - Method in class net.dv8tion.jda.api.entities.Guild.MetaData
-
The active presence limit for this guild.
- getPrivacyLevel() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The
StageInstance.PrivacyLevel
of this stage instance - getPrivacyPolicyUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The URL for the application's privacy policy.
- getPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
PrivateChannel
that this message was sent in. - getPrivateChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- getPrivateChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
PrivateChannel
the Message was received in. - getPrivateChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
PrivateChannel
in which this users started typing, ornull
if this was not in a PrivateChannel. - getPrivateChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
PrivateChannel
this interaction happened in. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this JDA session. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this ShardManager instance. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all known
PrivateChannels
. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all known
PrivateChannels
. - getPrivileged() - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Collects all cache flags that require privileged intents
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getPropertyIdentifier() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The field name for the updated property
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The url of the footer's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Url to the resource proxied by the Discord CDN.
- getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The Discord proxied url of the thumbnail image.
- getPublicRole() - Method in interface net.dv8tion.jda.api.entities.Guild
- getPublicRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the public role (Guild.getPublicRole()
) for the resulting Guild. - getRateLimitedRoute() - Method in exception net.dv8tion.jda.api.exceptions.RateLimitedException
-
The route responsible for the rate limit bucket that is used in the responsible RateLimiter
- getRateLimitPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to handle rate-limits forRestAction
executions. - getRaw() - Method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
The raw bitmask for this mode
- getRaw() - Method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
The raw bitmask for this flag
- getRaw() - Method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
The raw integer key for this response type
- getRaw(Collection<SpeakingMode>) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(Collection<User.UserFlag>) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
This is effectively the opposite of
User.UserFlag.getFlags(int)
. - getRaw(Collection<Permission>) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes a Collection ofPermissions
and returns the raw offsetlong
representation of the permissions. - getRaw(Collection<GatewayIntent>) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts the given intents to a bitmask
- getRaw(SpeakingMode...) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(User.UserFlag...) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
This is effectively the opposite of
User.UserFlag.getFlags(int)
, this takes 1 or more UserFlags and returns the bitmask representation of the flags. - getRaw(Permission...) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes 1 or morePermissions
and returns the raw offsetlong
representation of the permissions. - getRaw(GatewayIntent, GatewayIntent...) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Converts the given intents to a bitmask
- getRawBody() - Method in class net.dv8tion.jda.api.requests.Request
- getRawResponse() - Method in class net.dv8tion.jda.api.requests.Response
- getRawValue() - Method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
The value of this flag when viewed as raw value.
- getRawValue() - Method in enum net.dv8tion.jda.api.Permission
-
The value of this permission when viewed as a raw value.
- getRawValue() - Method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
The raw bitmask value for this intent
- getReaction() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmoteEvent
-
The
MessageReaction
that was removed. - getReaction() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ReactionPaginationAction
-
The current target
MessageReaction
- getReactionById(long) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given reaction id on this message. - getReactionById(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given reaction id on this message. - getReactionByUnicode(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given unicode reaction on this message. - getReactionEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
ReactionEmote
of this Reaction - getReactionEmote() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
ReactionEmote
of the reaction, shortcut forgetReaction().getReactionEmote()
- getReactionEmote() - Method in class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmoteEvent
-
The
ReactionEmote
. - getReactions() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
MessageReactions
that are on this Message. - getReason() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The optional reason why this action was executed.
- getReason() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The reason why this user was banned
- getReceivingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioReceiveHandler
. - getReferencedMessage() - Method in interface net.dv8tion.jda.api.entities.Message
-
Referenced message.
- getRegion() - Method in interface net.dv8tion.jda.api.entities.AudioChannel
-
The
Region
of thisAudioChannel
. - getRegionRaw() - Method in interface net.dv8tion.jda.api.entities.AudioChannel
-
The raw region name for this
AudioChannel
. - getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
The currently registered listeners
- getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.JDA
-
Immutable List of Objects that have been registered as EventListeners.
- getRemainingTime(TemporalUnit) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Calculates the amount of time until
Activity.Timestamps.getEndTime()
in terms of the specified unit. - getRequest() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBodyRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestToSpeakTimestamp() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
The time at which the user requested to speak.
- getRequiredIntent() - Method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
The required
GatewayIntent
for this cache flag. - getRequiredMFALevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the level of multifactor authentication required to execute administrator restricted functions in this guild.
- getRequiredType() - Method in exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
The required
AccountType
for the operation - getResponse() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponse() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The Discord Response causing the ErrorResponse
- getResponseBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsArray() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsObject() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsString() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseNumber() - Method in class net.dv8tion.jda.api.events.Event
- getResponseNumber() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current sequence for this event.
- getResponseRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseTotal() - Method in interface net.dv8tion.jda.api.JDA
-
This value is the total amount of JSON responses that discord has sent.
- getRestAction() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRestAction() - Method in class net.dv8tion.jda.api.requests.Request
- getRestPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to a REST request.
- getRetrievedHistory() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The List of Messages, sorted starting from newest to oldest, of all message that have already been retrieved from Discord with this MessageHistory object using the
MessageHistory.retrievePast(int)
,MessageHistory.retrieveFuture(int)
, andMessageChannel.getHistoryAround(String, int)
methods. - getRetryAfter() - Method in exception net.dv8tion.jda.api.exceptions.RateLimitedException
-
The back-off delay in milliseconds that should be respected before trying to query the
route
again - getRole() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getRole() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
Role
for the override. - getRole() - Method in class net.dv8tion.jda.api.events.role.GenericRoleEvent
-
The role for this event
- getRole() - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
The target
Role
for this manager - getRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Role
for this override - getRole(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the provided index. - getRoleByBot(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleByBot(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleByBot(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Looks up a role which is the integration role for a bot.
- getRoleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedRoles
of this Guild. - getRoleCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this JDA session. - getRoleCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this ShardManager instance. - getRolePermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Roles this emote is active for.
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Guild
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Member
-
The roles applied to this Member.
- getRoles() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
-
The list of roles that were added
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
-
The removed roles
- getRoles() - Method in interface net.dv8tion.jda.api.JDA
-
All
Roles
this JDA instance can see. - getRoles() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
All
Roles
this ShardManager instance can see. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Roles
in this Guild that have the same name as the one provided. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves all
Roles
visible to this JDA instance. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves all
Roles
visible to this ShardManager instance. - getRoute() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRoute() - Method in class net.dv8tion.jda.api.requests.Request
- getRulesChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that lists the rules of the guild. - getSchemaErrors() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The
SchemaErrors
for this error response. - getSeconds() - Method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
The amount of seconds represented by this
Guild.Timeout
. - getSelectedEntity() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The entity which is currently at the
selected position
- getSelectedOptions() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
If available, this will resolve the selected
values
to the representativeSelectOption
instances. - getSelectedPosition() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The currently selected position that is in focus for all modification operations of this OrderAction instance
- getSelectMenu() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
The
SelectMenu
this interaction belongs to. - getSelfMember() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Member
object of the currently logged in account in this guild. - getSelfThreadMember() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets the self member, as a member of this thread.
- getSelfUser() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
-
The
SelfUser
- getSelfUser() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the currently logged in account represented by
SelfUser
. - getSelfUser() - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
The
SelfUser
that will be modified by this AccountManager. - getSendingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioSendHandler
. - getSequence() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The sequence number of this packet.
- getServiceCloseFrame() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
The close frame discord sent to us
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
The Session-Id for this VoiceState
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Session ID for this presence.
- getSessionId() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The session id for the voice server session
- getShardById(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardCache() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
ShardCacheView
of all cachedJDA
bound to this ShardManager instance. - getShardedGateway(JDA) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by
DefaultShardManager
when a new shards is starting. - getShardedGateway(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getShardForGuild(long, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(String, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(Guild, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given
Guild
will be loaded on for the given amount of shards. - getShardId() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Represents the id of the shard of the current instance.
- getShardInfo() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the shard info for this JDA instance
- getShardInfo() - Method in interface net.dv8tion.jda.api.JDA
-
The shard information used when creating this instance of JDA.
- getShardInfo() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
ShardInfo
for this request. - getShardManager() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the
ShardManager
that manages this JDA instances or null if this instance is not managed by anyShardManager
. - getShards() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
JDA
instances bound to this ShardManager. - getShardsQueued() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsQueued() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards queued for (re)connecting.
- getShardsRunning() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of running shards.
- getShardsTotal() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsTotal() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards managed by this
ShardManager
. - getShardString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Provides a shortcut method for easily printing shard info.
- getShardTotal() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
The total amount of shards based on the value provided during JDA instance creation using
JDABuilder.useSharding(int, int)
. - getShardTotal() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The recommended shard total
- getSiteProvider() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information on site from which the embed was generated from.
- getSize() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The size of the attachment in bytes.
- getSize() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
The current size of this party, or
0
if unset - getSlowmode() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The slowmode set for this TemplateChannel.
- getSlowmode() - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
The slowmode set for this TextChannel.
- getSlowmode() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
The slowmode time of this thread.
- getSmallImage() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the small corner image displayed in the profile view
- getSocketAddress() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The connected socket address for this audio connection.
- getSortBucket() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
The sorting bucket for this channel type.
- getSortBucket() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The sorting bucket for this order action.
- getSourceChannel() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The source channel for a Webhook of type
FOLLOWER
. - getSourceGuild() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The source guild for a Webhook of type
FOLLOWER
. - getSpeakers() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
All current speakers of this stage instance.
- getSpeakingMode() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - getSplashId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Discord hash-id of the splash image for this Guild.
- getSplashId() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The splash image id of this guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The URL of the splash image for this Guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the splash image url of this guild.
- getSSRC() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The synchronization source identifier (SSRC) for the user that sent this audio packet.
- getStageChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
StageChannel
this invite points to. - getStageChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StageChannel
from this guild that has the same id as the one provided. - getStageChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
StageChannel
which has the same id as the one provided. - getStageChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StageChannel
from this guild that has the same id as the one provided. - getStageChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
StageChannel
which has the same id as the one provided. - getStageChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedStageChannel
of this Guild. - getStageChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedStageChannels
visible to this JDA session. - getStageChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
StageChannel
listed for this Category - getStageChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
StageChannel
in thisGuild
. - getStageChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
StageChannels
of all connectedGuilds
. - getStageChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
StageChannel
in this Guild that have the same name as the one provided. - getStageChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
StageChannels
that have the same name as the one provided. - getStageInstance() - Method in interface net.dv8tion.jda.api.entities.StageChannel
-
StageInstance
attached to this stage channel. - getStageInstance() - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
The associated
StageInstance
- getStart() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Epoch second timestamp of match start, or
0
of unset. - getStartTime() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getState() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The user's current party status
Example: "Looking to Play", "Playing Solo", "In a Group" - getStatus() - Method in interface net.dv8tion.jda.api.JDA
-
Gets the current
Status
of the JDA instance. - getStatus() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The current OnlineStatus for this session.
- getStatus(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA.Status
of the shard which has the same id as the one provided. - getStatuses() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the current
Status
of all shards. - getStickers() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
MessageStickers
that are in this Message. - getStoreChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
StoreChannel
this invite points to. - getStoreChannel() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
StoreChannel
this override belongs to. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StoreChannel
from this guild that has the same id as the one provided. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a
StoreChannel
that has the same id as the one provided. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
StoreChannel
which has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StoreChannel
from this guild that has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a
StoreChannel
that has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
StoreChannel
which has the same id as the one provided. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedStoreChannels
of this Guild. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedStoreChannels
visible to this JDA session. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedStoreChannels
visible to this ShardManager instance. - getStoreChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
StoreChannels
listed for this Category - getStoreChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
StoreChannels
in thisGuild
. - getStoreChannels() - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
StoreChannels
of all connectedGuilds
. - getStoreChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
StoreChannels
of all connectedGuilds
. - getStoreChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
StoreChannels
in this Guild that have the same name as the one provided. - getStoreChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
StoreChannels
that have the same name as the one provided. - getString() - Method in class net.dv8tion.jda.api.requests.Response
- getString(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(int, String) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getString(String, String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getStringBuilder() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the underlying
StringBuilder
. - getStyle() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The style of this button.
- getStyle() - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
The display style flag used for the markdown representation.
- getSubcommandGroup() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getSubcommandGroup() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getSubcommandGroup() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The subcommand group name.
- getSubcommandGroups() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The
Subcommand Groups
in this command. - getSubcommandGroups() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
SubcommandGroups
of this command. - getSubcommandName() - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- getSubcommandName() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
- getSubcommandName() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteractionPayload
-
The subcommand name.
- getSubcommands() - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
The
Subcommands
in this command. - getSubcommands() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
The
Subcommands
in this group. - getSubcommands() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Subcommands
of this command. - getSubcommands() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
The
Subcommands
in this group - getSummary() - Method in interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
-
The summary of this application or
null
if this application has no summary. - getSyncId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Sync ID for this presence.
- getSystemChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that has been set as the channel which newly joinedMembers
will be announced in. - getSystemChannel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Provides the
TemplateChannel
that has been set as the channel which newly joinedMembers
will be announced in. - getTags() - Method in class net.dv8tion.jda.api.entities.MessageSticker
-
Set of tags of the sticker.
- getTags() - Method in interface net.dv8tion.jda.api.entities.Role
-
The tags of this role.
- getTarget() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.InviteTarget
object containing information about this invite's target ornull
if this invite does not have a target. - getTarget() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getTarget() - Method in interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
-
The target entity of this context interaction
- getTargetId() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetMember() - Method in class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- getTargetMember() - Method in interface net.dv8tion.jda.api.interactions.commands.context.UserContextInteraction
-
If this context menu command was used in a
Guild
, this returns the member instance for the target user. - getTargetType() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The expected
TargetType
for this ActionType - getTargetType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
TargetType
defining what kind of entity was targeted by this action. - getTargetType() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The target type of this invite or
Invite.TargetType.NONE
if this invite does not have aInviteTarget
. - getTargetType() - Method in class net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent
- getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
-
The target type of this context interaction
- getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
- getTargetType() - Method in interface net.dv8tion.jda.api.interactions.commands.context.UserContextInteraction
- getTeam() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The team information for this application.
- getTeamId() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getTeamIdLong() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getTermsOfServiceUrl() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The URL for the application's terms of service.
- getText() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The text in the footer
- getText() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
Text which is displayed when hovering the image in the official client
- getTextChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
TextChannel
that this message was sent in. - getTextChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- getTextChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
TextChannel
this invite points to. - getTextChannel() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
TextChannel
this override belongs to. - getTextChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
TextChannel
the Message was received in. - getTextChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
TextChannel
in which this users started typing, ornull
if this was not in a TextChannel. - getTextChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
TextChannel
this interaction happened in. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
TextChannel
from this guild that has the same id as the one provided. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
TextChannel
from this guild that has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedTextChannels
of this Guild. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedTextChannels
visible to this JDA session. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedTextChannels
visible to this ShardManager instance. - getTextChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
TextChannels
listed for this Category - getTextChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
TextChannels
in thisGuild
. - getTextChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
TextChannels
in this Guild that have the same name as the one provided. - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
TextChannels
that have the same name as the one provided. - getThread() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getThread() - Method in class net.dv8tion.jda.api.events.thread.GenericThreadEvent
- getThreadChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
ThreadChannel
the Message was received in. - getThreadChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
ThreadChannel
this interaction happened in. - getThreadChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
ThreadChannel
from this guild that has the same id as the one provided. - getThreadChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
ThreadChannel
which has the same id as the one provided. - getThreadChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
ThreadChannel
from this guild that has the same id as the one provided. - getThreadChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
ThreadChannel
which has the same id as the one provided. - getThreadChannelByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
ThreadChannels
that have the same name as the one provided. - getThreadChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedThreadChannel
of this Guild. - getThreadChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedThreadChannels
visible to this JDA session. - getThreadChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
ThreadChannel
in thisGuild
. - getThreadChannels() - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
-
Finds all
ThreadChannels
whose parent is this channel. - getThreadChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
ThreadChannels
of all connectedGuilds
. - getThreadChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
ThreadChannel
in this Guild that have the same name as the one provided. - getThreadMember() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
- getThreadMember() - Method in class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
- getThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets a
ThreadMember
of this thread by theirMember
. - getThreadMemberId() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
- getThreadMemberIdLong() - Method in class net.dv8tion.jda.api.events.thread.member.GenericThreadMemberEvent
- getThreadMembers() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Gets a List of all cached
members
of this thread. - getThumbnail() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the
Thumbnail
image to be displayed with the embed. - getTimeArchiveInfoLastModified() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
The last time the archive info of this thread was updated.
- getTimeBoosted() - Method in interface net.dv8tion.jda.api.entities.Member
-
The time when this member boosted the guild.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Returns creation date of this invite.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The time this entity was created.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns creation date of this template.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
As the ids of channels are their position, the date of creation cannot be calculated.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
-
As the ids of roles are their position, the date of creation cannot be calculated.
- getTimeCreated() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
As the ids of roles are their position, the date of creation cannot be calculated.
- getTimeCreated(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeCreated(ISnowflake) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeDisconnected() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
Time at which we noticed the disconnection
- getTimeEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Provides the
OffsetDateTime
defining when this Message was last edited. - getTimeJoined() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
Time
this Member joined the Guild. - getTimeJoined() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getTimeModified() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The time this command was updated last.
- getTimeOutEnd() - Method in interface net.dv8tion.jda.api.entities.Member
-
The time this Member will be released from time out.
- getTimeShutdown() - Method in class net.dv8tion.jda.api.events.ShutdownEvent
-
Time of WebSocket disconnect
- getTimestamp() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The timestamp for this packet.
- getTimestamp() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The timestamp of the embed.
- getTimestamp() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The time when the user started typing
- getTimestamp() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
The unix epoch timestamp for this markdown timestamp.
- getTimestamps() - Method in interface net.dv8tion.jda.api.entities.Activity
-
Information on the match duration, start, and end.
- getTimeUpdated() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Returns the last update date of this template.
- getTitle() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The title of the embed.
- getToken() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The execute token for this Webhook.
- getToken() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getToken() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The access token for the voice server connection
- getToken() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The interaction token used for responding to an interaction.
- getToken() - Method in interface net.dv8tion.jda.api.JDA
-
The login token that is currently being used for Discord authentication.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
-
The topic set for this TextChannel.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
The topic of this stage instance
- getTopic() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The topic set for this TemplateChannel.
- getType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
ActionType
defining what auditable Action is referred to by this entry. - getType() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The type of
Activity
. - getType() - Method in interface net.dv8tion.jda.api.entities.Channel
-
The
ChannelType
for this channel - getType() - Method in interface net.dv8tion.jda.api.entities.Invite.Channel
-
The
ChannelType
of this channel. - getType() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The type of this invite.
- getType() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
-
The type of this invite target.
- getType() - Method in interface net.dv8tion.jda.api.entities.Message
-
This specifies the
MessageType
of this Message. - getType() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
InteractionType
for this interaction. - getType() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The current
ActivityType
- getType() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The
EmbedType
of this embed. - getType() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The
ChannelType
for this TemplateChannel - getType() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
WebhookType
of this webhook. - getType() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The type of event.
- getType() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The
ChannelType
- getType() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The expected option type for this query.
- getType() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
The
Command.Type
- getType() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The
OptionType
for this option - getType() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
-
The
OptionType
this choice is for - getType() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The
Command.Type
of command - getType() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The
OptionType
. - getType() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
-
The
OptionType
of this option. - getType() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
The
CommandPrivilege.Type
of entity this privilege is applied to. - getType() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- getType() - Method in interface net.dv8tion.jda.api.interactions.components.Component
-
The type of component.
- getType() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
InteractionType
for this interaction. - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The
ChannelType
for the resulting channel - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.MessagePaginationAction
-
The
ChannelType
of the targetedMessageChannel
. - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
-
The
ChannelType
for the resulting channel - getType(Object) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Assumes the type of the provided value through instance checks.
- getTypeRaw() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The raw type value used to derive
AuditLogEntry.getType()
. - getTypeRaw() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The raw interaction type.
- getTypeRaw() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getTypeRaw() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
The raw option type.
- getTypeRaw() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The raw interaction type.
- getUdpSocket() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The UDP connection for this audio connection.
- getUnavailableGuilds() - Method in interface net.dv8tion.jda.api.JDA
-
Set of
Guild
IDs for guilds that were marked unavailable by the gateway. - getUnsignedInt(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(int, int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedInt(String, int) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedLong(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(int, long) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUnsignedLong(String, long) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUrl() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The URL of the
Activity
if the game is actually a Stream. - getUrl() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The invite URL for this invite in the format of:
"https://discord.gg/" + getCode()
- getUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The url of the Attachment, most likely on the Discord servers.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The url that was originally placed into chat that spawned this embed.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
The url of the provider.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The web url of this thumbnail image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The url of the video.
- getUrl() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
URL for this image, combination of
RichPresence.getApplicationId()
andRichPresence.Image.getKey()
- getUrl() - Method in class net.dv8tion.jda.api.entities.VanityInvite
-
The invite url.
- getUrl() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
POST
route for this Webhook. - getUrl() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The invite url.
- getUrl() - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The target URL for this button, if it is a
LINK
-Style Button. - getUrl() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The gateway endpoint
- getUser() - Method in class net.dv8tion.jda.api.audio.UserAudio
-
The
User
that provided the audio data. - getUser() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
User
responsible for this action. - getUser() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The
User
that was banned - getUser() - Method in interface net.dv8tion.jda.api.entities.Invite.InviteTarget
- getUser() - Method in interface net.dv8tion.jda.api.entities.ListedEmote
-
The user who created this Emote
- getUser() - Method in interface net.dv8tion.jda.api.entities.Member
-
The user wrapped by this Entity.
- getUser() - Method in class net.dv8tion.jda.api.entities.Message.Interaction
-
The
User
who caused this interaction. - getUser() - Method in interface net.dv8tion.jda.api.entities.PrivateChannel
-
The
User
that thisPrivateChannel
communicates with. - getUser() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
User for the team member.
- getUser() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildBanEvent
-
The banned
User
- getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
-
The
User
who was unbanned - getUser() - Method in class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
- getUser() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
-
The corresponding user who was removed from the guild.
- getUser() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getUser() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The reacting
User
This might be missing if the user was not cached. - getUser() - Method in class net.dv8tion.jda.api.events.user.GenericUserEvent
-
The related user instance
- getUser() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
User
who caused this interaction. - getUser() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The user associated with the id
- getUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserByTag(String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedUsers
visible to this JDA session. - getUserCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedUsers
visible to this ShardManager instance. - getUserId() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The ID of the responsible
User
. - getUserId() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who owns the reaction.
- getUserId() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The id of the user who will be added by this task
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who owns reaction.
- getUserLimit() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
The maximum amount of
Members
that can be in this voice channel at once. - getUserLimit() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
-
The maximum amount of
Members
that can be in thisVoiceChannel
at once. - getUserLocale() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- getUserLocale() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Returns the selected language of the invoking user.
- getUsers() - Method in class net.dv8tion.jda.api.audio.CombinedAudio
-
An unmodifiable list of all
Users
that provided audio that was combined. - getUsers() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The names of all users in this group.
- getUsers() - Method in interface net.dv8tion.jda.api.JDA
- getUsers() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getUsersByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
This immutable returns all
Users
that have the same username as the one provided. - getUses() - Method in interface net.dv8tion.jda.api.entities.Invite
-
How often this invite has been used.
- getUses() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
How often this template has been used.
- getUses() - Method in class net.dv8tion.jda.api.entities.VanityInvite
-
How many times this invite has been used.
- getValue() - Method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns the value of the MessageFlag as represented in the bitfield.
- getValue() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
The value of the field
- getValue() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
-
The query value that the user is currently typing.
- getValue() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The current option value which is used to identify the selected options in
SelectMenuInteraction.getValues()
. - getValues() - Method in class net.dv8tion.jda.api.events.interaction.component.SelectMenuInteractionEvent
- getValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenuInteraction
-
The selected values.
- getVanityCode() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url code for this Guild.
- getVanityUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url for this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the verification-Level of this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the
VerificationLevel
of this guild. - getVerificationLevel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
-
Returns the
VerificationLevel
of this guild. - getVersion() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
The version of this command.
- getVideoInfo() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the video which should be displayed as an embed.
- getVoiceChannel() - Method in class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
-
The
VoiceChannel
this invite points to. - getVoiceChannel() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
The
VoiceChannel
this override belongs to. - getVoiceChannel() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
The
VoiceChannel
this interaction happened in. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
VoiceChannel
from this guild that has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a voice channel with the given ID, or
null
if the voice channel is not found - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
VoiceChannel
from this guild that has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a voice channel with the given ID, or null if the voice channel is not found
- getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedVoiceChannels
of this Guild. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this JDA session. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this ShardManager instance. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
VoiceChannels
listed for this Category - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
VoiceChannels
in thisGuild
. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets the list of voice channels in the guild
- getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
VoiceChannels
in this Guild that have the same name as the one provided. - getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
VoiceChannels
that have the same name as the one provided. - getVoiceState() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
VoiceState
of this Member. - getVoiceState() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
- getVoiceState() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
-
The voice state for the guild
- getVoiceState() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
The current voice state of the member.
- getVoiceStates() - Method in interface net.dv8tion.jda.api.entities.Guild
- getWebhook() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Webhook
that the target id of this audit-log entry refers to - getWebhook() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
The target
Webhook
that will be modified by this manager - getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the widget that to which this member belongs
- getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the Widget to which this voice channel belongs
- getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- getWidget(long) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidget(String) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidgetBanner(String, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidgetBanner(Guild, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidth() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The width of the Attachment if this Attachment is an image/video.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The width of the image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The width of the thumbnail image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The width of the video.
- GIF - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
GIF
- GITHUB - Static variable in class net.dv8tion.jda.api.JDAInfo
- givePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - givePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - GRACEFUL_CLOSE - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- grant(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
bits to the selectedPermissionOverride
. - grant(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- GROUP - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A Group.
- GROUP - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- Guild - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord
Guild
. - GUILD - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- GUILD - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- GUILD_AFK_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getAfkChannel()
value represented by a VoiceChannel ID. - GUILD_AFK_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
AFKTimeout
of a Guild. - GUILD_BANS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Ban events.
- GUILD_BOOST_TIER_1 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 1
- GUILD_BOOST_TIER_2 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 2
- GUILD_BOOST_TIER_3 - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 3
- GUILD_COMMUNITY_UPDATES_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getCommunityUpdatesChannel()
value represented by a TextChannel ID. - GUILD_DISCOVERY_DISQUALIFIED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_DISCOVERY_REQUALIFIED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
System message related to discovery qualifications.
- GUILD_EMOJIS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Emote add/update/delete events.
- GUILD_EXPLICIT_CONTENT_FILTER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getExplicitContentLevel()
of a Guild. - GUILD_EXPLICIT_CONTENT_FILTER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- GUILD_ICON - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Icon ID
of a Guild. - GUILD_INVITE_REMINDER - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
The "Invite your friends" messages that are sent to guild owners in new servers.
- GUILD_INVITES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Invite events.
- GUILD_MEMBER_BOOST - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce a new booster
- GUILD_MEMBER_JOIN - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to welcome new members in a Guild
- GUILD_MEMBERS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
PRIVILEGED INTENT Events which inform us about member update/leave/join of a guild.
- GUILD_MESSAGE_REACTIONS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message reaction events in guilds.
- GUILD_MESSAGE_TYPING - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Typing start events in guilds.
- GUILD_MESSAGES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Message events from text channels in guilds.
- GUILD_MFA_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- GUILD_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change for the
Guild.getName()
value - GUILD_NEWS_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
- GUILD_NOTIFICATION_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getDefaultNotificationLevel()
value. - GUILD_ONLY - Enum constant in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
This stage instance can only be accessed by guild members
- GUILD_OREMIUM_LEVE_TOO_LOW - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- GUILD_OWNER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of User ID for the owner of a
Guild
- GUILD_PRESENCES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
PRIVILEGED INTENT Presence updates.
- GUILD_PRIVATE_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
- GUILD_PRUNE_DELETE_DAYS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Days of inactivity for a prune event.
- GUILD_PUBLIC_THREAD - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
- GUILD_REGION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of region represented by a key.
- GUILD_RULES_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getRulesChannel()
value represented by a TextChannel ID. - GUILD_SPLASH - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Splash ID
of a Guild. - GUILD_SUBSCRIPTIONS - Static variable in class net.dv8tion.jda.api.JDABuilder
- GUILD_SYSTEM_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getSystemChannel()
value represented by a TextChannel ID. - GUILD_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated
Guild
information. - GUILD_VANITY_URL_CODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVanityCode()
value. - GUILD_VERIFICATION_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVerificationLevel()
value. - GUILD_VOICE_STATES - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Voice state events.
- GUILD_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Webhook events.
- GUILD_WIDGET_CHANNEL_ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The target channel for a widget
- GUILD_WIDGET_ENABLED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Whether the guild widget is disabled or enabled
- Guild.Ban - Class in net.dv8tion.jda.api.entities
-
Represents a Ban object.
- Guild.BoostTier - Enum in net.dv8tion.jda.api.entities
-
The boost tier for this guild.
- Guild.ExplicitContentLevel - Enum in net.dv8tion.jda.api.entities
-
The Explicit-Content-Filter Level of a Guild.
- Guild.MetaData - Class in net.dv8tion.jda.api.entities
-
Meta-Data for a Guild
- Guild.MFALevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Multifactor Authentication level required by the Guild.
- Guild.NotificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Notification-level of the Guild.
- Guild.NSFWLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the NSFW level for this guild.
- Guild.Timeout - Enum in net.dv8tion.jda.api.entities
-
Represents the idle time allowed until a user is moved to the AFK
VoiceChannel
if one is set (Guild.getAfkChannel()
). - Guild.VerificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Verification-Level of the Guild.
- GuildAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow for the creation ofGuilds
. - GuildAction.ChannelData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAction.RoleData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAvailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became available. - GuildAvailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildAvailableEvent
- GuildBanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildBanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildBanEvent
- GuildChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a
Guild
channel. - GuildInviteCreateEvent - Class in net.dv8tion.jda.api.events.guild.invite
- GuildInviteCreateEvent(JDA, long, Invite, GuildChannel) - Constructor for class net.dv8tion.jda.api.events.guild.invite.GuildInviteCreateEvent
- GuildInviteDeleteEvent - Class in net.dv8tion.jda.api.events.guild.invite
- GuildInviteDeleteEvent(JDA, long, String, GuildChannel) - Constructor for class net.dv8tion.jda.api.events.guild.invite.GuildInviteDeleteEvent
- GuildJoinEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
. - GuildJoinEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildJoinEvent
- GuildLeaveEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you left a
Guild
. - GuildLeaveEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildLeaveEvent
- GuildManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Guild
. - GuildMemberJoinEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberJoinEvent
- GuildMemberRemoveEvent - Class in net.dv8tion.jda.api.events.guild.member
-
Indicates that a user was removed from a
Guild
. - GuildMemberRemoveEvent(JDA, long, Guild, User, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
- GuildMemberRoleAddEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleAddEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
- GuildMemberRoleRemoveEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleRemoveEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
- GuildMemberUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateAvatarEvent(JDA, long, Member, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
- GuildMemberUpdateBoostTimeEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateBoostTimeEvent(JDA, long, Member, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- GuildMemberUpdateEvent - Class in net.dv8tion.jda.api.events.guild.member
-
Fired for every
Member
update, regardless of cache. - GuildMemberUpdateEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberUpdateEvent
- GuildMemberUpdateNicknameEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateNicknameEvent(JDA, long, Member, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- GuildMemberUpdatePendingEvent - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that a
Member
has agreed to Membership Screening requirements. - GuildMemberUpdatePendingEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
- GuildMemberUpdateTimeOutEvent - Class in net.dv8tion.jda.api.events.guild.member.update
-
Indicates that a
Member
had their time out changed. - GuildMemberUpdateTimeOutEvent(JDA, long, Member, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
- GuildMessageChannel - Interface in net.dv8tion.jda.api.entities
-
Represents all message channels present in guilds.
- GuildReadyEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
finished setting up
This event is fired if a guild finished setting up during login phase. - GuildReadyEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildReadyEvent
- GuildReference(long, String) - Constructor for class net.dv8tion.jda.api.entities.Webhook.GuildReference
- GuildTimeoutEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a guild failed to ready up and timed out.
- GuildTimeoutEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
- GuildUnavailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became unavailable. - GuildUnavailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnavailableEvent
- GuildUnbanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildUnbanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
- GuildUpdateAfkChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the afk-channel of a
Guild
changed. - GuildUpdateAfkChannelEvent(JDA, long, Guild, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- GuildUpdateAfkTimeoutEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
AFK-Timeout
of aGuild
changed. - GuildUpdateAfkTimeoutEvent(JDA, long, Guild, Guild.Timeout) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- GuildUpdateBannerEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateBannerEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- GuildUpdateBoostCountEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost count
of aGuild
changed. - GuildUpdateBoostCountEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- GuildUpdateBoostTierEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost tier
of aGuild
changed. - GuildUpdateBoostTierEvent(JDA, long, Guild, Guild.BoostTier) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- GuildUpdateCommunityUpdatesChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the community updates channel of a
Guild
changed. - GuildUpdateCommunityUpdatesChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
- GuildUpdateDescriptionEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
description
of aGuild
changed. - GuildUpdateDescriptionEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- GuildUpdateExplicitContentLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
ExplicitContentLevel
of aGuild
changed. - GuildUpdateExplicitContentLevelEvent(JDA, long, Guild, Guild.ExplicitContentLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- GuildUpdateFeaturesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the features of a
Guild
changed. - GuildUpdateFeaturesEvent(JDA, long, Guild, Set<String>) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- GuildUpdateIconEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the Icon of a
Guild
changed. - GuildUpdateIconEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- GuildUpdateLocaleEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateLocaleEvent(JDA, long, Guild, Locale) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- GuildUpdateMaxMembersEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum member limit
of aGuild
changed. - GuildUpdateMaxMembersEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- GuildUpdateMaxPresencesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum presences limit
of aGuild
changed. - GuildUpdateMaxPresencesEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- GuildUpdateMFALevelEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateMFALevelEvent(JDA, long, Guild, Guild.MFALevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- GuildUpdateNameEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the name of a
Guild
changed. - GuildUpdateNameEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- GuildUpdateNotificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
NotificationLevel
of aGuild
changed. - GuildUpdateNotificationLevelEvent(JDA, long, Guild, Guild.NotificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- GuildUpdateNSFWLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateNSFWLevelEvent(JDA, long, Guild, Guild.NSFWLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- GuildUpdateOwnerEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the owner of a
Guild
changed. - GuildUpdateOwnerEvent(JDA, long, Guild, Member, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- GuildUpdateRulesChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the rules channel of a
Guild
changed. - GuildUpdateRulesChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
- GuildUpdateSplashEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the splash of a
Guild
changed. - GuildUpdateSplashEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- GuildUpdateSystemChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the system channel of a
Guild
changed. - GuildUpdateSystemChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- GuildUpdateVanityCodeEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
vanity url
of aGuild
changed. - GuildUpdateVanityCodeEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- GuildUpdateVerificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
VerificationLevel
of aGuild
changed. - GuildUpdateVerificationLevelEvent(JDA, long, Guild, Guild.VerificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- GuildVoiceDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened. - GuildVoiceDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
- GuildVoiceGuildDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened by a moderator. - GuildVoiceGuildDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
- GuildVoiceGuildMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted by a moderator. - GuildVoiceGuildMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
- GuildVoiceJoinEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
connected to aAudioChannel
. - GuildVoiceJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceJoinEvent
- GuildVoiceLeaveEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
disconnected from aAudioChannel
. - GuildVoiceLeaveEvent(JDA, long, Member, AudioChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceLeaveEvent
- GuildVoiceMoveEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
moves betweenAudioChannels
. - GuildVoiceMoveEvent(JDA, long, Member, AudioChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- GuildVoiceMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted. - GuildVoiceMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
- GuildVoiceRequestToSpeakEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a guild member has updated their
Request-to-Speak
. - GuildVoiceRequestToSpeakEvent(JDA, long, Member, OffsetDateTime, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceRequestToSpeakEvent
- GuildVoiceSelfDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)deafened itself. - GuildVoiceSelfDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
- GuildVoiceSelfMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)muted itself. - GuildVoiceSelfMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
- GuildVoiceState - Interface in net.dv8tion.jda.api.entities
- GuildVoiceStreamEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
started or ended a stream. - GuildVoiceStreamEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceStreamEvent
- GuildVoiceSuppressEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)suppressed. - GuildVoiceSuppressEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
- GuildVoiceUpdateEvent - Interface in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
joined or left anAudioChannel
. - GuildVoiceVideoEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
turned on their camera. - GuildVoiceVideoEvent(JDA, long, Member, boolean) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceVideoEvent
H
- handle(Class<T>, Consumer<? super T>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Class<T>, Predicate<? super T>, Consumer<? super T>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Collection<Class<?>>, Predicate<? super Throwable>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific throwable types.
- handle(Collection<ErrorResponse>, Consumer<? super ErrorResponseException>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific
ErrorResponses
. - handle(Predicate<? super Throwable>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific conditions.
- handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- handle(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Handles the provided
GenericEvent
. - handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- handle(ErrorResponse, Consumer<? super ErrorResponseException>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Handle specific
ErrorResponses
. - handleCombinedAudio(CombinedAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveCombined()
returns true, JDA will provide aCombinedAudio
object to this method every 20 milliseconds. - handleEncodedAudio(OpusPacket) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveEncoded()
returns true, JDA will provide rawOpusPackets
to this method every 20 milliseconds. - handleResponse(Response) - Method in class net.dv8tion.jda.api.requests.Request
- handleUserAudio(UserAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveUser()
returns true, JDA will provide aUserAudio
object to this method every time the user speaks. Continuing with the last statement: This method is only fired when discord provides us audio data which is very different from the scheduled firing time ofAudioReceiveHandler.handleCombinedAudio(CombinedAudio)
. - hasAccess(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has
VIEW_CHANNEL
andVOICE_CONNECT
permissions in theGuildChannel
. - hasCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this reaction can provide a count via
MessageReaction.getCount()
. - hashCode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- hashCode() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- hashCode() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- hashCode() - Method in class net.dv8tion.jda.api.entities.Emoji
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- hashCode() - Method in class net.dv8tion.jda.api.entities.RoleIcon
- hashCode() - Method in class net.dv8tion.jda.api.entities.templates.Template
- hashCode() - Method in class net.dv8tion.jda.api.entities.VanityInvite
- hashCode() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- hashCode() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
- hashCode() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- hasKey(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is present.
- hasLatestMessage() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Whether this MessageChannel contains a tracked most recent message or not.
- hasNext() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- hasNext() - Method in class net.dv8tion.jda.api.utils.LockIterator
- hasPermission(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the Guild. - hasPermission(GuildChannel, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the specified GuildChannel. - hasPermission(GuildChannel, Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the specified GuildChannel. - hasPermission(Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the Guild. - hasPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Whether or not the currently logged in user and this user have a currently open
PrivateChannel
or not. - hasTimeJoined() - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this member has accurate
Member.getTimeJoined()
information. - hasUser() - Method in interface net.dv8tion.jda.api.entities.ListedEmote
-
Whether this Emote has information about the creator.
- here(Consumer<? super Throwable>) - Static method in exception net.dv8tion.jda.api.exceptions.ContextException
-
Creates a wrapping
Consumer
for the provided target. - HERE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for all active users, literal
@here
- herePrintingTrace() - Static method in exception net.dv8tion.jda.api.exceptions.ContextException
-
Creates a failure consumer that appends a context cause before printing the stack trace using
Throwable.printStackTrace()
. - HierarchyException - Exception in net.dv8tion.jda.api.exceptions
- HierarchyException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.HierarchyException
- HIGH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- HOIST - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the hoisted field
- HONG_KONG - Enum constant in enum net.dv8tion.jda.api.Region
- HttpException - Exception in net.dv8tion.jda.api.exceptions
- HttpException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.HttpException
- HttpException(String, Throwable) - Constructor for exception net.dv8tion.jda.api.exceptions.HttpException
- HttpRequestEvent - Class in net.dv8tion.jda.api.events.http
-
Indicates that a
RestAction
has been executed. - HttpRequestEvent(Request<?>, Response) - Constructor for class net.dv8tion.jda.api.events.http.HttpRequestEvent
- HYPESQUAD - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BALANCE - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BRAVERY - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- HYPESQUAD_BRILLIANCE - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
I
- IAudioSendFactory - Interface in net.dv8tion.jda.api.audio.factory
-
Factory interface for the creation of new
IAudioSendSystem
objects. - IAudioSendSystem - Interface in net.dv8tion.jda.api.audio.factory
-
Interface that acts as a UDP audio packet sending loop.
- IAutoCompleteCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow auto-complete suggestion replies.
- ICategorizableChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a channel that can be a member of a
Category
. - ICategorizableChannelManager<T extends ICategorizableChannel,
M extends ICategorizableChannelManager<T, M>> - Interface in net.dv8tion.jda.api.managers.channel.attribute - Icon - Class in net.dv8tion.jda.api.entities
-
Icon containing a base64 encoded jpeg/png/gif/gifv image.
- ICON - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the icon field
- ICON - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the icon field
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Template for
ApplicationTeam.getIconUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.Emote
-
Template for
Emote.getImageUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getIconUrl()
. - ICON_URL - Static variable in class net.dv8tion.jda.api.entities.MessageSticker
-
Template for
MessageSticker.getIconUrl()
- ICON_URL - Static variable in class net.dv8tion.jda.api.entities.RoleIcon
-
Template for
RoleIcon.getIconUrl()
. - Icon.IconType - Enum in net.dv8tion.jda.api.entities
-
Supported image types for the Discord API.
- ICopyableChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a GuildChannel that is capable of being copied.
- ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button id can have
- ID_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum length a select menu id can have
- IDeferrableCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which can be deferred.
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.GatewayPingEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdatePendingEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateTimeOutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateCommunityUpdatesChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNSFWLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRulesChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- IDENTIFIER - Static variable in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.StatusChangeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- IDENTIFY_DELAY - Static variable in interface net.dv8tion.jda.api.utils.SessionController
-
The default delay (in seconds) to wait between running
SessionConnectNodes
- IDENTIFYING_SESSION - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has successfully connected it's websocket to Discord and is sending authentication
- IDLE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently idle (orange circle)
- IEventManager - Interface in net.dv8tion.jda.api.hooks
-
An interface for JDA's EventManager system.
- ignore(Class<?>, Class<?>...) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore exceptions of the specified types.
- ignore(Collection<ErrorResponse>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore the specified set of error responses.
- ignore(Collection<ErrorResponse>) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, Collection<ErrorResponse>) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, ErrorResponse, ErrorResponse...) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Predicate<? super Throwable>) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore exceptions on specific conditions.
- ignore(ErrorResponse, ErrorResponse...) - Method in class net.dv8tion.jda.api.exceptions.ErrorHandler
-
Ignore the specified set of error responses.
- ignore(ErrorResponse, ErrorResponse...) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- IInviteContainer - Interface in net.dv8tion.jda.api.entities
-
Represents a
GuildChannel
that can be the target of a Guild's invite. - ILLEGAL_OPERATION_ARCHIVED_THREAD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Image(long, String, String) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Image
- IMAGE - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- ImageInfo(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
- IMemberContainer - Interface in net.dv8tion.jda.api.entities
-
Represents a
GuildChannel
that is capable of containing members. - IMentionable - Interface in net.dv8tion.jda.api.entities
-
Marks a mentionable entity.
- IMessageEditCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow a target message to be edited on use.
- inAudioChannel() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Used to determine if the
Member
is currently in anAudioChannel
in theGuild
returned fromgetGuild()
.
If this isfalse
,getChannel()
will returnnull
. - include(long...) - Static method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Factory method to chunk a whitelist of guild ids.
- includeUserInCombinedAudio(User) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
This method is a filter predicate used by JDA to determine whether or not to include a
User
's audio when creating a CombinedAudio packet. - INCOMING - Enum constant in enum net.dv8tion.jda.api.entities.WebhookType
-
Normal webhooks that can be used for sending messages
- Incubating - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with Incubating might change in a future release.
- indexOf(CharSequence, int, int) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the index within this string of the first occurrence of the specified substring between the specified indices.
- INDIA - Enum constant in enum net.dv8tion.jda.api.Region
- INITIALIZED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has finished setting up supporting systems and is ready to log in.
- INITIALIZING - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is currently setting up supporting systems like the AudioSystem.
- INLINE_REPLY - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Reply to another message.
- INPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
Audio Input Format expected by JDA if
AudioSendHandler.isOpus()
returns false. - insert(int, Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Inserts the specified value at the provided index.
- installAuxiliaryPort() - Method in interface net.dv8tion.jda.api.JDA
-
Installs an auxiliary port for audio transfer.
- INSTANCE - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- InsufficientPermissionException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that the user is missing a
Permission
for some action. - InsufficientPermissionException(GuildChannel, Permission) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(GuildChannel, Permission, String) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission, String) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- INT - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- INT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- INTEGER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept
Long
integer inputs - INTEGRATION - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- INTEGRATION_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has added an integration to the guild
- INTEGRATION_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has removed an integration from the guild
- INTEGRATION_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated an integration of the guild
- Interaction - Interface in net.dv8tion.jda.api.interactions
-
Abstract representation for any kind of Discord interaction.
- Interaction(long, int, String, User, Member) - Constructor for class net.dv8tion.jda.api.entities.Message.Interaction
- InteractionCallbackAction<T> - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A callback action is used to acknowledge an
Interaction
. - InteractionCallbackAction.ResponseType - Enum in net.dv8tion.jda.api.requests.restaction.interactions
-
The possible types of interaction responses.
- InteractionFailureException - Exception in net.dv8tion.jda.api.exceptions
-
Exception caused by the failure of
ReplyAction
. - InteractionFailureException() - Constructor for exception net.dv8tion.jda.api.exceptions.InteractionFailureException
- InteractionHook - Interface in net.dv8tion.jda.api.interactions
-
Webhook API for an interaction.
- InteractionType - Enum in net.dv8tion.jda.api.interactions
-
Enum for interaction types.
- InterfacedEventManager - Class in net.dv8tion.jda.api.hooks
-
An
IEventManager
implementation that uses theEventListener
interface for event listeners. - InterfacedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.InterfacedEventManager
- INTERNAL_SERVER_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_ACCOUNT_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_API_VERSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_AUTHOR_EDIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE_MESSAGE_AGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_CHANNEL_TYPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_DM_ACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_FILE_UPLOADED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_FORM_BODY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_INTENTS - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_LOTTIE_JSON - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MESSAGE_TARGET - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MFA_LEVEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_ACCESS_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_STATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PASSWORD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PIN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_RECIPIENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_ROLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_SEQ - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_SHARD - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- INVALID_STICKER_SENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_THREAD_NOTIFICATION_SETTINGS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_WEBHOOK_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVISIBLE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the currently logged in account is set to invisible and shows up as
OnlineStatus.OFFLINE
for other users. - INVITABLE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The invite state of this channel.
- Invite - Interface in net.dv8tion.jda.api.entities
-
Representation of a Discord Invite.
- INVITE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- INVITE_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getChannel()
ID for the targetInvite
Use withJDA.getTextChannelById(String)
orJDA.getVoiceChannelById(String)
- INVITE_CODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getCode()
for the targetInvite
Use withInvite.resolve(net.dv8tion.jda.api.JDA, String)
Invite.resolve(JDA, String)} - INVITE_CODE_INVALID - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
Someone has created an
Invite
. - INVITE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted an
Invite
. - INVITE_FOR_UNKNOWN_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_INVITER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- INVITE_MAX_AGE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxAge()
for the targetInvite
- INVITE_MAX_USES - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxUses()
for the targetInvite
- INVITE_PATTERN - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Pattern used to find instant invites in strings.
- INVITE_TEMPORARY - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.isTemporary()
for the targetInvite
- INVITE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An
Invite
has been updated. - INVITE_USES - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getUses()
for the targetInvite
- Invite.Channel - Interface in net.dv8tion.jda.api.entities
-
POJO for the channel information provided by an invite.
- Invite.EmbeddedApplication - Interface in net.dv8tion.jda.api.entities
-
POJO for the target application information provided by an invite.
- Invite.Group - Interface in net.dv8tion.jda.api.entities
-
POJO for the group information provided by an invite.
- Invite.Guild - Interface in net.dv8tion.jda.api.entities
-
POJO for the guild information provided by an invite.
- Invite.InviteTarget - Interface in net.dv8tion.jda.api.entities
-
POJO for the target of this invite.
- Invite.InviteType - Enum in net.dv8tion.jda.api.entities
-
Enum representing the type of an invite.
- Invite.TargetType - Enum in net.dv8tion.jda.api.entities
-
A TargetType indicates additional action to be taken by the client on accepting the invite, typically connecting external services or launching external applications depending on the specific TargetType.
- INVITEABLE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the invitable field
- InviteAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Invite
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createInvites
. - INVITED - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The user has a pending invite
- inviteSpeaker() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Invite this member to become a speaker.
- inVoiceChannel() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Used to determine if the member is currently in a voice channel.
- IOBiConsumer<T,
R> - Interface in net.dv8tion.jda.api.utils - IOConsumer<T> - Interface in net.dv8tion.jda.api.utils
- IOFunction<T,
R> - Interface in net.dv8tion.jda.api.utils - IPacketProvider - Interface in net.dv8tion.jda.api.audio.factory
-
Represents the connection between a
IAudioSendSystem
and JDA's internal audio system, providing access to audio packets built from data provided fromAudioSendHandlers
. - IPermissionContainer - Interface in net.dv8tion.jda.api.entities
-
Represents a
GuildChannel
that usesPermission Overrides
. - IPermissionContainerManager<T extends IPermissionContainer,
M extends IPermissionContainerManager<T, M>> - Interface in net.dv8tion.jda.api.managers.channel.attribute - IPermissionHolder - Interface in net.dv8tion.jda.api.entities
-
Marker for entities that hold Permissions within JDA
- IPositionableChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a
GuildChannel
that has a position. - IPositionableChannelManager<T extends IPositionableChannel,
M extends IPositionableChannelManager<T, M>> - Interface in net.dv8tion.jda.api.managers.channel.attribute - IReplyCallback - Interface in net.dv8tion.jda.api.interactions.callbacks
-
Interactions which allow message replies in the channel they were used in.
- IS_CROSSPOST - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
The Message originated from a Message in another Channel (via Channel Following)
- isAcknowledged() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
- isAcknowledged() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Whether this interaction has already been acknowledged.
- isAnimated() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this emoji is animated.
- isAnimated() - Method in class net.dv8tion.jda.api.entities.Emoji
-
Whether this emote is animated.
- isAnimated() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether or not this Emote is animated.
- isArchived() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether this thread has been archived.
- isAscendingOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Whether this instance uses ascending order, from the lowest position to the highest.
- isAudio() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
Whether channels of this type support audio connections.
- isAudioSupported() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether the opus library is loaded or not.
- isAutoComplete() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Whether this option supports auto-complete interactions via
CommandAutoCompleteInteractionEvent
. - isAutoComplete() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
Whether this option supports auto-complete
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.JDA
-
USed to determine whether or not autoReconnect is enabled for JDA.
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether audio connections from this AudioManager automatically reconnect
- isAvailable() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether this emote is available.
- isAvailable() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Shows whether or not the widget for a guild is available.
- isBoost() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is the boost role of this guild.
- isBoostProgressBarEnabled() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns whether this Guild has its boost progress bar shown.
- isBot() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is associated with a bot.
- isBot() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns whether or not the given user is a Bot-Account (special badge in client, some different behaviour)
- isBot() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Returns whether or not the given member is a bot account
- isBotPublic() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Whether the bot is public or not.
- isBulkDeleteSplittingEnabled() - Method in interface net.dv8tion.jda.api.JDA
-
Used to determine if JDA will process MESSAGE_DELETE_BULK messages received from Discord as a single
MessageBulkDeleteEvent
or split the deleted messages up and fire multipleMessageDeleteEvents
, one for each deleted message. - isCacheEnabled() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether retrieved entities are stored within an internal cache.
- isCancelled() - Method in class net.dv8tion.jda.api.requests.Request
- isChannel() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present Channel level (configurable via
PermissionsOverrides
) - isClosedByServer() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
Whether the connection was closed by discord
- isConnected() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
This can be used to find out if JDA currently has an active audio connection with a
AudioChannel
. - isCustom() - Method in class net.dv8tion.jda.api.entities.Emoji
-
Whether this is a custom emote from a Guild.
- isDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is deafened, either by choiceGuildVoiceState.isSelfDeafened()
or deafened by an adminGuildVoiceState.isGuildDeafened()
- isDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
-
Whether the member was deafened in this event.
- isDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened, either by an admin or self-deafened
- isDefault() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Whether this option is selected by default
- isDefaultEnabled() - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Whether this command is available to everyone by default.
- isDefaultEnabled() - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Whether this command is enabled for everyone by default.
- isDefaultFailOnInvalidReply() - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Returns the default behavior for replies when the referenced message does not exist.
- isDefaultMentionRepliedUser() - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Returns the default mention behavior for replies.
- isDefaultMentionRepliedUser() - Static method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Returns the default mention behavior for replies.
- isDisabled() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
True if this privilege is denying access to the command
- isDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Whether this action component is disabled.
- isDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Whether all components in this layout are
disabled
. - isDisabled() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Whether the menu is disabled
- isDiscoverable() - Method in interface net.dv8tion.jda.api.entities.StageInstance
-
Deprecated.Stage discovery has been removed from the platform
- isEdit() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether this MessageAction will be used to update an existing message.
- isEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns whether or not this Message has been edited before.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this is a unicode emoji.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
Whether this represents a unicode emoji.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.RoleIcon
-
Whether this
RoleIcon
is an emoji instead of a custom image. - isEmote() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this is a custom emoji (Emote)
- isEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
Whether this is an
Emote
wrapper. - isEmpty() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks if the given embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Whether this MessageHistory instance has retrieved any messages.
- isEmpty() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Check whether this layout is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Checks if the message contains any contend.
- isEmpty() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether this MessageAction has no values set.
- isEmpty() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether the cache of this PaginationAction is empty.
- isEmpty() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Whether the cache is empty
- isEmpty() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether this array is empty
- isEnabled() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
-
True if this privilege is granting access to the command
- isEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Whether all components in this layout are
enabled
. - isEphemeral() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is from an ephemeral Message.
- isEphemeral() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message is ephemeral.
- isError() - Method in class net.dv8tion.jda.api.requests.Response
- isExpanded() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite is expanded or not.
- isExpired() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Whether this interaction has expired.
- isFailure() - Method in class net.dv8tion.jda.api.utils.Result
-
True if this result is a failure.
- isFromGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message was sent in a
Guild
. - isFromGuild() - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
Whether this channel event happened in a
Guild
. - isFromGuild() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Whether this message was sent in a
Guild
. - isFromGuild() - Method in interface net.dv8tion.jda.api.interactions.Interaction
-
Whether this interaction came from a
Guild
. - isFromThread() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
If the message event was from a
ThreadChannel
- isFromType(ChannelType) - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to determine if this Message was received from a
MessageChannel
of theChannelType
specified. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this Reaction was used in a
MessageChannel
of the specifiedChannelType
. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.channel.GenericChannelEvent
- isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Indicates whether the message is from the specified
ChannelType
- isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Whether the user started typing in a channel of the specified type.
- isGuild() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
Whether this ChannelType is present for a
GuildChannel
- isGuild() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present at the Guild level (configurable via
Roles
) - isGuildDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got deafened by an Admin - isGuildDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
-
Whether the member was deafened by a moderator in this event
- isGuildDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened by an admin
- isGuildMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got muted by an Admin - isGuildMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
-
Whether the member was muted by a moderator in this event
- isGuildMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted by an admin
- isHoisted() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is hoisted
Members in a hoisted role are displayed in their own grouping on the user-list - isHoisted() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
Whether this
Role
is hoisted
Members in a hoisted role are displayed in their own grouping on the user-list - isIdle() - Method in interface net.dv8tion.jda.api.managers.Presence
-
Whether the current session is marked as afk or not.
- isImage() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is an Image, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isInit() - Method in enum net.dv8tion.jda.api.JDA.Status
- isInitialized() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether this class was already initialized or not.
- isInline() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
If the field is in line.
- isIntegration() - Method in interface net.dv8tion.jda.api.entities.Role.RoleTags
-
Whether this role is managed by an integration.
- isInvitable() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether this thread is invitable.
- isJoined() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether the currently logged in member has joined this thread.
- isLoaded() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Whether this guild has loaded members.
- isLocked() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether this thread is locked or not.
- isLogged() - Method in class net.dv8tion.jda.api.events.ExceptionEvent
-
Whether this Throwable was already printed using the JDA logging system
- isManaged() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether this emote is managed.
- isManaged() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is managed by an integration - isManaged() - Method in class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
-
Whether this emote is managed by an integration
- isMember() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aMember
or not - isMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Check whether
ApplicationTeam.getMember(User)
returns null for the provided user. - isMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to determine if the provided
User
is a member of this Guild. - isMemberOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this PermissionOverride relates to a specific
Member
. - isMemberOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
Whether this override was for a member.
- isMentionable() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether or not this Role is mentionable
- isMentionable() - Method in class net.dv8tion.jda.api.entities.templates.TemplateRole
-
Whether or not this Role is mentionable
- isMentioned(IMentionable, Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Checks if given
IMentionable
was mentioned in this message in any way (@User, @everyone, @here, @Role). - isMessage() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
Whether channels of this type support message sending.
- isMfaEnabled() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
If true, this account is protected by Multi-Factor authorization.
- isModerator(Member) - Method in interface net.dv8tion.jda.api.entities.StageChannel
-
Whether this member is considered a moderator for this stage channel.
- isMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is muted, either by choiceGuildVoiceState.isSelfMuted()
or muted by an adminGuildVoiceState.isGuildMuted()
- isMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
-
Whether the member was muted in this event.
- isMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted, either by an admin or self-muted
- isNews() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Whether or not this channel is considered an Announcement-/News-Channel.
- ISnowflake - Interface in net.dv8tion.jda.api.entities
-
Marks a snowflake entity.
- isNSFW() - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
-
Whether or not this channel is considered as "NSFW" (Not-Safe-For-Work)
- isNSFW() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
-
Whether or not this channel is considered as "NSFW" (Not-Safe-For-Work).
- isNull(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is null.
- isNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is missing or null
- isOk() - Method in class net.dv8tion.jda.api.requests.Response
- isOpus() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If this method returns true JDA will treat the audio data provided by
AudioSendHandler.provide20MsAudio()
as a pre-encoded 20 Millisecond packet of Opus audio. - isOwner() - Method in interface net.dv8tion.jda.api.entities.Member
-
Checks whether this member is the owner of its related
Guild
. - isOwner() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether the current account is the owner of this thread.
- isPartial() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
Whether this webhook cannot provide
Webhook.getChannel()
andWebhook.getGuild()
. - isPassContext() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Whether RestActions will use
ContextException
automatically to keep track of the caller context. - isPending() - Method in interface net.dv8tion.jda.api.entities.Member
-
Checks whether this member has passed the
Guild's
Membership Screening requirements. - isPermissionChecksEnabled() - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Whether internal checks for missing permissions are enabled
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - isPinned() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether or not this Message has been pinned in its parent channel.
- isPresence() - Method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Whether this cache flag is for presence information of a member.
- isPriority() - Method in class net.dv8tion.jda.api.requests.Request
- isPublic() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Whether this thread is public or not.
- isPublicRole() - Method in interface net.dv8tion.jda.api.entities.Role
- isRateLimit() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- isRateLimit() - Method in class net.dv8tion.jda.api.requests.Response
- isReconnect() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
Whether the gateway client will attempt to reconnect when this close code appears
- isReconnect() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
Whether this node is reconnecting.
- isRequired() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Whether this option is required.
- isRequired() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
-
Whether this option is required
- isRich() - Method in interface net.dv8tion.jda.api.entities.Activity
- isRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aRole
or not - isRoleOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this PermissionOverride relates to a specific
Role
. - isRoleOverride() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
-
Whether this override was for a role.
- isSelf() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether the currently logged in account has reacted with this reaction
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
deafened themselves. - isSelfDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
-
Whether the member deafened itself in this event
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are deafened.
- isSelfDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-deafened
- isSelfMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
muted themselves. - isSelfMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
-
Whether the member muted itself in this event
- isSelfMuted() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are muted, if this is
true
packages by the registeredAudioSendHandler
will be ignored by Discord. - isSelfMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-muted
- isSendable() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this MessageEmbed can be used in a message.
- isSendingVideo() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
has their camera turned on. - isSendingVideo() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceVideoEvent
-
True if this user started sending video.
- isServerError() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Whether this is an internal server error from discord (status 500)
- isSkipped() - Method in class net.dv8tion.jda.api.requests.Request
- isSpoiler() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is marked as spoiler, based on
Message.Attachment.getFileName()
. - isStarted() - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Whether this task has started.
- isStream() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
is currently streaming with Go Live. - isStream() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceStreamEvent
-
True if this user started streaming.
- isSuccess() - Method in class net.dv8tion.jda.api.utils.Result
-
True if this result is a success.
- isSuppressed() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
is unable to speak because the channel is actively suppressing audio communication. - isSuppressed() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
-
Whether the member was suppressed in this event
- isSuppressed() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is suppressed
- isSuppressedEmbeds() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether embeds are suppressed for this message.
- isSynced() - Method in interface net.dv8tion.jda.api.entities.ICategorizableChannel
-
Whether or not this GuildChannel's
PermissionOverrides
match those ofits parent category
. - isSynced() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Whether or not this template is synced.
- isSystem() - Method in enum net.dv8tion.jda.api.entities.MessageType
-
Whether this message type is for system messages.
- isSystem() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns whether or not the given user is a System account, which includes the urgent message account and the community updates bot.
- isTemporary() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite grants only temporary access or not.
- isText() - Method in enum net.dv8tion.jda.api.Permission
-
Whether this permission is specifically for
TextChannels
- isThread() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
Whether channels of this type are
ThreadChannels
. - isThreadOwner() - Method in interface net.dv8tion.jda.api.entities.ThreadMember
- isTimedOut() - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member is in time out.
- isTTS() - Method in interface net.dv8tion.jda.api.entities.Message
-
Defines whether or not this Message triggers TTS (Text-To-Speech).
- isType(int, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is of the specified type.
- isType(Object) - Method in enum net.dv8tion.jda.api.utils.data.DataType
-
Tests whether the type for the provided value is the one represented by this enum constant.
- isType(String, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is of the specified type.
- isUnavailable(long) - Method in interface net.dv8tion.jda.api.JDA
-
Whether the guild is unavailable.
- isUnicode() - Method in class net.dv8tion.jda.api.entities.Emoji
-
Whether this emoji is a standard unicode emoji.
- isValid() - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Check whether this is a valid layout configuration.
- isValidLength() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks whether the constructed
MessageEmbed
is within the limits for a bot account. - isValidStreamingUrl(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Checks if a given String is a valid Twitch/Youtube streaming url (ie, one that will display "Streaming" on the Discord client).
- isVerified() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The status of this account's verification.
- isVideo() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is a video, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isVip() - Method in enum net.dv8tion.jda.api.Region
-
Whether or not this Region is a VIP region.
- isVoice() - Method in enum net.dv8tion.jda.api.Permission
-
Whether this permission is specifically for
VoiceChannels
- isWebhookMessage() - Method in interface net.dv8tion.jda.api.entities.Message
- isWebhookMessage() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- italics(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing italics (with underscore) regions in the input and applies italics formatting to the entire string.
- ITALICS - Enum constant in enum net.dv8tion.jda.api.MessageBuilder.Formatting
- ITALICS_A - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for asterisks such as "*Hello*"
- ITALICS_U - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for underline such as "_Hello_"
- ItemComponent - Interface in net.dv8tion.jda.api.interactions.components
-
Component which can be inserted into a
LayoutComponent
. - iterator() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- iterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
PaginationIterator
that will iterate over all entities for this PaginationAction. - iterator() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- IThreadContainer - Interface in net.dv8tion.jda.api.entities
J
- JAPAN - Enum constant in enum net.dv8tion.jda.api.Region
- JDA - Interface in net.dv8tion.jda.api
-
The core of JDA.
- JDA.ShardInfo - Class in net.dv8tion.jda.api
-
Represents the information used to create this shard.
- JDA.Status - Enum in net.dv8tion.jda.api
-
Represents the connection status of JDA and its Main WebSocket.
- JDABuilder - Class in net.dv8tion.jda.api
-
Used to create new
JDA
instances. - JDAInfo - Class in net.dv8tion.jda.api
-
Contains information to this specific build of JDA.
- JDAInfo() - Constructor for class net.dv8tion.jda.api.JDAInfo
- join() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Joins this thread, adding the current account to the member list of this thread.
- JOIN - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- JOIN - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to join a game. - JOIN_REQUEST - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- JOIN_REQUEST - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for requesting to join a game. - JPEG - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
JPEG
- JSON - Enum constant in enum net.dv8tion.jda.api.GatewayEncoding
-
Standard JSON format.
- JSON_SERIALIZE_ARRAY - Static variable in class net.dv8tion.jda.api.requests.Response
- JSON_SERIALIZE_OBJECT - Static variable in class net.dv8tion.jda.api.requests.Response
- JUMP_URL_PATTERN - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Pattern used to find
Jump URLs
in strings.
K
- keys() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Set
of all keys in this DataObject. - kick() - Method in interface net.dv8tion.jda.api.entities.Member
-
Kicks this Member from the
Guild
. - kick(String) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(String) - Method in interface net.dv8tion.jda.api.entities.Member
-
Kicks this Member from the
Guild
. - kick(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(Member, String) - Method in interface net.dv8tion.jda.api.entities.Guild
- KICK - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has kicked a member.
- KICK_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- kickVoiceMember(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to kick a
Member
from aAudioChannel
.
L
- LABEL_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button label can have
- LABEL_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The maximum length a select option label can have
- lastIndexOf(CharSequence, int, int) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the index within this string of the last occurrence of the specified substring between the specified indices.
- LayoutComponent - Interface in net.dv8tion.jda.api.interactions.components
-
Represents a top-level layout used for
ItemComponents
such asButtons
. - leave() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to leave a Guild.
- leave() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Leaves this thread, removing the current account from the member list of this thread.
- length() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The overall length of the current EmbedBuilder in displayed characters.
- length() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the current length of the content that will be built into a
Message
whenMessageBuilder.build()
is called. - length() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
The length of the array.
- LIGHT - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
- limit(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Sets the limit that should be used in the next RestAction completion call.
- limit(Integer) - Method in class net.dv8tion.jda.api.entities.MessageHistory.MessageRetrieveAction
-
Limit between 1-100 messages that should be retrieved.
- link(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
LINK
Style. - link(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
LINK
Style. - LINK - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- LINK - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Link button style, usually in gray and has a link attached
- LIST - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- ListedEmote - Interface in net.dv8tion.jda.api.entities
-
Represents an emote retrieved from
Guild.retrieveEmotes()
orGuild.retrieveEmoteById(long)
- ListenerAdapter - Class in net.dv8tion.jda.api.hooks
-
An abstract implementation of
EventListener
which dividesEvents
for you. - ListenerAdapter() - Constructor for class net.dv8tion.jda.api.hooks.ListenerAdapter
- ListenerProxy - Class in net.dv8tion.jda.api.audio.hooks
- ListenerProxy() - Constructor for class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- listening(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- LISTENING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asListening...
in the official client. - LISTENING - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to listen (Spotify) together. - LOADING - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this Message is an interaction response and the bot is "thinking"
- LOADING_SUBSYSTEMS - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is populating internal objects.
- loadMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves and collects members of this guild into a list.
- loadMembers(Consumer<Member>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all members of this guild.
- locked(ReentrantLock, Runnable) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- locked(ReentrantLock, Supplier<E>) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- LOCKED - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The locked state of this channel.
- LOCKED - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the locked field
- lockedIterator() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Returns an iterator with direct access to the underlying data store.
- LockIterator<T> - Class in net.dv8tion.jda.api.utils
-
Simple implementation of a
ClosableIterator
that uses a lock. - LockIterator(Iterator<? extends T>, Lock) - Constructor for class net.dv8tion.jda.api.utils.LockIterator
- LOG - Static variable in interface net.dv8tion.jda.api.managers.AudioManager
- LOG - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- LOGGING_IN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA is currently attempting to log in.
- login() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- login() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Initializes and starts all shards.
- LONDON - Enum constant in enum net.dv8tion.jda.api.Region
- LOTTIE - Enum constant in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
The LOTTIE format.
- LOTTIE_CANNOT_CONTAIN_RASTERIZED_IMAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- LOW - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
M
- make(ScheduledExecutorService, long, TimeUnit, Function<? super DelayedCompletableFuture<E>, ? extends Runnable>) - Static method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
-
Creates a new DelayedCompletableFuture scheduled on the supplied executor.
- MANAGE_CHANNEL - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_EMOTES_AND_STICKERS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_ROLES - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_SERVER - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- MANAGE_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.Permission
- Manager<M extends Manager<M>> - Interface in net.dv8tion.jda.api.managers
- map(Function<? super T, ? extends O>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Intermediate operator that returns a modified RestAction.
- map(Function<? super T, ? extends U>) - Method in class net.dv8tion.jda.api.utils.Result
-
Composite function to convert a result value to another value.
- MAP - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- mapToResult() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Converts the success and failure callbacks into a
Result
. - MARKDOWN - Static variable in enum net.dv8tion.jda.api.utils.TimeFormat
-
Pattern
used forTimeFormat.parse(String)
. - MarkdownSanitizer - Class in net.dv8tion.jda.api.utils
-
Implements and algorithm that can strip or replace markdown in any supplied string.
- MarkdownSanitizer() - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer(int, MarkdownSanitizer.SanitizationStrategy) - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer.SanitizationStrategy - Enum in net.dv8tion.jda.api.utils
- MarkdownUtil - Class in net.dv8tion.jda.api.utils
- maskedLink(String, String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Creates a masked link with the provided url as target.
- MAX_ACTIVE_THREADS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ANIMATED_EMOTES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ANNOUNCEMENT_THREADS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ATTACHMENTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_BAN_FETCHES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CATEGORIES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CHANNELS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CHOICE_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length of the name of Command Option Choice names
- MAX_CHOICE_VALUE_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length a
String value
for a choice can be. - MAX_CHOICES - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The total amount of
choices
you can set. - MAX_CONTENT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of characters sendable in one message.
- MAX_DESCRIPTION_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length the description of an option can be.
- MAX_EMOTES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_FILE_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of files sendable within a single message (10)
- MAX_FILE_SIZE - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum sendable file size (8 MiB)
- MAX_FILE_SIZE_NITRO - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum sendable file size for nitro (50 MiB)
- MAX_FRIENDS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILD_WIDGET_UPDATES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILDS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_INVITES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_LOTTIE_ANIMATION_DIMENSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_MEMBERS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_MESSAGE_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild message context commands
- MAX_MESSAGE_PINS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_NAME_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The maximum length the name of an option can be.
- MAX_NON_GUILD_MEMBER_BANS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_OAUTH_APPS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_POSITIVE_NUMBER - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The highest positive amount Discord allows the
NUMBER
type to be. - MAX_PRUNE_REQUESTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_REACTIONS - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of reactions that can be added to one message (20)
- MAX_ROLES_PER_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_SLASH_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild slash commands
- MAX_SLOWMODE - Static variable in interface net.dv8tion.jda.api.entities.TextChannel
-
The maximum duration of slowmode in seconds
- MAX_STICKER_ANIMATION_DURATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKER_FPS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKER_FRAMES - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_STICKERS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_THREAD_PARTICIPANTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_TIME_OUT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Member
-
Maximum number of days a Member can be timed out for
- MAX_USER_COMMANDS - Static variable in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Maximum amount of global or guild user context commands
- MAX_USERS_PER_DM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MAX_WEBHOOKS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MEDIUM - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- Member - Interface in net.dv8tion.jda.api.entities
-
Represents a Guild-specific User.
- MEMBER - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- MEMBER_DEAF - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_MUTE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_NICK - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Member.getNickname()
value - MEMBER_OVERRIDES - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
IPermissionContainer.getMemberPermissionOverrides()
- MEMBER_ROLE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated the roles of a member.
- MEMBER_ROLES_ADD - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles added to
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_ROLES_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Roles removed from
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_TIME_OUT - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Time out
of a Member. - MEMBER_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
Member
was either updated by an administrator or the member updated itself. - MEMBER_VOICE_KICK - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
One or more members were disconnected from a voice channel by an Administrator
- MEMBER_VOICE_MOVE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
One or more members were moved from one voice channel to another by an Administrator
- MemberAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow bots to addUsers
to Guilds. - MemberCachePolicy - Interface in net.dv8tion.jda.api.utils
-
Policy which decides whether a member (and respective user) should be kept in cache.
- MemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- MEMBERS_REMOVED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the amount of kicked members for that prune. - mention(Collection<? extends IMentionable>) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
IMentionable
instance to the whitelist of mentions. - mention(Collection<? extends IMentionable>) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
- mention(IMentionable...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
IMentionable
instance to the whitelist of mentions. - mention(IMentionable...) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
- MENTIONABLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
- MENTIONABLE - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the mentionable field
- mentionRepliedUser(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether to mention the user when replying to a message.
- mentionRepliedUser(boolean) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Whether to mention the used, when replying to a message.
- mentionRoles(long...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
Roles
to the whitelist of mentions. - mentionRoles(long...) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Used to provide a whitelist of
Roles
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionRoles(String...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
Roles
to the whitelist of mentions. - mentionRoles(String...) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Used to provide a whitelist of
Roles
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - MENTIONS_ONLY - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
- mentionsEveryone() - Method in interface net.dv8tion.jda.api.entities.Message
-
Indicates if this Message mentions everyone using @everyone or @here.
- mentionUsers(long...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
Users
to the whitelist of mentions. - mentionUsers(long...) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Used to provide a whitelist of
Users
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - mentionUsers(String...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds the provided
Users
to the whitelist of mentions. - mentionUsers(String...) - Method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Used to provide a whitelist of
Users
that should be pinged, even when they would not be pinged otherwise according to the Set of allowed mention types. - message - Variable in class net.dv8tion.jda.api.requests.Response
- message(String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a message context menu command builder.
- Message - Interface in net.dv8tion.jda.api.entities
-
Represents a Text message received from Discord.
- MESSAGE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible message id for actions of type
ActionType.MESSAGE_PIN
andActionType.MESSAGE_UNPIN
. - MESSAGE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- MESSAGE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
- MESSAGE_ADD_REACTION - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_ATTACH_FILES - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_BULK_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has performed a bulk delete of messages in a channel
- MESSAGE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A message was created.
- MESSAGE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted one or more
Messages
. - MESSAGE_EMBED_LINKS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_EXT_EMOJI - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_EXT_STICKER - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_HISTORY - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_MANAGE - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_MENTION_EVERYONE - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_PIN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pinned a message in the channel
- MESSAGE_SEND - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_SEND_IN_THREADS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_TTS - Enum constant in enum net.dv8tion.jda.api.Permission
- MESSAGE_UNPIN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unpinned a message in the channel
- MESSAGE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A message was updated.
- MESSAGE_UPDATE - Enum constant in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Update the message for a component interaction
- Message.Attachment - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
file attachment. - Message.Interaction - Class in net.dv8tion.jda.api.entities
-
Represents an
Interaction
provided with aMessage
. - Message.MentionType - Enum in net.dv8tion.jda.api.entities
-
Mention constants, useful for use with
Patterns
- Message.MessageFlag - Enum in net.dv8tion.jda.api.entities
-
Enum representing the flags on a Message.
- MessageAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of a default
RestAction
that allows setting message information before sending! - MessageActivity - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
activity. - MessageActivity(MessageActivity.ActivityType, String, MessageActivity.Application) - Constructor for class net.dv8tion.jda.api.entities.MessageActivity
- MessageActivity.ActivityType - Enum in net.dv8tion.jda.api.entities
-
An enum representing
MessageActivity
types. - MessageActivity.Application - Class in net.dv8tion.jda.api.entities
-
Represents the
Application
of a MessageActivity, if it has been set. - MessageBuilder - Class in net.dv8tion.jda.api
-
Builder system used to build
Messages
. - MessageBuilder() - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(CharSequence) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(Message) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(MessageBuilder) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder.Formatting - Enum in net.dv8tion.jda.api
-
Holds the available formatting used in
MessageBuilder.append(java.lang.CharSequence, net.dv8tion.jda.api.MessageBuilder.Formatting...)
- MessageBuilder.SplitPolicy - Interface in net.dv8tion.jda.api
-
Interface to allow custom implementation of Splitting rules for
MessageBuilder.buildAll(SplitPolicy...)
. - MessageBuilder.SplitPolicy.CharSequenceSplitPolicy - Class in net.dv8tion.jda.api
-
Default
MessageBuilder.SplitPolicy
implementation. - MessageBulkDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a bulk deletion is executed in a
GuildMessageChannel
. - MessageBulkDeleteEvent(JDA, long, GuildMessageChannel, List<String>) - Constructor for class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
- MessageChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord channel that can have
Messages
and files sent to it. - MessageContextInteraction - Interface in net.dv8tion.jda.api.interactions.commands.context
-
Interaction with a message context menu command
- MessageContextInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a message context command was used.
- MessageContextInteractionEvent(JDA, long, MessageContextInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent
- MessageDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was deleted in a
MessageChannel
. - MessageDeleteEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.MessageDeleteEvent
- MessageEditCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A
InteractionCallbackAction
which can be used to edit the message for an interaction. - MessageEmbed - Class in net.dv8tion.jda.api.entities
-
Represents an embed displayed by Discord.
- MessageEmbed(String, String, String, EmbedType, OffsetDateTime, int, MessageEmbed.Thumbnail, MessageEmbed.Provider, MessageEmbed.AuthorInfo, MessageEmbed.VideoInfo, MessageEmbed.Footer, MessageEmbed.ImageInfo, List<MessageEmbed.Field>) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed
- MessageEmbed.AuthorInfo - Class in net.dv8tion.jda.api.entities
-
Class that represents the author of content, possibly including an icon that Discord proxies.
- MessageEmbed.Field - Class in net.dv8tion.jda.api.entities
-
Represents a field in an embed.
- MessageEmbed.Footer - Class in net.dv8tion.jda.api.entities
-
Class that represents a footer at the bottom of an embed
- MessageEmbed.ImageInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed an image.
- MessageEmbed.Provider - Class in net.dv8tion.jda.api.entities
-
Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
- MessageEmbed.Thumbnail - Class in net.dv8tion.jda.api.entities
-
Represents the information Discord provided about a thumbnail image that should be displayed with an embed message.
- MessageEmbed.VideoInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed a video.
- MessageEmbedEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message contains an
Embed
in aMessageChannel
. - MessageEmbedEvent(JDA, long, long, MessageChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.api.events.message.MessageEmbedEvent
- MessageHistory - Class in net.dv8tion.jda.api.entities
-
Represents an access point to the
Message
history of aMessageChannel
. - MessageHistory(MessageChannel) - Constructor for class net.dv8tion.jda.api.entities.MessageHistory
-
Creates a new MessageHistory object.
- MessageHistory.MessageRetrieveAction - Class in net.dv8tion.jda.api.entities
-
Constructs a MessageHistory object with initially retrieved Messages before or after a certain pivot message id.
- MessagePaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the message history endpoint. - MessageReaction - Class in net.dv8tion.jda.api.entities
-
An object representing a single MessageReaction from Discord.
- MessageReaction(MessageChannel, MessageReaction.ReactionEmote, long, boolean, int) - Constructor for class net.dv8tion.jda.api.entities.MessageReaction
-
Creates a new MessageReaction instance
- MessageReaction.ReactionEmote - Class in net.dv8tion.jda.api.entities
-
Represents an Emoji/Emote of a MessageReaction
This is used to wrap both emojis and emotes - MessageReactionAddEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user added a reaction to a message
This includes unicode and custom emoji - MessageReactionAddEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
- MessageReactionRemoveAllEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates the the reactions of a message have been cleared by a moderator
- MessageReactionRemoveAllEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveAllEvent
- MessageReactionRemoveEmoteEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that all reactions for a specific emoji/emote were removed by a moderator.
- MessageReactionRemoveEmoteEvent(JDA, long, long, MessageChannel, MessageReaction) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEmoteEvent
- MessageReactionRemoveEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user removed the reaction on a message
- MessageReactionRemoveEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEvent
- MessageReceivedEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was received in a
MessageChannel
. - MessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageReceivedEvent
- MessageReference - Class in net.dv8tion.jda.api.entities
-
An object representing a reference in a Discord message.
- MessageReference(long, long, long, Message, JDA) - Constructor for class net.dv8tion.jda.api.entities.MessageReference
- MessageSticker - Class in net.dv8tion.jda.api.entities
-
An object representing a sticker in a Discord message.
- MessageSticker(long, String, String, long, MessageSticker.StickerFormat, Set<String>) - Constructor for class net.dv8tion.jda.api.entities.MessageSticker
- MessageSticker.StickerFormat - Enum in net.dv8tion.jda.api.entities
- MessageType - Enum in net.dv8tion.jda.api.entities
-
Represents the different types of
Messages
that can be received from Discord. - MessageUpdateEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was edited in a
MessageChannel
. - MessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageUpdateEvent
- MetaData(int, int, int, int) - Constructor for class net.dv8tion.jda.api.entities.Guild.MetaData
- MFA_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the mfa level field
- MFA_NOT_ENABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MIN_NEGATIVE_NUMBER - Static variable in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
The largest negative amount Discord allows the
NUMBER
type to be. - minus(long) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the past relative to the current timestamp.
- minus(Duration) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the past relative to the current timestamp.
- MiscUtil - Class in net.dv8tion.jda.api.utils
- MiscUtil() - Constructor for class net.dv8tion.jda.api.utils.MiscUtil
- MISSING_ACCESS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_OAUTH_SCOPE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- MissingAccessException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that the user is missing the
VIEW_CHANNEL
orVOICE_CONNECT
permission. - MissingAccessException(GuildChannel, Permission) - Constructor for exception net.dv8tion.jda.api.exceptions.MissingAccessException
- MissingAccessException(GuildChannel, Permission, String) - Constructor for exception net.dv8tion.jda.api.exceptions.MissingAccessException
- MOBILE - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
The official discord mobile app
- MODERATE_MEMBERS - Enum constant in enum net.dv8tion.jda.api.Permission
- modifyCategoryPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getCategories()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyMemberRoles(Member, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Collection<Role>, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyNickname(String) - Method in interface net.dv8tion.jda.api.entities.Member
-
Changes this Member's nickname in this guild.
- modifyNickname(Member, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Changes the Member's nickname in this guild.
- modifyRolePositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyRolePositions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Category
-
Modifies the positional order of this Category's nested
TextChannels
andStoreChannels
. - modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getTextChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyTextChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getTextChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedTextChannels
of thisCategory
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Category
-
Modifies the positional order of this Category's nested
VoiceChannels
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getVoiceChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyVoiceChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getVoiceChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedVoiceChannels
of thisCategory
. - MONO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "`Hello`"
- MONO_TWO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "``Hello``"
- monospace(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing monospace (single backtick) regions in the input and applies monospace formatting to the entire string.
- moveDown(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions DOWN in order by pushing all entities up by one position. - moveTo(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity to the specified position (0 based index).
- moveUp(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions UP in order by pushing all entities down by one position. - moveVoiceMember(Member, AudioChannel) - Method in interface net.dv8tion.jda.api.entities.Guild
- mute(boolean) - Method in interface net.dv8tion.jda.api.entities.Member
-
Sets the Guild Muted state state of this Member based on the provided boolean.
- mute(Member, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sets the Guild Muted state state of the
Member
based on the provided boolean.
N
- NAME - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The name of the channel.
- NAME - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.EmoteManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.TemplateManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the name field
- net.dv8tion.jda.annotations - package net.dv8tion.jda.annotations
-
Annotations used for documentation.
- net.dv8tion.jda.api - package net.dv8tion.jda.api
-
The API features of JDA.
- net.dv8tion.jda.api.audio - package net.dv8tion.jda.api.audio
-
The audio API for Discord.
- net.dv8tion.jda.api.audio.factory - package net.dv8tion.jda.api.audio.factory
-
Audio send factories that can be implemented to generate custom audio send packages to be provided to Discord.
- net.dv8tion.jda.api.audio.hooks - package net.dv8tion.jda.api.audio.hooks
-
Listeners that can be used to monitor the
ConnectionStatus
or ping of an existing audio connection. - net.dv8tion.jda.api.audit - package net.dv8tion.jda.api.audit
-
Implementation for
AuditLogEntry
and all utilities needed for its structure. - net.dv8tion.jda.api.entities - package net.dv8tion.jda.api.entities
-
Entities representing Discord API objects like Users and Channels
- net.dv8tion.jda.api.entities.templates - package net.dv8tion.jda.api.entities.templates
- net.dv8tion.jda.api.events - package net.dv8tion.jda.api.events
-
The core events that are fired by this library, informing the end-user about the connection state of the current JDA instance.
- net.dv8tion.jda.api.events.channel - package net.dv8tion.jda.api.events.channel
-
Events indicating that a new channel (MessageChannel / GuildChannel) was either modified, created or deleted.
- net.dv8tion.jda.api.events.channel.update - package net.dv8tion.jda.api.events.channel.update
- net.dv8tion.jda.api.events.emote - package net.dv8tion.jda.api.events.emote
-
Events that track
added emotes
andremoved emotes
. - net.dv8tion.jda.api.events.emote.update - package net.dv8tion.jda.api.events.emote.update
-
Events that track updates for existing
Emotes
- net.dv8tion.jda.api.events.guild - package net.dv8tion.jda.api.events.guild
-
Events for the state of
Guilds
such as whether the current logged in account joins/leaves a Guild. - net.dv8tion.jda.api.events.guild.invite - package net.dv8tion.jda.api.events.guild.invite
- net.dv8tion.jda.api.events.guild.member - package net.dv8tion.jda.api.events.guild.member
- net.dv8tion.jda.api.events.guild.member.update - package net.dv8tion.jda.api.events.guild.member.update
- net.dv8tion.jda.api.events.guild.override - package net.dv8tion.jda.api.events.guild.override
- net.dv8tion.jda.api.events.guild.update - package net.dv8tion.jda.api.events.guild.update
-
Events indicating that a setting for a
Guild
has been updated. - net.dv8tion.jda.api.events.guild.voice - package net.dv8tion.jda.api.events.guild.voice
- net.dv8tion.jda.api.events.http - package net.dv8tion.jda.api.events.http
- net.dv8tion.jda.api.events.interaction - package net.dv8tion.jda.api.events.interaction
- net.dv8tion.jda.api.events.interaction.command - package net.dv8tion.jda.api.events.interaction.command
- net.dv8tion.jda.api.events.interaction.component - package net.dv8tion.jda.api.events.interaction.component
- net.dv8tion.jda.api.events.message - package net.dv8tion.jda.api.events.message
-
Events that are fired for
Messages
in aMessageChannel
. - net.dv8tion.jda.api.events.message.react - package net.dv8tion.jda.api.events.message.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.api.events.role - package net.dv8tion.jda.api.events.role
-
Events that indicate that a
Role
is either created or deleted. - net.dv8tion.jda.api.events.role.update - package net.dv8tion.jda.api.events.role.update
-
Events that indicate that a
Role
has been updated with a new setting. - net.dv8tion.jda.api.events.self - package net.dv8tion.jda.api.events.self
-
Events indicating that one of the currently logged in account's settings has been modified.
- net.dv8tion.jda.api.events.stage - package net.dv8tion.jda.api.events.stage
- net.dv8tion.jda.api.events.stage.update - package net.dv8tion.jda.api.events.stage.update
- net.dv8tion.jda.api.events.thread - package net.dv8tion.jda.api.events.thread
- net.dv8tion.jda.api.events.thread.member - package net.dv8tion.jda.api.events.thread.member
- net.dv8tion.jda.api.events.user - package net.dv8tion.jda.api.events.user
-
Events that indicate that a
User
presence has been updated, such as its avatar or game. - net.dv8tion.jda.api.events.user.update - package net.dv8tion.jda.api.events.user.update
- net.dv8tion.jda.api.exceptions - package net.dv8tion.jda.api.exceptions
-
All custom exceptions of the JDA library
- net.dv8tion.jda.api.hooks - package net.dv8tion.jda.api.hooks
-
EventManager and EventListener implementations and interfaces.
- net.dv8tion.jda.api.interactions - package net.dv8tion.jda.api.interactions
- net.dv8tion.jda.api.interactions.callbacks - package net.dv8tion.jda.api.interactions.callbacks
- net.dv8tion.jda.api.interactions.commands - package net.dv8tion.jda.api.interactions.commands
- net.dv8tion.jda.api.interactions.commands.build - package net.dv8tion.jda.api.interactions.commands.build
- net.dv8tion.jda.api.interactions.commands.context - package net.dv8tion.jda.api.interactions.commands.context
- net.dv8tion.jda.api.interactions.commands.privileges - package net.dv8tion.jda.api.interactions.commands.privileges
- net.dv8tion.jda.api.interactions.components - package net.dv8tion.jda.api.interactions.components
- net.dv8tion.jda.api.interactions.components.buttons - package net.dv8tion.jda.api.interactions.components.buttons
- net.dv8tion.jda.api.interactions.components.selections - package net.dv8tion.jda.api.interactions.components.selections
- net.dv8tion.jda.api.managers - package net.dv8tion.jda.api.managers
-
Managers that allow to modify (PATCH) existing entities with either an update task or atomic setters.
- net.dv8tion.jda.api.managers.channel - package net.dv8tion.jda.api.managers.channel
- net.dv8tion.jda.api.managers.channel.attribute - package net.dv8tion.jda.api.managers.channel.attribute
- net.dv8tion.jda.api.managers.channel.concrete - package net.dv8tion.jda.api.managers.channel.concrete
- net.dv8tion.jda.api.managers.channel.middleman - package net.dv8tion.jda.api.managers.channel.middleman
- net.dv8tion.jda.api.requests - package net.dv8tion.jda.api.requests
-
Discord API communication features.
- net.dv8tion.jda.api.requests.restaction - package net.dv8tion.jda.api.requests.restaction
-
Extensions of
RestAction
that can be used to operate on a specific case before executing the request. - net.dv8tion.jda.api.requests.restaction.interactions - package net.dv8tion.jda.api.requests.restaction.interactions
- net.dv8tion.jda.api.requests.restaction.order - package net.dv8tion.jda.api.requests.restaction.order
-
RestAction
extensions specifically designed to change the order of discord entities. - net.dv8tion.jda.api.requests.restaction.pagination - package net.dv8tion.jda.api.requests.restaction.pagination
-
Extensions of
RestAction
that allow to access paginated discord endpoints like the message history of aMessageChannel
. - net.dv8tion.jda.api.sharding - package net.dv8tion.jda.api.sharding
-
Implementations for
ShardManager
which enable auto-sharding. - net.dv8tion.jda.api.utils - package net.dv8tion.jda.api.utils
-
Package which contains all utilities for the JDA library.
- net.dv8tion.jda.api.utils.cache - package net.dv8tion.jda.api.utils.cache
-
Interfaces for read-only access to internal JDA cache.
- net.dv8tion.jda.api.utils.concurrent - package net.dv8tion.jda.api.utils.concurrent
-
Implementations for threading related functionality such as Thread-Factories.
- net.dv8tion.jda.api.utils.data - package net.dv8tion.jda.api.utils.data
-
Serialization features used for communication with Discord.
- net.dv8tion.jda.api.utils.data.etf - package net.dv8tion.jda.api.utils.data.etf
-
Utility classes to decode and encode Erlang External Term Format (ETF)
- NEW_FLOAT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- newChannel(ChannelType, String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates a new
ChannelData
instance and adds it to this GuildAction. - NEWLINE - Static variable in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Splits on newline chars
`\n`
. - newLongMap() - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Generates a new thread-safe
TLongObjectMap
- newRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates and add a new
RoleData
object representing a Role for the resulting Guild. - NEWS - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
NewsChannel
, Guild-Only. - NewsChannel - Interface in net.dv8tion.jda.api.entities
-
Represents
BaseGuildMessageChannel
that are News Channels. - NewsChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
- next() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- next() - Method in class net.dv8tion.jda.api.utils.LockIterator
- nextMessage(int, MessageBuilder) - Method in class net.dv8tion.jda.api.MessageBuilder.SplitPolicy.CharSequenceSplitPolicy
- nextMessage(int, MessageBuilder) - Method in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Calculates the endIndex for the next
Message
. - NICKNAME_CHANGE - Enum constant in enum net.dv8tion.jda.api.Permission
- NICKNAME_MANAGE - Enum constant in enum net.dv8tion.jda.api.Permission
- NIL - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- NO_ROLE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- NO_USER_WITH_TAG_EXISTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- nonce(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the validation nonce for the outgoing Message
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The default tier.
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- NONE - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite does not have a target type,
Invite.getTarget()
will returnnull
. - NONE - Enum constant in enum net.dv8tion.jda.api.utils.Compression
-
Don't use any compression
- NONE - Static variable in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Do not chunk any guilds (lazy loading)
- NONE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Disable all member caching
- NORMAL - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Normal characters that are not special for markdown, ignoring this has no effect
- NOT_AUTHENTICATED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- NOT_AUTHORIZED_PERFORM_ACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOT_CONNECTED - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that there is no open connection or that the connection was closed by choice, not by error.
- NOT_VERIFIED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOTE_TOO_LONG - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- NOTIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the default notification level field
- now() - Method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Shortcut for
style.atTimestamp(System.currentTimeMillis())
. - NSFW - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The NSFW state of the channel.
- NSFW - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the nsfw field
- NULL - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- NUMBER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
O
- OAUTH_NOT_BOT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- OBJECT - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- of(String, String) - Static method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Creates a new SelectOption instance.
- of(Collection<? extends ItemComponent>) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Create one row of
components
. - of(Activity.ActivityType, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- of(Activity.ActivityType, String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- of(ButtonStyle, String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Create a button with the provided
style
, URL or ID, and label. - of(ButtonStyle, String, String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- of(ButtonStyle, String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- of(ItemComponent...) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Create one row of
components
. - OFF - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- OFFLINE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that a member is currently offline or invisible (grey circle)
- onButtonInteraction(ButtonInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCancelled() - Method in class net.dv8tion.jda.api.requests.Request
- onChannelCreate(ChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelDelete(ChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateArchived(ChannelUpdateArchivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateArchiveTimestamp(ChannelUpdateArchiveTimestampEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateAutoArchiveDuration(ChannelUpdateAutoArchiveDurationEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateBitrate(ChannelUpdateBitrateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateInvitable(ChannelUpdateInvitableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateLocked(ChannelUpdateLockedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateName(ChannelUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateNSFW(ChannelUpdateNSFWEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateParent(ChannelUpdateParentEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdatePosition(ChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateRegion(ChannelUpdateRegionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateSlowmode(ChannelUpdateSlowmodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateTopic(ChannelUpdateTopicEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateType(ChannelUpdateTypeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChannelUpdateUserLimit(ChannelUpdateUserLimitEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChars(CharSequence, boolean) - Static method in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Creates a new
MessageBuilder.SplitPolicy
splitting on the specified chars. - onCommandAutoCompleteInteraction(CommandAutoCompleteInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onConnectionError(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate a connection error to JDA so that the connection can be properly shutdown.
- onConnectionLost() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate to JDA that the UDP connection has been lost, whether that be due internet loss or some other unknown reason.
- onDisconnect(DisconnectEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteAdded(EmoteAddedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteRemoved(EmoteRemovedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteUpdateName(EmoteUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteUpdateRoles(EmoteUpdateRolesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onError(Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Provide a callback for exception handling.
- onErrorFlatMap(Function<? super Throwable, ? extends RestAction<? extends T>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a any reason.
- onErrorFlatMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends RestAction<? extends T>>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a specific reason.
- onErrorMap(Function<? super Throwable, ? extends T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for any reason.
- onErrorMap(Predicate<? super Throwable>, Function<? super Throwable, ? extends T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Supply a fallback value when the RestAction fails for a specific reason.
- onEvent(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.EventListener
-
Handles any
GenericEvent
. - onEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onException(ExceptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onFailure(Throwable) - Method in class net.dv8tion.jda.api.requests.Request
- onFailure(Consumer<? super Throwable>) - Method in class net.dv8tion.jda.api.utils.Result
-
Passive error handler.
- onFailure(Response) - Method in class net.dv8tion.jda.api.requests.Request
- onGatewayPing(GatewayPingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericAutoCompleteInteraction(GenericAutoCompleteInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericChannel(GenericChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericChannelUpdate(GenericChannelUpdateEvent<?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericCommandInteraction(GenericCommandInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericComponentInteractionCreate(GenericComponentInteractionCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericContextInteraction(GenericContextInteractionEvent<?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmote(GenericEmoteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmoteUpdate(GenericEmoteUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuild(GenericGuildEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildInvite(GenericGuildInviteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMember(GenericGuildMemberEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMemberUpdate(GenericGuildMemberUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildUpdate(GenericGuildUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildVoice(GenericGuildVoiceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericInteractionCreate(GenericInteractionCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessage(GenericMessageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessageReaction(GenericMessageReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericPermissionOverride(GenericPermissionOverrideEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRole(GenericRoleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRoleUpdate(GenericRoleUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericSelfUpdate(GenericSelfUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStageInstance(GenericStageInstanceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStageInstanceUpdate(GenericStageInstanceUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericThread(GenericThreadEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericThreadMember(GenericThreadMemberEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUpdate(UpdateEvent<?, ?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUser(GenericUserEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUserPresence(GenericUserPresenceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildAvailable(GuildAvailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildBan(GuildBanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildInviteCreate(GuildInviteCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildInviteDelete(GuildInviteDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildJoin(GuildJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildLeave(GuildLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberJoin(GuildMemberJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRemove(GuildMemberRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleAdd(GuildMemberRoleAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleRemove(GuildMemberRoleRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdate(GuildMemberUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateAvatar(GuildMemberUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateBoostTime(GuildMemberUpdateBoostTimeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateNickname(GuildMemberUpdateNicknameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdatePending(GuildMemberUpdatePendingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateTimeOut(GuildMemberUpdateTimeOutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildReady(GuildReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildTimeout(GuildTimeoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnavailable(GuildUnavailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnban(GuildUnbanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkChannel(GuildUpdateAfkChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkTimeout(GuildUpdateAfkTimeoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBanner(GuildUpdateBannerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostCount(GuildUpdateBoostCountEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostTier(GuildUpdateBoostTierEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateCommunityUpdatesChannel(GuildUpdateCommunityUpdatesChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateDescription(GuildUpdateDescriptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateExplicitContentLevel(GuildUpdateExplicitContentLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateFeatures(GuildUpdateFeaturesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateIcon(GuildUpdateIconEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateLocale(GuildUpdateLocaleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxMembers(GuildUpdateMaxMembersEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxPresences(GuildUpdateMaxPresencesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMFALevel(GuildUpdateMFALevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateName(GuildUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateNotificationLevel(GuildUpdateNotificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateNSFWLevel(GuildUpdateNSFWLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateOwner(GuildUpdateOwnerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateRulesChannel(GuildUpdateRulesChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSplash(GuildUpdateSplashEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSystemChannel(GuildUpdateSystemChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVanityCode(GuildUpdateVanityCodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVerificationLevel(GuildUpdateVerificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceDeafen(GuildVoiceDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildDeafen(GuildVoiceGuildDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildMute(GuildVoiceGuildMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceJoin(GuildVoiceJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceLeave(GuildVoiceLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceMove(GuildVoiceMoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceMute(GuildVoiceMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceRequestToSpeak(GuildVoiceRequestToSpeakEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfDeafen(GuildVoiceSelfDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfMute(GuildVoiceSelfMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceStream(GuildVoiceStreamEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSuppress(GuildVoiceSuppressEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceUpdate(GuildVoiceUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceVideo(GuildVoiceVideoEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onHttpRequest(HttpRequestEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- ONLINE - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently online (green circle)
- ONLINE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache online/idle/dnd users.
- ONLINE_STATUS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getOnlineStatus()
This is enabled implicitly byCacheFlag.ACTIVITY
andCacheFlag.CLIENT_STATUS
. - OnlineStatus - Enum in net.dv8tion.jda.api
-
Represents the online presence of a
Member
. - ONLY_BOTS_ALLOWED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- onMessageBulkDelete(MessageBulkDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageContextInteraction(MessageContextInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageDelete(MessageDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageEmbed(MessageEmbedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionAdd(MessageReactionAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemove(MessageReactionRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemoveAll(MessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemoveEmote(MessageReactionRemoveEmoteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReceived(MessageReceivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageUpdate(MessageUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideCreate(PermissionOverrideCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideDelete(PermissionOverrideDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPermissionOverrideUpdate(PermissionOverrideUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPing(long) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when JDA send a heartbeat packet to Discord and Discord sends an acknowledgement.
- onPing(long) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onRawGateway(RawGatewayEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onReady(ReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onReconnected(ReconnectedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onResumed(ResumedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleCreate(RoleCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleDelete(RoleDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateColor(RoleUpdateColorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateHoisted(RoleUpdateHoistedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateIcon(RoleUpdateIconEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateMentionable(RoleUpdateMentionableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateName(RoleUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePermissions(RoleUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePosition(RoleUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelectMenuInteraction(SelectMenuInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateAvatar(SelfUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateMFA(SelfUpdateMFAEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateName(SelfUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateVerified(SelfUpdateVerifiedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onShutdown(ShutdownEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSlashCommandInteraction(SlashCommandInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceCreate(StageInstanceCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceDelete(StageInstanceDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceUpdatePrivacyLevel(StageInstanceUpdatePrivacyLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStageInstanceUpdateTopic(StageInstanceUpdateTopicEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStatusChange(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when the status of the audio channel changes.
- onStatusChange(ConnectionStatus) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onStatusChange(StatusChangeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSuccess(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.concurrent.Task
-
Provide a callback for success handling.
- onSuccess(Consumer<? super T>) - Method in class net.dv8tion.jda.api.utils.Result
-
Passive success handler.
- onSuccess(T) - Method in class net.dv8tion.jda.api.requests.Request
- onThreadHidden(ThreadHiddenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadMemberJoin(ThreadMemberJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadMemberLeave(ThreadMemberLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onThreadRevealed(ThreadRevealedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTimeout() - Method in class net.dv8tion.jda.api.requests.Request
- onUnavailableGuildJoined(UnavailableGuildJoinedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUnavailableGuildLeave(UnavailableGuildLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityEnd(UserActivityEndEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityStart(UserActivityStartEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserContextInteraction(UserContextInteractionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserSpeaking(User, boolean) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, boolean) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onUserSpeaking(User, boolean, boolean) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, EnumSet<SpeakingMode>) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, EnumSet<SpeakingMode>) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onUserTyping(UserTypingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateActivities(UserUpdateActivitiesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateActivityOrder(UserUpdateActivityOrderEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateAvatar(UserUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateDiscriminator(UserUpdateDiscriminatorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateFlags(UserUpdateFlagsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateName(UserUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateOnlineStatus(UserUpdateOnlineStatusEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceServerUpdate(VoiceDispatchInterceptor.VoiceServerUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_SERVER_UPDATE.
- onVoiceStateUpdate(VoiceDispatchInterceptor.VoiceStateUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_STATE_UPDATE.
- OPEN_DM_TOO_FAST - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- openAudioConnection(AudioChannel) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Starts the process to create an audio connection with an
AudioChannel
or, if an audio connection is already open, JDA will move the connection to the provided AudioChannel. - openPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Opens a
PrivateChannel
with this User. - openPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Opens a
PrivateChannel
with the provided user by id. - openPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Opens a
PrivateChannel
with the provided user by id. - opt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves any type to the provided key.
- optArray() - Method in class net.dv8tion.jda.api.requests.Response
- optArray(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataArray to a key.
- Option(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Option
- OptionData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command option.
- OptionData(OptionType, String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionData(OptionType, String, String, boolean) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionData(OptionType, String, String, boolean, boolean) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Create an option builder.
- OptionMapping - Class in net.dv8tion.jda.api.interactions.commands
-
Name/Value pair for a
CommandInteraction
option. - OptionMapping(DataObject, TLongObjectMap<Object>) - Constructor for class net.dv8tion.jda.api.interactions.commands.OptionMapping
- OPTIONS_MAX_AMOUNT - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum amount of options a select menu can have
- OptionType - Enum in net.dv8tion.jda.api.interactions.commands
-
The available types for
Command
options. - optObject() - Method in class net.dv8tion.jda.api.requests.Response
- optObject(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataObject to a key.
- OPUS_CHANNEL_COUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
We want to use stereo.
- OPUS_FRAME_SIZE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
An opus frame size of 960 at 48000hz represents 20 milliseconds of audio.
- OPUS_FRAME_TIME_AMOUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
This is 20 milliseconds.
- OPUS_SAMPLE_RATE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
(Hz) We want to use the highest of qualities! All the bandwidth!
- OpusPacket - Class in net.dv8tion.jda.api.audio
-
A raw OPUS packet received from Discord that can be used for lazy decoding.
- OpusPacket(AudioPacket, long, Decoder) - Constructor for class net.dv8tion.jda.api.audio.OpusPacket
- or(MemberCachePolicy) - Method in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Convenience method to concatenate another policy.
- OrderAction<T,
M extends OrderAction<T, M>> - Interface in net.dv8tion.jda.api.requests.restaction.order -
Extension of
RestAction
- Type: Void that allows to modify the order of entities provided as anArrayList
. - OUTPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
Audio Output Format used by JDA.
- override(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether all fields should be considered when editing a message
- OVERRIDE_ALLOW - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw allowed permission bits
Similar to the value returned byPermissionOverride.getAllowedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_DENY - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw denied permission bits
Similar to the value returned byPermissionOverride.getDeniedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
The string type of this override.
- OWNER - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache owner of the guild.
- OWNER_ONLY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
P
- pack(Object) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermEncoder
-
Encodes the provided object into an ETF buffer.
- PaginationAction<T,
M extends PaginationAction<T, M>> - Interface in net.dv8tion.jda.api.requests.restaction.pagination -
RestAction
specification used to retrieve entities for paginated endpoints (before, after, limit). - PaginationAction.PaginationIterator<E> - Class in net.dv8tion.jda.api.requests.restaction.pagination
-
Iterator implementation for a
PaginationAction
. - PaginationIterator(Collection<E>, Supplier<List<E>>) - Constructor for class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- parallelStream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Returns a possibly parallel
Stream
with this PaginationAction as its source. - parallelStream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a parallel
Stream
of all cached elements. - parallelStreamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.parallelStream()
which does not preserve order. - PARENT - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The
parent
of the channel. - PARENT - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the parent field
- parse(String) - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Parses the provided markdown into a
Timestamp
instance. - parseLong(String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- parseSnowflake(String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- ParsingException - Exception in net.dv8tion.jda.api.exceptions
- ParsingException(Exception) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String, Exception) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- partitionOf(Collection<? extends ItemComponent>) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Partitions the provided
components
into a list of ActionRow instances. - partitionOf(ItemComponent...) - Static method in class net.dv8tion.jda.api.interactions.components.ActionRow
-
Partitions the provided
components
into a list of ActionRow instances. - PARTNER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- Party(String, long, long) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Party
- PAYMENT_SOURCE_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- PENDING - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Caches members who haven't passed Membership Screening.
- Permission - Enum in net.dv8tion.jda.api
-
Represents the bit offsets used by Discord for Permissions.
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the permission field
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the permission field
- PermissionException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that the currently logged in account does not meet the specified
Permission
fromPermissionException.getPermission()
- PermissionException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.PermissionException
-
Creates a new PermissionException instance
- PermissionOverride - Interface in net.dv8tion.jda.api.entities
- PermissionOverride(long, long, long) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateChannel.PermissionOverride
- PermissionOverrideAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
AuditableRestAction
specifically designed to create aPermissionOverride
for aGuildChannel
. - PermissionOverrideCreateEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
of aGuildChannel
has been created. - PermissionOverrideCreateEvent(JDA, long, GuildChannel, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideCreateEvent
- PermissionOverrideDeleteEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
of aGuildChannel
has been deleted. - PermissionOverrideDeleteEvent(JDA, long, GuildChannel, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideDeleteEvent
- PermissionOverrideUpdateEvent - Class in net.dv8tion.jda.api.events.guild.override
-
Indicates that a
PermissionOverride
of aGuildChannel
has been updated. - PermissionOverrideUpdateEvent(JDA, long, GuildChannel, PermissionOverride, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.override.PermissionOverrideUpdateEvent
- PERMISSIONS - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset all permissions to their original value
- PermOverrideManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
PermissionOverride
. - pin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to add the Message to the
MessageChannel's
pinned message list. - PING - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- pinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to pin a message.
- pinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to pin a message.
- PLACEHOLDER_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
-
The maximum length a select menu placeholder can have
- PLAY - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- playing(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- PLAYING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asPlaying...
in the official client. - plus(long) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the future relative to the current timestamp.
- plus(Duration) - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Creates a new timestamp instance with the provided offset into the future relative to the current timestamp.
- PNG - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
PNG
- PNG - Enum constant in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
The PNG format.
- POSITION - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The position of this channel relative to other channels in the guild.
- POSITION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the position field
- Presence - Interface in net.dv8tion.jda.api.managers
-
The Presence associated with the provided JDA instance
- primary(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
PRIMARY
Style. - primary(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
PRIMARY
Style. - PRIMARY - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Primary button style, usually in blue.
- PRIORITY - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- PRIORITY_SPEAKER - Enum constant in enum net.dv8tion.jda.api.Permission
- PRIVACY_LEVEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
StageInstance.getPrivacyLevel()
value
Use withStageInstance.PrivacyLevel.fromKey(int)
- PRIVACY_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Used to reset the privacy level field
- PRIVATE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
- PrivateChannel - Interface in net.dv8tion.jda.api.entities
-
Represents the connection used for direct messaging.
- Procedure<T> - Interface in net.dv8tion.jda.api.utils
- Profile(long, String, int) - Constructor for class net.dv8tion.jda.api.entities.User.Profile
- provide(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Provides an instance of the specified executor, or null
- provide20MsAudio() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If
AudioSendHandler.canProvide()
returns true JDA will call this method in an attempt to retrieve audio data from the handler. - Provider(String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Provider
- prune(int, boolean, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
This method will prune (kick) all members who were offline for at least days days.
- prune(int, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
This method will prune (kick) all members who were offline for at least days days.
- PRUNE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pruned members for inactivity.
- pruneMemberCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Re-apply the
MemberCachePolicy
of this session to allMembers
of this Guild. - PUBLIC - Enum constant in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Deprecated.Public stage instances are no longer supported by discord
- purgeMessages(List<? extends Message>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessages(Message...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(long...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(String...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(List<String>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- put(String, Object) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a new value for the provided key.
- putMemberPermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified member with the provided raw bitmasks as allowed and denied permissions.
- putMemberPermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified member with the provided permission sets as allowed and denied permissions.
- putNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a null value for the provided key.
- putPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
- putPermissionOverride(IPermissionHolder, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified
IPermissionHolder
with the provided raw bitmasks as allowed and denied permissions. - putPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified
IPermissionHolder
with the provided permission sets as allowed and denied permissions. - putRolePermissionOverride(long, long, long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified role with the provided raw bitmasks as allowed and denied permissions.
- putRolePermissionOverride(long, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Adds an override for the specified role with the provided permission sets as allowed and denied permissions.
Q
- queue() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queueAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - quote(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing quote regions in the input and applies quote formatting to the entire string.
- QUOTE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote region such as
"> text here"
- QUOTE_BLOCK - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote block region such as
">>> text here"
- quoteBlock(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Applies quote block formatting to the entire string.
R
- RATE_LIMITED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- RateLimitedException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that we received a
429: Too Many Requests
response - RateLimitedException(String, long) - Constructor for exception net.dv8tion.jda.api.exceptions.RateLimitedException
- RateLimitedException(Route.CompiledRoute, long) - Constructor for exception net.dv8tion.jda.api.exceptions.RateLimitedException
- RawGatewayEvent - Class in net.dv8tion.jda.api.events
-
Wrapper for the raw dispatch event received from discord.
- RawGatewayEvent(JDA, long, DataObject) - Constructor for class net.dv8tion.jda.api.events.RawGatewayEvent
- REACTION_BLOCKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ReactionPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the reaction users endpoint. - ReadyEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA finished loading all entities.
- ReadyEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ReadyEvent
- reason(String) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Applies the specified reason as audit-log reason field.
- RECIPIENT_ADD - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been added to the Group.
- RECIPIENT_REMOVE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been removed from the Group.
- reconnect(AudioChannel) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
Requests to reconnect to the voice channel in the target guild.
- RECONNECT - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- RECONNECT_QUEUED - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA session has been added to
SessionController
and is awaiting to be dequeued for reconnecting. - ReconnectedEvent - Class in net.dv8tion.jda.api.events
-
Indicates if JDA successfully re-established its connection to the gateway.
- ReconnectedEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ReconnectedEvent
- reference(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Make the message a reply to the referenced message.
- referenceById(long) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Make the message a reply to the referenced message.
- referenceById(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Make the message a reply to the referenced message.
- Region - Enum in net.dv8tion.jda.api
-
Represents the Regions used for Audio connections.
- REGION - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The region of the channel.
- REGION - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the region field
- register(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- register(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - register(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - RELATIVE - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats date and time as relative
18 minutes ago
or2 days ago
- remove(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the value at the specified index.
- remove(Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the specified value.
- remove(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Removes the value associated with the specified key.
- REMOVE - Enum constant in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Remove any format tokens that are not escaped or within a special region.
- removeChannel(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the
ChannelData
at the specified index and returns the removed object. - removeChannel(GuildAction.ChannelData) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the provided
ChannelData
from this GuildAction if present. - removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.JDA
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListener(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes the provided listener provider from the list of listener providers.
- removeEventListenerProvider(IntFunction<Object>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove a listener provider.
- removeEventListenerProviders(Collection<IntFunction<Object>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listener providers from the list of listener providers.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Collection<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(IntFunction<Collection<Object>>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove listeners from shards by their id.
- removePermissionOverride(long) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Removes the
PermissionOverride
for the specified member or role ID. - removePermissionOverride(long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided id.
- removePermissionOverride(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided id.
- removePermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
-
Removes the
PermissionOverride
for the specifiedIPermissionHolder
. - removePermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Removes any existing override with the provided role/member.
- removeReaction() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReaction(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using a unicode emoji.
- removeReaction(String, User) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using a unicode emoji.
- removeReaction(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using an
Emote
. - removeReaction(Emote, User) - Method in interface net.dv8tion.jda.api.entities.Message
- removeReaction(User) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReactionById(long, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, String, User) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, Emote, User) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, String, User) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emote, User) - Method in interface net.dv8tion.jda.api.entities.GuildMessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeRoleFromMember(long, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically removes the provided
Role
from the specified member by their user id. - removeRoleFromMember(String, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically removes the provided
Role
from the specified member by their user id. - removeRoleFromMember(Member, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.ConcurrentSessionController
- removeSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by a JDA session when a shutdown has been requested.
- removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- removeThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Removes a member from this thread.
- removeThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Removes a member from this thread.
- removeThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Removes a member from this thread.
- removeThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Removes a member from this thread.
- removeTimeout() - Method in interface net.dv8tion.jda.api.entities.Member
-
Removes a time out from this Member in this
Guild
. - removeTimeout(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Removes a time out from the specified Member in this
Guild
. - removeTimeoutById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Removes a time out from a Member specified by the id in this
Guild
. - removeTimeoutById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Removes a time out from a Member specified by the id in this
Guild
. - replace(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces each substring that matches the target string with the specified replacement string.
- replaceFirst(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces the first substring that matches the target string with the specified replacement string.
- replaceLast(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces the last substring that matches the target string with the specified replacement string.
- ReplaceWith - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with ReplaceWith should be replaced immediately with the mentioned code fragment.
- reply(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(CharSequence) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- reply(Message) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- reply(Message) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- REPLY_FAILED_MISSING_MESSAGE_HISTORY_PERM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ReplyCallbackAction - Interface in net.dv8tion.jda.api.requests.restaction.interactions
-
A
InteractionCallbackAction
which can be used to send a message reply for an interaction. - replyChoice(String, double) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoice(String, long) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoice(String, String) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceDoubles(double...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceDoubles(Collection<Double>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceLongs(long...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceLongs(Collection<Long>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoices(Collection<Command.Choice>) - Method in class net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent
- replyChoices(Collection<Command.Choice>) - Method in class net.dv8tion.jda.api.events.interaction.GenericAutoCompleteInteractionEvent
- replyChoices(Collection<Command.Choice>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoices(Command.Choice...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceStrings(String...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyChoiceStrings(Collection<String>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback
-
Reply with up to 25 choices which can be picked from by the user.
- replyEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- replyEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- replyEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- replyFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Replies and references this message.
- replyFormat(String, Object...) - Method in interface net.dv8tion.jda.api.interactions.callbacks.IReplyCallback
-
Reply to this interaction and acknowledge it.
- Request<T> - Class in net.dv8tion.jda.api.requests
- Request(RestActionImpl<T>, Consumer<? super T>, Consumer<? super Throwable>, BooleanSupplier, boolean, RequestBody, Object, long, boolean, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.Request
- REQUEST_ENTITY_TOO_LARGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- REQUEST_TO_SPEAK - Enum constant in enum net.dv8tion.jda.api.Permission
- requestToSpeak() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Once the currently logged in account is connected to a
StageChannel
, this will trigger aRequest-to-Speak
(aka raise your hand). - requestToSpeak() - Method in interface net.dv8tion.jda.api.entities.StageChannel
-
Sends a
request-to-speak
indicator to the stage instance moderators. - reset() - Method in interface net.dv8tion.jda.api.managers.Manager
-
Resets all fields for this Manager
- reset() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Resets this MessageAction to empty state
MessageAction.isEmpty()
will result intrue
after this has been performed! - reset() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Shortcut for
resetAllow().resetDeny()
. - reset(long) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag patterns.
- resetAllow() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the allowed permissions to the current original value.
- resetCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Resets the currently set thread-local reason, if present.
- resetDeny() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the denied permissions to the current original value.
- resolve() - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Retrieves the referenced message for this message.
- resolve() - Method in class net.dv8tion.jda.api.entities.Webhook.WebhookReference
-
Resolves this reference to a
Webhook
instance. - resolve(boolean) - Method in class net.dv8tion.jda.api.entities.MessageReference
-
Retrieves the referenced message for this message.
- resolve(JDA, String) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - resolve(JDA, String) - Static method in class net.dv8tion.jda.api.entities.templates.Template
-
Retrieves a new
Template
instance for the given template code. - resolve(JDA, String, boolean) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - RESOURCES_OVERLOADED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- Response - Class in net.dv8tion.jda.api.requests
- Response(long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Exception, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, int, String, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- RestAction<T> - Interface in net.dv8tion.jda.api.requests
-
A class representing a terminal between the user and the discord API.
- restart() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts all shards, shutting old ones down first.
- restart(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts the shards with the given id only.
- RestFuture<T> - Class in net.dv8tion.jda.api.requests
- RestFuture(Throwable) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(RestActionImpl<T>, boolean, BooleanSupplier, RequestBody, Object, long, boolean, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(T) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- Result<T> - Class in net.dv8tion.jda.api.utils
-
Represents a computation or task result.
- ResumedEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA successfully resumed its connection to the gateway.
- ResumedEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ResumedEvent
- retainFiles(Collection<? extends Message.Attachment>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFiles(Collection<? extends Message.Attachment>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFiles(Collection<? extends Message.Attachment>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFiles(Message.Attachment...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(long...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(long...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(long...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(String...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(String...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(String...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(Collection<String>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(Collection<String>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retainFilesById(Collection<String>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Removes all attachments that are currently attached to the existing message except for the ones provided.
- retrieveActiveThreads() - Method in interface net.dv8tion.jda.api.entities.Guild
- retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
ApplicationInfo
for the application that owns the logged in Bot-Account. - retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Used to access application details of this bot.
- retrieveArchivedPrivateJoinedThreadChannels() - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
- retrieveArchivedPrivateThreadChannels() - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
- retrieveArchivedPublicThreadChannels() - Method in interface net.dv8tion.jda.api.entities.IThreadContainer
- retrieveAsIcon() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Retrieves the image of this attachment and provides an
Icon
equivalent. - retrieveAuditLogs() - Method in interface net.dv8tion.jda.api.entities.Guild
- retrieveBan(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the providedUser
If you wish to ban or unban a user, use eitherban(User, int)
orunban(User)
. - retrieveBanById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherban(id, int)
orunban(id)
. - retrieveBanById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherban(id, int)
orunban(id)
. - retrieveBanList() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of the currently banned
Users
. - retrieveCommandById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the existing
Command
instance by id. - retrieveCommandById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the existing
Command
instance by id. - retrieveCommandPrivileges() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
CommandPrivileges
for the commands in this guild. - retrieveCommandPrivilegesById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
CommandPrivileges
for the command with the specified ID. - retrieveCommandPrivilegesById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the
CommandPrivileges
for the command with the specified ID. - retrieveCommands() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the list of guild commands.
- retrieveCommands() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the list of global commands.
- retrieveEmote(Emote) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of emotes together with their respective creators.
- retrieveFuture(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent more recently than the most recently sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrieveInputStream() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Enqueues a request to retrieve the contents of this Attachment.
- retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Invites
for this guild. - retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.IInviteContainer
-
Returns all invites for this channel.
- retrieveMember() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the
Member
who owns the reaction. - retrieveMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMember(User, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(long, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMembers(boolean, Collection<User>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members.
- retrieveMembers(Collection<User>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members.
- retrieveMembersByIds(boolean, long...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(boolean, String...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(boolean, Collection<Long>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(long...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(String...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByIds(Collection<Long>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a list of members by their user id.
- retrieveMembersByPrefix(String, int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Queries a list of members using a radix tree based on the provided name prefix.
- retrieveMessage() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the message for this reaction event.
- retrieveMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveMetaData() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Loads
Guild.MetaData
for this guild instance. - retrieveOriginal() - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Retrieves the original reply to this interaction.
- retrieveOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Shortcut for
guild.retrieveMemberById(guild.getOwnerIdLong())
. - retrieveOwner(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Shortcut for
guild.retrieveMemberById(guild.getOwnerIdLong())
. - retrievePast(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent before the oldest sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrievePinnedMessages() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Retrieves a List of
Messages
that have been pinned in this channel. - retrievePrivileges(Guild) - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Retrieves the
CommandPrivileges
for this command. - retrieveProfile() - Method in interface net.dv8tion.jda.api.entities.User
-
Loads the user's
User.Profile
data. - retrievePrunableMemberCount(int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
The method calculates the amount of Members that would be pruned if
Guild.prune(int, Role...)
was executed. - retrieveReactionUsers(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
users
who reacted using the given unicode emoji. - retrieveReactionUsers(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
- retrieveReactionUsersById(long, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
This obtains the
users
who reacted to a message using the given unicode emoji. - retrieveReactionUsersById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
- retrieveReactionUsersById(String, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
This obtains the
users
who reacted to a message using the given unicode emoji. - retrieveReactionUsersById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
- retrieveRegions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
Shortcut forretrieveRegions(true)
This will include deprecated voice regions by default. - retrieveRegions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
- retrieveTemplates() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Templates
for this guild. - retrieveThreadMember(Member) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Load the thread-member for the specified user.
- retrieveThreadMember(User) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Load the thread-member for the specified user.
- retrieveThreadMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Load the thread-member for the user with the specified id.
- retrieveThreadMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Load the thread-member for the user with the specified id.
- retrieveThreadMembers() - Method in interface net.dv8tion.jda.api.entities.ThreadChannel
-
Retrieves the
ThreadMembers
of this thread. - retrieveUser() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
Retrieves the
User
who owns the reaction. - retrieveUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(long, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUsers() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Retrieves the
Users
that already reacted with this MessageReaction. - retrieveVanityInvite() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the Vanity Invite meta data for this guild.
- retrieveWebhookById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhookById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.BaseGuildMessageChannel
-
Retrieves the
Webhooks
attached to this TextChannel. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Webhooks
for this Guild. - retryAfter - Variable in class net.dv8tion.jda.api.requests.Response
- reverseOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Reverses the
current order
by usingCollections.reverse(orderList)
- revokePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - revokePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - RICH - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- RichPresence - Interface in net.dv8tion.jda.api.entities
-
Used to hold additional information about a users
Activity
relevant to Rich Presence. - RichPresence.Image - Class in net.dv8tion.jda.api.entities
-
Used to hold information on images within a Rich Presence profile
- RichPresence.Party - Class in net.dv8tion.jda.api.entities
-
Holds information on a player's party
- Role - Interface in net.dv8tion.jda.api.entities
-
Represents a
Guild
's Role. - ROLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withGuild.getRoleById(String)
- ROLE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- ROLE - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
Role
The first and only group matches the id of the mention. - ROLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept a single
Role
- ROLE - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege.Type
- ROLE_COLOR - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getColor()
value. - ROLE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Role
. - ROLE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Role
. - ROLE_HOISTED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isHoisted()
value. - ROLE_MENTIONABLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isMentionable()
value. - ROLE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getName()
value. - ROLE_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible name of the role if the target type is
TargetType.ROLE
- ROLE_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getPermissionsRaw()
value. - ROLE_TAGS - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Role.getTags()
- ROLE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Role
. - Role.RoleTags - Interface in net.dv8tion.jda.api.entities
-
Tags associated with this role.
- RoleAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aRole
. - RoleCreateEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was created. - RoleCreateEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleCreateEvent
- RoleData(long) - Constructor for class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- RoleDeleteEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was deleted. - RoleDeleteEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleDeleteEvent
- RoleIcon - Class in net.dv8tion.jda.api.entities
-
An object representing a Role's icon.
- RoleIcon(String, String, long) - Constructor for class net.dv8tion.jda.api.entities.RoleIcon
- RoleManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Role
. - RoleOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
- ROLES - Static variable in interface net.dv8tion.jda.api.managers.EmoteManager
-
Used to reset the roles field
- RoleUpdateColorEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its color. - RoleUpdateColorEvent(JDA, long, Role, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- RoleUpdateHoistedEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its hoist state. - RoleUpdateHoistedEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- RoleUpdateIconEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that the Icon of a
Role
changed. - RoleUpdateIconEvent(JDA, long, Role, RoleIcon) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateIconEvent
- RoleUpdateMentionableEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its mentionable state. - RoleUpdateMentionableEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- RoleUpdateNameEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its name. - RoleUpdateNameEvent(JDA, long, Role, String) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- RoleUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its permissions. - RoleUpdatePermissionsEvent(JDA, long, Role, long) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- RoleUpdatePositionEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its position. - RoleUpdatePositionEvent(JDA, long, Role, int, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- RULES_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the rules channel field
- run(boolean) - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
When called, establishes the session.
- RUSSIA - Enum constant in enum net.dv8tion.jda.api.Region
S
- SAFE - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Doesn't classify as a NSFW server
- sanitize(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string with default settings.
- sanitize(String, MarkdownSanitizer.SanitizationStrategy) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string without ignoring anything.
- secondary(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SECONDARY
Style. - secondary(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SECONDARY
Style. - SECONDARY - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Secondary button style, usually in gray.
- SECONDS_1800 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_300 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_3600 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_60 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_900 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.Timeout
- SELECT_MENU - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
A select menu
- SelectMenu - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Represents a select menu in a message.
- SelectMenu.Builder - Class in net.dv8tion.jda.api.interactions.components.selections
-
A preconfigured builder for the creation of select menus.
- SelectMenuInteraction - Interface in net.dv8tion.jda.api.interactions.components.selections
-
Component Interaction for a
SelectMenu
. - SelectMenuInteractionEvent - 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. - SelectMenuInteractionEvent(JDA, long, SelectMenuInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.component.SelectMenuInteractionEvent
- SelectOption - Class in net.dv8tion.jda.api.interactions.components.selections
-
One of the possible options provided in a
SelectMenu
. - selectPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity at the specified index
This index is in correlation to thecurrent order
- selectPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity based on the index of the specified entity in the
current order
This is a convenience function that usesOrderAction.selectPosition(int)
internally - SelfUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the avatar of the current user changed.
- SelfUpdateAvatarEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- SelfUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the discriminator of the current user changed.
- SelfUpdateDiscriminatorEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- SelfUpdateMFAEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the mfa level of the current user changed.
- SelfUpdateMFAEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- SelfUpdateNameEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the name of the current user changed.
- SelfUpdateNameEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- SelfUpdateVerifiedEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the verification state of the current user changed.
- SelfUpdateVerifiedEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- SelfUser - Interface in net.dv8tion.jda.api.entities
-
Represents the currently logged in account.
- sendFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessage(CharSequence) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a plain text message to this channel.
- sendMessage(String) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessage(Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a specified
Message
to this channel. - sendMessage(Message) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends up to 10 specified
MessageEmbeds
as aMessage
to this channel. - sendMessageEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends up to 10 specified
MessageEmbeds
as aMessage
to this channel. - sendMessageEmbeds(MessageEmbed, MessageEmbed...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a formatted text message to this channel.
- sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
-
Send a message to this webhook.
- sendTyping() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends the typing status to discord.
- SerializableArray - Interface in net.dv8tion.jda.api.utils.data
-
Allows custom serialization for JSON payloads of an object.
- SerializableData - Interface in net.dv8tion.jda.api.utils.data
-
Allows custom serialization for JSON payloads of an object.
- SERVER_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_MONETIZATION_DISABLED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_NOT_AVAILABLE_IN_YOUR_LOCATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SERVER_NOT_ENOUGH_BOOSTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SESSION_TIMEOUT - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- SessionController - Interface in net.dv8tion.jda.api.utils
-
Controls states and behaviour of one or multiple
JDA
instances. - SessionController.SessionConnectNode - Interface in net.dv8tion.jda.api.utils
-
Represents a WebSocketClient request to start a session.
- SessionController.ShardedGateway - Class in net.dv8tion.jda.api.utils
-
POJO containing the gateway endpoint and recommended shard total for a shard manager.
- SessionControllerAdapter - Class in net.dv8tion.jda.api.utils
- SessionControllerAdapter() - Constructor for class net.dv8tion.jda.api.utils.SessionControllerAdapter
- setActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set only one action row for convenience.
- setActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Create one row of up to 5 message
components
. - setActionRow(Collection<? extends ItemComponent>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set only one action row for convenience.
- setActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set only one action row for convenience.
- setActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Create one row of up to 5 message
components
. - setActionRow(ItemComponent...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set only one action row for convenience.
- setActionRows(Collection<? extends ActionRow>) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Set the action rows for the message.
- setActionRows(Collection<? extends ActionRow>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set the action rows for the message.
- setActionRows(Collection<? extends ActionRow>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Set the action rows for the message.
- setActionRows(Collection<? extends ActionRow>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set the action rows for the message.
- setActionRows(ActionRow...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Set the action rows for the message.
- setActionRows(ActionRow...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set the action rows for the message.
- setActionRows(ActionRow...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Set the action rows for the message.
- setActionRows(ActionRow...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set the action rows for the message.
- setActivity(Activity) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
Activity
for this session. - setActivity(Activity) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
Activity
for all shards. - setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivityProvider(IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets provider that provider the
Activity
for all shards. - setAfkChannel(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the AFK
VoiceChannel
of thisGuild
. - setAfkTimeout(Guild.Timeout) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setAllow(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using the bitwise representation of a set of
Permissions
. - setAllow(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a Collection of
Permissions
. - setAllow(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a set of
Permissions
. - setAllowedMentions(Collection<Message.MentionType>) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Sets which
MentionTypes
should be parsed from the input. - setArchived(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the archived state of this ThreadChannel.
- setAudioPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
used by the audio WebSocket connection. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAuthor(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAutoArchiveDuration(ThreadChannel.AutoArchiveDuration) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the inactive time before autoarchiving of this ThreadChannel.
- setAutoArchiveDuration(ThreadChannel.AutoArchiveDuration) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
- setAutoComplete(boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure whether this option should support auto-complete interactions via
CommandAutoCompleteInteractionEvent
. - setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Sets whether or not JDA should try to automatically reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether audio connections from this AudioManager should automatically reconnect or not.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default avatar of the selected
Webhook
. - setAvatar(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Avatar for the custom Webhook User
- setBanner(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setBitrate(int) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.AudioChannelManager
-
Sets the bitrate of the selected
VoiceChannel
. - setBitrate(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the bitrate for the new VoiceChannel
- setBitrate(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the bitrate for this channel.
- setBoostProgressBarEnabled(boolean) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets whether this
Guild
should have its boost progress bar shown. - setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPoolProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the
TextChannel
of the selectedWebhook
. - setChannelTypes(Collection<ChannelType>) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the
ChannelTypes
to restrict this option to. - setChannelTypes(ChannelType...) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the
ChannelTypes
to restrict this option to. - setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.managers.Manager
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.JDABuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setColor(int) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the raw RGB color value for the embed.
- setColor(int) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the rgb color of the selected
Role
. - setColor(Color) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Color of the embed.
- setColor(Color) - Method in interface net.dv8tion.jda.api.managers.RoleManager
- setColor(Color) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Color) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the color which the new role should be displayed with.
- setColor(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Color for the new role.
- setCommunityUpdatesChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the community updates
TextChannel
of thisGuild
. - setCompression(Compression) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setCompression(Compression) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setConcurrency(int) - Method in class net.dv8tion.jda.api.utils.ConcurrentSessionController
- setConcurrency(int) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Apply the
max_concurrency
for this bot. - setConnectionListener(ConnectionListener) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
ConnectionListener
for this AudioManager. - setConnectTimeout(long) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the amount of time, in milliseconds, that will be used as the timeout when waiting for the audio connection to successfully connect.
- setContent(String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Sets the content of the resulting Message
This will replace already added content. - setContent(String) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set the new content for this message.
- setContent(String) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Set the content for this message.
- setContent(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Set the content for this message.
- setContent(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set the new content for this message.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- setContextMap(ConcurrentMap<String, String>) - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
Called with the internal JDA
MDC
context map. - setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
MDC
mappings to use in JDA. - setContextMap(IntFunction<? extends ConcurrentMap<String, String>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
MDC
mappings provider to use in JDA. - setCurrent(String) - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Sets the current reason that should be used for
AuditableRestAction
. - setDeafen(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice deafened in the guild.
- setDefaultEnabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Whether this command is available to everyone by default.
- setDefaultEnabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setDefaultEnabled(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDefaultEnabled(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Whether this command is available to everyone by default.
- setDefaultFailOnInvalidReply(boolean) - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the default value for
MessageAction.failOnInvalidReply(boolean)
- setDefaultFailure(Consumer<? super Throwable>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - setDefaultMentionRepliedUser(boolean) - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the default value for
MessageAction.mentionRepliedUser(boolean)
- setDefaultMentionRepliedUser(boolean) - Static method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Sets the default value for
AllowedMentions.mentionRepliedUser(boolean)
- setDefaultMentions(Collection<Message.MentionType>) - Static method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the
MentionTypes
that should be parsed by default. - setDefaultMentions(Collection<Message.MentionType>) - Static method in interface net.dv8tion.jda.api.utils.AllowedMentions
-
Sets the
MentionTypes
that should be parsed by default. - setDefaultNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Notification Level
of thisGuild
. - setDefaultOptions(Collection<? extends SelectOption>) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDefaultSuccess(Consumer<Object>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - setDefaultTimeout(long, TimeUnit) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Default timeout to apply to every RestAction.
- setDefaultValues(Collection<String>) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configures which of the currently applied
options
should be selected by default. - setDeny(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using the bitwise representation of a set of
Permissions
. - setDeny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a Collection of
Permissions
. - setDeny(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a set of
Permissions
. - setDescription(CharSequence) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Description of the embed.
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the description
- setDescription(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
-
Configure the description
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Configure the description
- setDescription(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Configure the description
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Sets the description of this
Template
. - setDescription(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setDescription(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Configure the description
- setDisabled(boolean) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configure whether this select menu should be disabled.
- setDisabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be disabled.
- setDisabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be disabled.
- setDisabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be disabled.
- setDisabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be disabled.
- setEmbeds(Collection<? extends MessageEmbed>) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds up to 10
MessageEmbeds
to the Message. - setEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set the
MessageEmbeds
for the message - setEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets up to 10
MessageEmbeds
that should be used for this Message. - setEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set the
MessageEmbeds
for the message - setEmbeds(MessageEmbed...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds up to 10
MessageEmbeds
to the Message. - setEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.MessageEditCallbackAction
-
Set the
MessageEmbeds
for the message - setEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets up to 10
MessageEmbeds
that should be used for this Message. - setEmbeds(MessageEmbed...) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageUpdateAction
-
Set the
MessageEmbeds
for the message - setEnabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be enabled.
- setEnabledIntents(Collection<GatewayIntent>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be enabled.
- setEnabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures which events will be enabled.
- setEnabledIntents(GatewayIntent, GatewayIntent...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures which events will be enabled.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enables/Disables the use of a Shutdown hook to clean up JDA.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enables/Disables the use of a Shutdown hook to clean up the ShardManager and it's JDA instances.
- setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
-
Whether messages sent from this interaction hook should be ephemeral by default.
- setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Set whether this message should be visible to other users.
- setEphemeral(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Set whether this message should be visible to other users.
- setEventManager(IEventManager) - Method in interface net.dv8tion.jda.api.JDA
-
Changes the internal EventManager.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the internally used EventManager.
- setEventManagerProvider(IntFunction<? extends IEventManager>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets a provider to change the internally used EventManager.
- setEventPool(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used by the event proxy to schedule events. - setEventPoolProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Explicit Content Level
of thisGuild
. - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
ExplicitContentLevel
for the resultingGuild
- setFooter(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed without icon.
- setFooter(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed.
- setGatewayEncoding(GatewayEncoding) - Method in class net.dv8tion.jda.api.JDABuilder
-
Choose which
GatewayEncoding
JDA should use. - setGatewayEncoding(GatewayEncoding) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Choose which
GatewayEncoding
JDA should use. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGlobalRatelimit(long) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by the RateLimiter if the global rest ratelimit has changed.
- setGlobalRatelimit(long) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- setHoisted(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the hoist state of the selected
Role
. - setHoisted(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is hoisted
- setHoisted(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether or not the new role should be hoisted
- setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Builder
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Builder
that will be used by JDA's requester. - setIcon(String) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(String) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Unicode Emoji of this
Role
instead of a custom image. - setIcon(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.managers.RoleManager
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- setId(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Change the custom id used to identify the select menu.
- setIdle(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not we should mark our session as afk
This value can be changed at any time in thePresence
from a JDA instance. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets whether this session should be marked as afk or not
- setIdle(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets whether all instances should be marked as afk or not
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdleProvider(IntFunction<Boolean>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that decides for all shards whether they should be marked as afk or not.
- setImage(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Image of the embed.
- setInvitable(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the invitable state of this ThreadChannel.
- setInvitable(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setListener(ConnectionListener) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- setLocked(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the locked state of this ThreadChannel.
- setMaxAge(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age in seconds for the invite.
- setMaxAge(Long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age for the invite.
- setMaxBufferSize(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
The maximum size, in bytes, of the buffer used for decompressing discord payloads.
- setMaxBufferSize(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
The maximum size, in bytes, of the buffer used for decompressing discord payloads.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxUses(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max uses for the invite.
- setMaxValue(double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the maximal value which can be provided for this option.
- setMaxValue(long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the maximal value which can be provided for this option.
- setMaxValues(int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The maximum amount of values a user can select.
- setMemberCachePolicy(MemberCachePolicy) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configure the member caching policy.
- setMemberCachePolicy(MemberCachePolicy) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configure the member caching policy.
- setMentionable(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the mentionable state of the selected
Role
. - setMentionable(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is mentionable
- setMentionable(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether the new role should be mentionable by members of the parent
Guild
. - setMinValue(double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal value which can be provided for this option.
- setMinValue(long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal value which can be provided for this option.
- setMinValues(int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum amount of values a user has to select.
- setMute(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice muted in the guild.
- setName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.CommandData
-
Configure the command name.
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the name
- setName(String) - Method in interface net.dv8tion.jda.api.interactions.commands.build.SlashCommandData
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Configure the name
- setName(String) - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Configure the name
- setName(String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the username for the currently logged in account
- setName(String) - Method in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Sets the name of the selected
GuildChannel
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Sets the name of the selected
Emote
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the name of this
Guild
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the name of the selected
Role
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.TemplateManager
-
Sets the name of this
Template
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default name of the selected
Webhook
. - setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the name for the new GuildChannel
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
-
Configure the name
- setName(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the name for this Role
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the name for the resulting
Guild
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the name for new role (optional)
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
-
Sets the name for the new GuildChannel
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Name for the custom Webhook User
- setNickname(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the nickname of the user for the guild.
- setNonce(String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Sets the nonce of the built message(s).
- setNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
NotificationLevel
for the resultingGuild
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.BaseGuildMessageChannelManager
-
Sets the nsfw flag of the selected
TextChannel
orNewsChannel
. - setNSFW(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the NSFW flag for the new TextChannel
- setNSFW(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the whether this channel should be marked NSFW.
- setParent(Category) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Sets the
Parent Category
of the selectedGuildChannel
. - setParent(Category) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the
Category
for the new GuildChannel. - setPassContext(boolean) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
If enabled this will pass a
ContextException
as root-cause to all failure consumers. - setPermissionChecksEnabled(boolean) - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Enables internal checks for missing permissions
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - setPermissions(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(long)
andPermissionOverrideAction.setDeny(long)
First sets the allow bits and then the deny bits. - setPermissions(Long) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(java.util.Collection)
andPermissionOverrideAction.setDeny(java.util.Collection)
First sets the granted permissions and then the denied permissions. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissionsRaw(Long) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the raw permission value for this Role
- setPlaceholder(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
Configure the placeholder which is displayed when no selections have been made yet.
- setPosition(int) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.IPositionableChannelManager
-
Sets the position of the selected
GuildChannel
. - setPosition(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the position where the new Channel should be inserted into.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the position for this channel.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the position for this Role
- setPresence(Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
andActivity
for all shards. - setPresence(OnlineStatus, Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets all presence fields of this session.
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
andActivity
for all shards. - setPrivacyLevel(StageInstance.PrivacyLevel) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Sets the
PrivacyLevel
for this stage instance. - setPrivacyLevel(StageInstance.PrivacyLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
-
Sets the
PrivacyLevel
for the stage instance. - setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
provider that should be used in the JDA rate-limit handler. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setReceivingHandler(AudioReceiveHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioReceiveHandler
that the manager will use to process audio data received from an audio connection. - setRegion(Region) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.AudioChannelManager
-
Sets the
Region
of the selectedVoiceChannel
. - setRelativeRateLimit(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether the rate-limit should be relative to the current time plus latency.
- setRelativeRateLimit(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the rate-limit should be relative to the current time plus latency.
- setRequestTimeoutRetry(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequired(boolean) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure whether the user must set this option.
- setRequiredMFALevel(Guild.MFALevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setRequiredRange(double, double) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal and maximal value which can be provided for this option.
- setRequiredRange(int, int) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectMenu.Builder
-
The minimum and maximum amount of values a user can select.
- setRequiredRange(long, long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
-
Configure the minimal and maximal value which can be provided for this option.
- setRequiredScopes(String...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Configures the required scopes applied to the
ApplicationInfo.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(String...) - Method in interface net.dv8tion.jda.api.JDA
-
Configures the required scopes applied to the
JDA.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(Collection<String>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Configures the required scopes applied to the
ApplicationInfo.getInviteUrl(Permission...)
and similar methods. - setRequiredScopes(Collection<String>) - Method in interface net.dv8tion.jda.api.JDA
-
Configures the required scopes applied to the
JDA.getInviteUrl(Permission...)
and similar methods. - setRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRoles(Set<Role>) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Sets the restriction roles of the selected
Emote
. - setRoles(Role...) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRulesChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the rules
TextChannel
of thisGuild
. - setSelfDeafened(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether connections from this AudioManager should be deafened.
- setSelfMuted(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Set this to
true
if the current connection should be displayed as muted, this will cause theAudioSendHandler
packages to not be ignored by Discord! - setSendingHandler(AudioSendHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioSendHandler
that the manager will use to provide audio data to an audio connection. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
SessionController
for this JDABuilder instance. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
SessionController
for the resulting ShardManager instance. - setShards(int...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the list of shards the
DefaultShardManager
should contain. - setShards(int, int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShards(Collection<Integer>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShardsTotal(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
This will set the total amount of shards the
DefaultShardManager
should use. - setSlowmode(int) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.TextChannelManager
-
Sets the slowmode of the selected
TextChannel
. - setSlowmode(int) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.ThreadChannelManager
-
Sets the slowmode of the selected
ThreadChannel
. - setSlowmode(int) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the slowmode value, which limits the amount of time that individual users must wait between sending messages in the new TextChannel.
- setSpeakingDelay(int) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Configures the delay between the last provided frame and removing the speaking indicator.
- setSpeakingMode(Collection<SpeakingMode>) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSpeakingMode(SpeakingMode...) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSplash(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
OnlineStatus
for this session - setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
for all shards. - setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatusProvider(IntFunction<OnlineStatus>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
for all shards. - setSystemChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the system
TextChannel
of thisGuild
. - setTargetApplication(long) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the id of the targeted application.
- setTargetApplication(String) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the id of the targeted application.
- setTargetStream(long) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to target for this invite.
- setTargetStream(String) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTargetStream(Member) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTargetStream(User) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the user whose stream to display for this invite.
- setTemporary(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether the invite should only grant temporary membership.
- setThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ThreadFactory
that will be used by the internal executor of the ShardManager. - setThumbnail(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Thumbnail of the embed.
- setTimestamp(TemporalAccessor) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Timestamp of the embed.
- setTitle(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setTitle(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setToken(String) - Method in class net.dv8tion.jda.api.JDABuilder
- setToken(String) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the token that will be used by the
ShardManager
instance to log in whenbuild()
is called. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.channel.middleman.BaseGuildMessageChannelManager
-
Sets the topic of the selected
TextChannel
orStageChannel
. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Sets the topic for this stage instance.
- setTopic(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the topic for the new TextChannel
- setTopic(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the topic for this channel.
- setTopic(String) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
-
Sets the topic for the stage instance.
- setTTS(boolean) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Makes the created Message a TTS message.
- setTTS(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
-
Enable/Disable Text-To-Speech for the resulting message.
- setTTS(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
-
Enable/Disable Text-To-Speech for the resulting message.
- setType(ChannelType) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.NewsChannelManager
-
Converts the selected channel to a different
ChannelType
. - setType(ChannelType) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.TextChannelManager
-
Converts the selected channel to a different
ChannelType
. - setType(ChannelType) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Converts the channel to a different
ChannelType
. - setUnique(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether discord should reuse a similar invite.
- setUserlimit(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the userlimit for the new VoiceChannel
- setUserlimit(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the userlimit for this channel.
- setUserLimit(int) - Method in interface net.dv8tion.jda.api.managers.channel.concrete.VoiceChannelManager
-
Sets the user-limit of the selected
VoiceChannel
. - setUseShutdownNow(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the
ShardManager
should useJDA#shutdownNow()
instead ofJDA#shutdown()
to shutdown it's shards. - setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Verification Level
of thisGuild
. - setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
VerificationLevel
for the resultingGuild
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - ShardCacheView - Interface in net.dv8tion.jda.api.utils.cache
-
Read-only view on internal ShardManager cache of JDA instances.
- ShardedGateway(String, int) - Constructor for class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
Creates a new GatewayBot instance with the provided properties
- ShardedGateway(String, int, int) - Constructor for class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
- ShardInfo(int, int) - Constructor for class net.dv8tion.jda.api.JDA.ShardInfo
- SHARDING_REQUIRED - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- ShardManager - Interface in net.dv8tion.jda.api.sharding
-
This class acts as a manager for multiple shards.
- SHIELD - Enum constant in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- shouldQueue() - Method in class net.dv8tion.jda.api.requests.Request
- shouldReconnect() - Method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
- shouldShutdownAutomatically(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Whether the previously provided executor should be shutdown by
JDA.shutdown()
. - shuffleOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Shuffles the
current order
by usingCollections.shuffle(orderList)
- shutdown() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- shutdown() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the destruction of this instance and should be used to perform all necessary cleanup and shutdown operations needed to free resources.
- shutdown() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance, closing all its connections.
- shutdown() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down all JDA shards, closing all their connections.
- shutdown(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down the shard with the given id only.
- SHUTDOWN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has finished shutting down and this instance can no longer be used to communicate with the Discord servers.
- ShutdownEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA has fully disconnected from Discord and will not attempt to reconnect again.
- ShutdownEvent(JDA, OffsetDateTime, int) - Constructor for class net.dv8tion.jda.api.events.ShutdownEvent
- shutdownNow() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance instantly, closing all its connections.
- SHUTTING_DOWN - Enum constant in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that JDA was shutdown and no further connections should be established
- SHUTTING_DOWN - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
JDA has received a shutdown request or has been disconnected from Discord and reconnect is disabled, thus, JDA is in the process of shutting down
- SimpleCacheView(Class<T>, Function<T, String>) - Constructor for class net.dv8tion.jda.api.utils.cache.CacheView.SimpleCacheView
- SINGAPORE - Enum constant in enum net.dv8tion.jda.api.Region
- SINGLE - Static variable in class net.dv8tion.jda.api.JDA.ShardInfo
-
Default sharding config with one shard
- size() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The amount of retrieved
Messages
by this MessageHistory. - size() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
The current size of this cache
This is along
as it may be a projected view of multiple caches (SeeCacheView.all(java.util.function.Supplier)
) - skipTo(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Skips past the specified ID for successive requests.
- slash(String, String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a slash command builder.
- SLASH - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- SLASH_COMMAND - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This message was created by an interaction.
- SlashCommandData - Interface in net.dv8tion.jda.api.interactions.commands.build
-
Extension of
CommandData
which allows setting slash-command specific settings such as options and subcommands. - SlashCommandInteraction - Interface in net.dv8tion.jda.api.interactions.commands
-
Interaction with a slash command
- SlashCommandInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a slash command was used in a
MessageChannel
. - SlashCommandInteractionEvent(JDA, long, SlashCommandInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
- SLOWMODE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The state of slow mode in the channel.
- SLOWMODE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the rate-limit per user field
- SLOWMODE_RATE_LIMIT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- SMALL_ATOM - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_ATOM_UTF8 - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_BIGINT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SMALL_INT - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SnowflakeCacheView<T extends ISnowflake> - Interface in net.dv8tion.jda.api.utils.cache
-
CacheView
implementation specifically to viewISnowflake
implementations. - SortedSnowflakeCacheView<T extends Comparable<? super T> & ISnowflake> - Interface in net.dv8tion.jda.api.utils.cache
-
Specialized
CacheView
for entities that occur in a specified order. - sortOrder(Comparator<T>) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- SOUNDSHARE - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- SOURCE_MESSAGE_DELETED - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that the source message of this crosspost was deleted.
- SOUTH_AFRICA - Enum constant in enum net.dv8tion.jda.api.Region
- SOUTH_KOREA - Enum constant in enum net.dv8tion.jda.api.Region
- SPACE - Static variable in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Splits on space chars
` `
. - SpeakingMode - Enum in net.dv8tion.jda.api.audio
-
Flags representing the speaking modes used by discord users.
- SPECTATE - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- SPECTATE - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to spectate a game. - SPLASH - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the splash field
- SPLASH_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getSplashUrl()
. - spliterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- spoiler(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing spoiler regions in the input and applies spoiler formatting to the entire string.
- SPOILER - Enum constant in enum net.dv8tion.jda.api.utils.AttachmentOption
-
Marks an image attachment as a spoiler by prefixing the name with
SPOILER_
- SPOILER - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Spoiler region such as "||Hello||"
- STAFF - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- STAGE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
StageChannel
, Guild-Only. - STAGE_ALREADY_OPEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- STAGE_INSTANCE - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- STAGE_INSTANCE_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was started by aStage Moderator
. - STAGE_INSTANCE_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was deleted by aStage Moderator
. - STAGE_INSTANCE_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A
StageInstance
was updated by aStage Moderator
. - StageChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Stage Channel.
- StageChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
- StageInstance - Interface in net.dv8tion.jda.api.entities
-
A Stage Instance holds information about a live stage.
- StageInstance.PrivacyLevel - Enum in net.dv8tion.jda.api.entities
-
The privacy level for a stage instance.
- StageInstanceAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Specialized
RestAction
used to create aStageInstance
- StageInstanceCreateEvent - Class in net.dv8tion.jda.api.events.stage
-
Indicates that a
StageInstance
was created. - StageInstanceCreateEvent(JDA, long, StageInstance) - Constructor for class net.dv8tion.jda.api.events.stage.StageInstanceCreateEvent
- StageInstanceDeleteEvent - Class in net.dv8tion.jda.api.events.stage
-
Indicates that a
StageInstance
was deleted. - StageInstanceDeleteEvent(JDA, long, StageInstance) - Constructor for class net.dv8tion.jda.api.events.stage.StageInstanceDeleteEvent
- StageInstanceManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
StageInstance
. - StageInstanceUpdatePrivacyLevelEvent - Class in net.dv8tion.jda.api.events.stage.update
-
Indicates that a
StageInstance
updated itsPrivacyLevel
. - StageInstanceUpdatePrivacyLevelEvent(JDA, long, StageInstance, StageInstance.PrivacyLevel) - Constructor for class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdatePrivacyLevelEvent
- StageInstanceUpdateTopicEvent - Class in net.dv8tion.jda.api.events.stage.update
-
Indicates that a
StageInstance
updated itstopic
. - StageInstanceUpdateTopicEvent(JDA, long, StageInstance, String) - Constructor for class net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- start() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- start() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the start of the loop, similar to
Thread.start()
, and after a call to this method JDA assumes that the instance will be sending UDP audio packets in a loop. - start(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- start(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Adds a new shard with the given id to this ShardManager and starts it.
- StatusChangeEvent - Class in net.dv8tion.jda.api.events
-
Indicates that our
Status
changed. - StatusChangeEvent(JDA, JDA.Status, JDA.Status) - Constructor for class net.dv8tion.jda.api.events.StatusChangeEvent
- STICKER_FPS_TOO_SMALL_OR_TOO_LARGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- STORE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
StoreChannel
, Guild-Only. - StoreChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Store GuildChannel.
- StoreChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
- stream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
A sequential
Stream
with this PaginationAction as its source. - stream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a
Stream
of all cached elements. - stream(BiFunction<? super DataArray, Integer, ? extends T>) - Method in class net.dv8tion.jda.api.utils.data.DataArray
- STREAM - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
The invite points to a user's stream in a voice channel.
- streaming(String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- STREAMING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
is a stream and should be displayed asStreaming...
in the official client. - STREAMING_URL - Static variable in interface net.dv8tion.jda.api.entities.Activity
-
The Pattern used for
Activity.isValidStreamingUrl(String)
- streamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.stream()
which does not preserve order. - strike(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing strike regions in the input and applies strike formatting to the entire string.
- STRIKE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Strikethrough region such as "~~Hello~~"
- STRIKETHROUGH - Enum constant in enum net.dv8tion.jda.api.MessageBuilder.Formatting
- STRING - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Options which accept text inputs.
- STRING - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- STRING - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
- SUB_COMMAND - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Option which is serialized as subcommand, this is only used for internals and should be ignored by users.
- SUB_COMMAND_GROUP - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Option which is serialized as subcommand groups, this is only used for internals and should be ignored by users.
- Subcommand(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- SubcommandData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command subcommand.
- SubcommandData(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
-
Create a subcommand builder.
- SubcommandGroup(DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- SubcommandGroupData - Class in net.dv8tion.jda.api.interactions.commands.build
-
Builder for a Slash-Command group.
- SubcommandGroupData(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
-
Create an group builder.
- submit() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submit(boolean) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submitAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - submitAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - SubscribeEvent - Annotation Type in net.dv8tion.jda.api.hooks
-
Annotation used by the
AnnotatedEventManager
this is only picked up if the event manager implementation has been set to use theAnnotatedEventManager
viaJDABuilder.setEventManager(IEventManager)
- success(E) - Static method in class net.dv8tion.jda.api.utils.Result
-
Creates a successful result.
- success(String, String) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SUCCESS
Style. - success(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Creates a button with
SUCCESS
Style. - SUCCESS - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Success/Approve button style, usually in green.
- suppressEmbeds(boolean) - Method in interface net.dv8tion.jda.api.entities.Message
-
Enables/Disables suppression of Embeds on this Message.
- swapPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the entity located at the specified position.
- swapPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the specified entity.
- SYDNEY - Enum constant in enum net.dv8tion.jda.api.Region
- sync() - Method in class net.dv8tion.jda.api.entities.templates.Template
-
Syncs this template.
- sync() - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with its parent (Category
). - sync(IPermissionContainer) - Method in interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with the given (GuildChannel
). - SYNC - Enum constant in enum net.dv8tion.jda.api.entities.ActivityFlag
- syncPermissionOverrides() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Syncs the permission overrides of the channel with the category.
- SYSTEM_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the system channel field
T
- takeAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeRemainingAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeUntilAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeUntilAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeWhileAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- takeWhileAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- TargetType - Enum in net.dv8tion.jda.api.audit
-
TargetType for an
ActionType
This describes what kind of Discord entity is being targeted by an auditable action! - Task<T> - Interface in net.dv8tion.jda.api.utils.concurrent
-
Represents an asynchronous task.
- TEAM_USER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
-
User is a
team
- TeamMember - Interface in net.dv8tion.jda.api.entities
-
Member of a
ApplicationTeam
. - TeamMember.MembershipState - Enum in net.dv8tion.jda.api.entities
-
The membership state on the team.
- Template - Class in net.dv8tion.jda.api.entities.templates
-
Representation of a Discord Guild Template
This class is immutable. - Template(JDAImpl, String, String, String, int, User, OffsetDateTime, OffsetDateTime, TemplateGuild, boolean) - Constructor for class net.dv8tion.jda.api.entities.templates.Template
- TemplateChannel - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the channels information provided by a template.
- TemplateChannel(long, ChannelType, String, String, int, long, boolean, List<TemplateChannel.PermissionOverride>, boolean, int, int, int) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateChannel
- TemplateChannel.PermissionOverride - Class in net.dv8tion.jda.api.entities.templates
-
Represents the specific
Role
permission overrides that can be set for channels. - TemplateGuild - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the guild information provided by a template.
- TemplateGuild(long, String, String, String, Guild.VerificationLevel, Guild.NotificationLevel, Guild.ExplicitContentLevel, Locale, Guild.Timeout, TemplateChannel, TemplateChannel, List<TemplateRole>, List<TemplateChannel>) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateGuild
- TemplateManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Template
. - TemplateRole - Class in net.dv8tion.jda.api.entities.templates
-
POJO for the roles information provided by a template.
- TemplateRole(long, String, int, boolean, boolean, long) - Constructor for class net.dv8tion.jda.api.entities.templates.TemplateRole
- test(Throwable) - Method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Tests whether the given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
equal to this. - test(Collection<ErrorResponse>) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Provides a tests whether a given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
being one of the provided responses. - test(ErrorResponse...) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Provides a tests whether a given throwable is an
ErrorResponseException
withErrorResponseException.getErrorResponse()
being one of the provided responses. - TEXT - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
TextChannel
, Guild-Only. - TEXT_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length the footer of an embed can have
- TextChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a standard Discord Text GuildChannel.
- TextChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality common for all
TextChannels
. - THREAD - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- THREAD_ARCHIVED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isArchived()
value. - THREAD_AUTO_ARCHIVE_DURATION - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.getAutoArchiveDuration()
value. - THREAD_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user created a
ThreadChannel
- THREAD_CREATED - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
This is sent to a TextChannel when a message thread is created if the message from which the thread was started is "old".
- THREAD_DELETE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user deleted a
ThreadChannel
- THREAD_INVITABLE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isInvitable()
value. - THREAD_LOCKED - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.isLocked()
value. - THREAD_LOCKED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- THREAD_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.getName()
value. - THREAD_SLOWMODE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
ThreadChannel.getSlowmode()
value. - THREAD_STARTER_MESSAGE - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
A new message sent as the first message in threads that are started from an existing message in the parent channel.
- THREAD_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
A user updated a
ThreadChannel
- THREAD_WITH_THIS_MESSAGE_ALREADY_EXISTS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- ThreadChannel - Interface in net.dv8tion.jda.api.entities
- ThreadChannel.AutoArchiveDuration - Enum in net.dv8tion.jda.api.entities
-
The values permitted for the auto archive duration of a
ThreadChannel
. - ThreadChannelAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aThreadChannel
. - ThreadChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
-
Manager providing functionality common for all
ThreadChannels
. - ThreadChannelPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the thread members endpoint. - ThreadHiddenEvent - Class in net.dv8tion.jda.api.events.thread
-
This event is dispatched when a
ThreadChannel
that JDA did have access to is now inaccessible (due to permissions). - ThreadHiddenEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.ThreadHiddenEvent
- ThreadLocalReason - Class in net.dv8tion.jda.api.audit
-
Thread-Local audit-log reason used automatically by
AuditableRestAction
instances when no other reason was set. - ThreadLocalReason.Closable - Class in net.dv8tion.jda.api.audit
-
Allows to use try-with-resources blocks for setting reasons
- ThreadManager - Class in net.dv8tion.jda.api.managers
- ThreadManager() - Constructor for class net.dv8tion.jda.api.managers.ThreadManager
- ThreadMember - Interface in net.dv8tion.jda.api.entities
- ThreadMemberJoinEvent - Class in net.dv8tion.jda.api.events.thread.member
- ThreadMemberJoinEvent(JDA, long, ThreadChannel, ThreadMember) - Constructor for class net.dv8tion.jda.api.events.thread.member.ThreadMemberJoinEvent
- ThreadMemberLeaveEvent - Class in net.dv8tion.jda.api.events.thread.member
- ThreadMemberLeaveEvent(JDA, long, ThreadChannel, long, ThreadMember) - Constructor for class net.dv8tion.jda.api.events.thread.member.ThreadMemberLeaveEvent
- ThreadPoolProvider<T extends ExecutorService> - Interface in net.dv8tion.jda.api.sharding
-
Called by
DefaultShardManager
when building a JDA instance. - ThreadRevealedEvent - Class in net.dv8tion.jda.api.events.thread
-
This event is dispatched when a
ThreadChannel
that JDA didn't previously have access to (due to permissions) is now visible. - ThreadRevealedEvent(JDA, long, ThreadChannel) - Constructor for class net.dv8tion.jda.api.events.thread.ThreadRevealedEvent
- Thumbnail(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
- TIER_1 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The first tier.
- TIER_2 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The second tier.
- TIER_3 - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The third tier.
- TIME_1_HOUR - Enum constant in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
- TIME_1_WEEK - Enum constant in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
- TIME_24_HOURS - Enum constant in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
- TIME_3_DAYS - Enum constant in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
- TIME_LONG - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats time as
18:49:26
or6:49:26 PM
- TIME_SHORT - Enum constant in enum net.dv8tion.jda.api.utils.TimeFormat
-
Formats time as
18:49
or6:49 PM
- TimeFormat - Enum in net.dv8tion.jda.api.utils
-
Utility enum used to provide different markdown styles for timestamps.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.managers.Manager
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Timeout for this RestAction instance.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyCallbackAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.StageInstanceAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.ThreadChannelAction
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Timeout for this RestAction instance.
- timeout(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- timeoutFor(long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
for a specific amount of time. - timeoutFor(Duration) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
for a specific amount of time. - timeoutFor(Member, long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutFor(Member, Duration) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutForById(long, long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts a Member specified by the id in time out in this
Guild
for a specific amount of time. - timeoutForById(long, Duration) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutForById(String, long, TimeUnit) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts a Member specified by the id in time out in this
Guild
for a specific amount of time. - timeoutForById(String, Duration) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
for a specific amount of time. - timeoutUntil(TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Member
-
Puts this Member in time out in this
Guild
until the specified date. - timeoutUntil(Member, TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts the specified Member in time out in this
Guild
until the specified date. - timeoutUntilById(long, TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts a Member specified by the id in time out in this
Guild
until the specified date. - timeoutUntilById(String, TemporalAccessor) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Puts a Member specified by the id in time out in this
Guild
until the specified date. - Timestamp - Class in net.dv8tion.jda.api.utils
-
Utility class representing Discord Markdown timestamps.
- TIMESTAMP_OFFSET - Static variable in class net.dv8tion.jda.api.utils.TimeUtil
- Timestamps(long, long) - Constructor for class net.dv8tion.jda.api.entities.Activity.Timestamps
- TimeUtil - Class in net.dv8tion.jda.api.utils
- TimeUtil() - Constructor for class net.dv8tion.jda.api.utils.TimeUtil
- TITLE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed title can have
- toBitField(Collection<Message.MessageFlag>) - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Converts a Collection of MessageFlags back to the integer representing the bitfield.
- toData() - Method in class net.dv8tion.jda.api.entities.Emoji
- toData() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Creates a new
DataObject
used for sending. - toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- toData() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The raw JSON object that was parsed from this update
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
- toData() - Method in class net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege
- toData() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- toData() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- toData() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toData() - Method in interface net.dv8tion.jda.api.utils.data.SerializableData
-
Serialized
DataObject
for this object. - toDataArray() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toDataArray() - Method in interface net.dv8tion.jda.api.utils.data.SerializableArray
-
Serialized
DataArray
for this object. - toETF() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Serializes this object as ETF LIST term.
- toETF() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Serializes this object as ETF MAP term.
- toInstant() - Method in class net.dv8tion.jda.api.utils.Timestamp
-
Shortcut for
Instant.ofEpochMilli(getTimestamp())
. - toJson() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Serializes this object as JSON.
- toJson() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Serialize this object as JSON.
- toList() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Converts this DataArray to a
List
. - toMap() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Converts this DataObject to a
Map
- TOO_MANY_REACTIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- TOPIC - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The topic of the channel.
- TOPIC - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the topic field
- TOPIC - Static variable in interface net.dv8tion.jda.api.managers.StageInstanceManager
-
Used to reset the topic field
- toPrettyString() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toPrettyString() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toString() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- toString() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
- toString() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- toString() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- toString() - Method in enum net.dv8tion.jda.api.entities.ChannelField
- toString() - Method in class net.dv8tion.jda.api.entities.Emoji
- toString() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
- toString() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
- toString() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- toString() - Method in class net.dv8tion.jda.api.entities.templates.Template
- toString() - Method in class net.dv8tion.jda.api.entities.User.Profile
- toString() - Method in class net.dv8tion.jda.api.entities.VanityInvite
- toString() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- toString() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- toString() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
- toString() - Method in class net.dv8tion.jda.api.exceptions.ErrorResponseException.SchemaError
- toString() - Method in class net.dv8tion.jda.api.interactions.AutoCompleteQuery
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Choice
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Option
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- toString() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
- toString() - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- toString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
- toString() - Method in enum net.dv8tion.jda.api.Region
- toString() - Method in enum net.dv8tion.jda.api.requests.CloseCode
- toString() - Method in class net.dv8tion.jda.api.requests.Response
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toString() - Method in class net.dv8tion.jda.api.utils.Result
- toString() - Method in class net.dv8tion.jda.api.utils.Timestamp
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- transferOwnership(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Transfers the Guild ownership to the specified
Member
Only available if the currently logged in account is the owner of this Guild - tryLock(Lock) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Tries to acquire the provided lock in a 10 second timeframe.
- tts(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Enable/Disable Text-To-Speech for the resulting message.
- TWO_FACTOR_AUTH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- type(ActionType) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
ActionType
- TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Entity type (like channel type or webhook type)
- TYPE - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option indicating the type of an entity.
- TYPE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The
type
of the channel. - TYPE - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the channel type field
U
- UNAUTHORIZED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UnavailableGuildJoinedEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
that is not yet available. - UnavailableGuildJoinedEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
- UnavailableGuildLeaveEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you left a
Guild
that is not yet available. - UnavailableGuildLeaveEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
- unban(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Unbans the a user specified by the userId from this Guild.
- unban(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Unbans the specified
User
from this Guild. - UNBAN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unbanned a user.
- underline(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing underline regions in the input and applies underline formatting to the entire string.
- UNDERLINE - Enum constant in enum net.dv8tion.jda.api.MessageBuilder.Formatting
- UNDERLINE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Underline region such as "__Hello__"
- UnifiedMemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
Unknown Discord channel type.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
Placeholder for a new type that is not yet supported here
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Placeholder for future tiers.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.MFALevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Placeholder for unsupported levels.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Placeholder for unsupported IconTypes
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Invite.InviteType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Unknown Discord invite target type.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Represents any unknown or unsupported
MessageActivity
types. - UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
Represents any unknown or unsupported
MessageSticker
format types. - UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.MessageType
-
Unknown MessageType.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Placeholder for future privacy levels, indicates that this version of JDA does not support this privacy level yet
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Placeholder for future states
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.entities.WebhookType
-
Placeholder for unsupported types
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Placeholder for future option types
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Placeholder for future styles
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.components.Component.Type
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.interactions.InteractionType
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.OnlineStatus
-
Placeholder for possible future online status values that are not listed here yet.
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.Permission
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.Region
- UNKNOWN - Enum constant in enum net.dv8tion.jda.api.utils.data.DataType
- UNKNOWN_ACCOUNT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_APPLICATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BAN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BRANCH - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_CHANNEL - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_COMMAND - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_COMMAND_PERMISSIONS - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_DISCOVERABLE_SERVER_CATEGORY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_EMOJI - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ENTITLEMENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_GIFT_CODE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_MEMBER_VERIFICATION_FORM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_SCHEDULED_EVENT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_SCHEDULED_EVENT_USER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_TEMPLATE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_GUILD_WELCOME_SCREEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INTEGRATION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INTERACTION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INVITE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_LOBBY - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MEMBER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MESSAGE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_OPCODE - Enum constant in enum net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_OVERRIDE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_PREMIUM_SERVER_SUBSCRIBE_COOLDOWN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_PROVIDER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_REDISTRIBUTABLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ROLE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SESSION - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_SKU - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STAGE_INSTANCE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STICKER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STORE_DIRECTORY_LAYOUT - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STORE_LISTING - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_STREAM - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_TOKEN - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_USER - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_WEBHOOK - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_WEBHOOK_SERVICE - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- unloadMember(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Attempts to remove the user with the provided id from the member cache.
- unloadUser(long) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to remove the user with the provided id from the cache.
- unpack(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java object.
- unpackList(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java
List
. - unpackMap(ByteBuffer) - Static method in class net.dv8tion.jda.api.utils.data.etf.ExTermDecoder
-
Unpacks the provided term into a java
Map
. - unpin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to remove the Message from the
MessageChannel's
pinned message list. - unpinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to unpin a message.
- unpinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to unpin a message.
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- unregister(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Removes the specified listener
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- updateCommandPrivileges(Map<String, ? extends Collection<CommandPrivilege>>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Updates the list of
CommandPrivileges
for the specified commands. - updateCommandPrivilegesById(long, Collection<? extends CommandPrivilege>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Updates the list of
CommandPrivileges
for the specified command. - updateCommandPrivilegesById(long, CommandPrivilege...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Updates the list of
CommandPrivileges
for the specified command. - updateCommandPrivilegesById(String, Collection<? extends CommandPrivilege>) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Updates the list of
CommandPrivileges
for the specified command. - updateCommandPrivilegesById(String, CommandPrivilege...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Updates the list of
CommandPrivileges
for the specified command. - updateCommands() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Configures the complete list of guild commands.
- updateCommands() - Method in interface net.dv8tion.jda.api.JDA
-
Configures the complete list of global commands.
- updateComponent(String, ItemComponent) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this layout.
- updateComponent(List<? extends LayoutComponent>, String, ItemComponent) - Static method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this list of layouts.
- updateComponent(List<? extends LayoutComponent>, ItemComponent, ItemComponent) - Static method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this list of layouts.
- updateComponent(ItemComponent, ItemComponent) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Find and replace a component in this layout.
- UpdateEvent<E,
T> - Interface in net.dv8tion.jda.api.events -
Indicates that a value of an entity was updated
- updatePrivileges(Guild, Collection<? extends CommandPrivilege>) - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Updates the list of
CommandPrivileges
for this command. - updatePrivileges(Guild, CommandPrivilege...) - Method in interface net.dv8tion.jda.api.interactions.commands.Command
-
Updates the list of
CommandPrivileges
for this command. - upsertCommand(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates or updates a slash command.
- upsertCommand(String, String) - Method in interface net.dv8tion.jda.api.JDA
-
Creates or updates a global slash command.
- upsertCommand(CommandData) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates or updates a command.
- upsertCommand(CommandData) - Method in interface net.dv8tion.jda.api.JDA
-
Creates or updates a global command.
- upsertPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.IPermissionContainer
-
Creates a new override or updates an existing one.
- URGENT - Enum constant in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Indicates, that this Message came from the urgent message system
- URL_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length any URL can have inside an embed
- URL_MAX_LENGTH - Static variable in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
The maximum length a button url can have
- URL_PATTERN - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- US_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- US_EAST - Enum constant in enum net.dv8tion.jda.api.Region
- US_SOUTH - Enum constant in enum net.dv8tion.jda.api.Region
- US_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- USE_APPLICATION_COMMANDS - Enum constant in enum net.dv8tion.jda.api.Permission
- user(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(String) - Static method in class net.dv8tion.jda.api.interactions.commands.build.Commands
-
Create a user context menu command builder.
- user(String) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(User) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
. - User - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord User.
- USER - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withJDA.getUserById(String)
- USER - Enum constant in enum net.dv8tion.jda.api.entities.Message.MentionType
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.Command.Type
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.OptionType
- USER - Enum constant in enum net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege.Type
- USER_BANNED_FROM_GUILD - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- USER_LIMIT - Enum constant in enum net.dv8tion.jda.api.entities.ChannelField
-
The maximum user count of this channel.
- USER_NOT_CONNECTED - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- USER_TAG - Static variable in interface net.dv8tion.jda.api.entities.User
-
Compiled pattern for a Discord Tag:
(.{2,32})#(\d{4})
- User.Profile - Class in net.dv8tion.jda.api.entities
-
Represents the information contained in a
User
's profile. - User.UserFlag - Enum in net.dv8tion.jda.api.entities
-
Represents the bit offsets used by Discord for public flags
- UserActivityEndEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityEndEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- UserActivityStartEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityStartEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- UserAudio - Class in net.dv8tion.jda.api.audio
-
Represents a packet of User specific audio.
- UserAudio(User, short[]) - Constructor for class net.dv8tion.jda.api.audio.UserAudio
- UserContextInteraction - Interface in net.dv8tion.jda.api.interactions.commands.context
-
Interaction with a user context menu command
- UserContextInteractionEvent - Class in net.dv8tion.jda.api.events.interaction.command
-
Indicates that a user context command was used.
- UserContextInteractionEvent(JDA, long, UserContextInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent
- USERLIMIT - Static variable in interface net.dv8tion.jda.api.managers.channel.ChannelManager
-
Used to reset the userlimit field
- UserTypingEvent - Class in net.dv8tion.jda.api.events.user
-
Indicates that a
User
started typing. - UserTypingEvent(JDA, long, User, MessageChannel, OffsetDateTime, Member) - Constructor for class net.dv8tion.jda.api.events.user.UserTypingEvent
- UserUpdateActivitiesEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the activities of a guild member changed.
- UserUpdateActivitiesEvent(JDA, long, Member, List<Activity>) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateActivitiesEvent
- UserUpdateActivityOrderEvent - Class in net.dv8tion.jda.api.events.user.update
- UserUpdateActivityOrderEvent(JDAImpl, long, List<Activity>, Member) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- UserUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the Avatar of a
User
changed. - UserUpdateAvatarEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- UserUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the discriminator of a
User
changed. - UserUpdateDiscriminatorEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- UserUpdateFlagsEvent - Class in net.dv8tion.jda.api.events.user.update
- UserUpdateFlagsEvent(JDA, long, User, EnumSet<User.UserFlag>) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateFlagsEvent
- UserUpdateNameEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the username of a
User
changed. - UserUpdateNameEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- UserUpdateOnlineStatusEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the
OnlineStatus
of aUser
changed. - UserUpdateOnlineStatusEvent(JDA, long, Member, OnlineStatus) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- useSharding(int, int) - Method in class net.dv8tion.jda.api.JDABuilder
-
This will enable sharding mode for JDA.
V
- value() - Element in annotation type net.dv8tion.jda.annotations.DeprecatedSince
- value() - Element in annotation type net.dv8tion.jda.annotations.ReplaceWith
- VALUE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed field value can have
- VALUE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
The maximum length a select option value can have
- valueOf(String) - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ChannelField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.GatewayEncoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.interactions.InteractionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.MessageBuilder.Formatting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Permission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Region
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.AttachmentOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ChannelField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ChannelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.NSFWLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Invite.TargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Message.MessageFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageSticker.StickerFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.StageInstance.PrivacyLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ThreadChannel.AutoArchiveDuration
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.User.UserFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.GatewayEncoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.Command.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.context.ContextInteraction.ContextTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.OptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.commands.privileges.CommandPrivilege.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.buttons.ButtonStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.components.Component.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.interactions.InteractionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.MessageBuilder.Formatting
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Permission
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Region
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.GatewayIntent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.AttachmentOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Collection
of all values in this DataObject. - values() - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.TimeFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VanityInvite - Class in net.dv8tion.jda.api.entities
-
Meta data for the vanity invite of a guild
- VanityInvite(String, int) - Constructor for class net.dv8tion.jda.api.entities.VanityInvite
- VERIFICATION_ERROR - Enum constant in enum net.dv8tion.jda.api.requests.ErrorResponse
- VERIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the verification level field
- VERIFIED_BOT - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- VERIFIED_DEVELOPER - Enum constant in enum net.dv8tion.jda.api.entities.User.UserFlag
- VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_CLASSIFIER - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MAJOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MINOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_REVISION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERY_HIGH - Enum constant in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
- VIDEO - Enum constant in enum net.dv8tion.jda.api.entities.EmbedType
- VideoInfo(String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
- VIEW_AUDIT_LOGS - Enum constant in enum net.dv8tion.jda.api.Permission
- VIEW_CHANNEL - Enum constant in enum net.dv8tion.jda.api.Permission
- VIEW_GUILD_INSIGHTS - Enum constant in enum net.dv8tion.jda.api.Permission
- VIP_AMSTERDAM - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_BRAZIL - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_EU_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_EU_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_FRANKFURT - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_JAPAN - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_LONDON - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SINGAPORE - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SOUTH_AFRICA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SOUTH_KOREA - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_SYDNEY - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_CENTRAL - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_EAST - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_SOUTH - Enum constant in enum net.dv8tion.jda.api.Region
- VIP_US_WEST - Enum constant in enum net.dv8tion.jda.api.Region
- VOICE - Enum constant in enum net.dv8tion.jda.api.audio.SpeakingMode
- VOICE - Enum constant in enum net.dv8tion.jda.api.entities.ChannelType
-
A
VoiceChannel
, Guild-Only. - VOICE - Static variable in interface net.dv8tion.jda.api.utils.MemberCachePolicy
-
Cache members who are connected to a voice channel.
- VOICE_CHANNEL_REGIONS - Static variable in enum net.dv8tion.jda.api.Region
-
This
Set
represents all regions that can be used for VoiceChannel region overrides. - VOICE_CONNECT - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_DEAF_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_MOVE_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_MUTE_OTHERS - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_SPEAK - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_START_ACTIVITIES - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_STATE - Enum constant in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getVoiceState()
This will always be cached for self member. - VOICE_STREAM - Enum constant in enum net.dv8tion.jda.api.Permission
- VOICE_USE_VAD - Enum constant in enum net.dv8tion.jda.api.Permission
- VoiceChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Voice GuildChannel.
- VoiceChannelManager - Interface in net.dv8tion.jda.api.managers.channel.concrete
- VoiceDispatchInterceptor - Interface in net.dv8tion.jda.api.hooks
-
Interceptor used to handle critical voice dispatches.
- VoiceDispatchInterceptor.VoiceServerUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice Server Update
- VoiceDispatchInterceptor.VoiceStateUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice State Update
- VoiceDispatchInterceptor.VoiceUpdate - Interface in net.dv8tion.jda.api.hooks
-
Abstraction for all relevant voice updates
- VoiceServerUpdate(Guild, String, String, String, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- VoiceStateUpdate(AudioChannel, GuildVoiceState, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
W
- WAITING_TO_RECONNECT - Enum constant in enum net.dv8tion.jda.api.JDA.Status
-
When trying to reconnect to Discord JDA encountered an issue, most likely related to a lack of internet connection, and is waiting to try reconnecting again.
- wasHoisted() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
-
Whether the role was hoisted
- wasMentionable() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
-
Whether the role was mentionable
- wasMfaEnabled() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
-
Whether MFA was previously enabled or not
- wasVerified() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
-
Whether the account was verified
- watching(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- WATCHING - Enum constant in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asWatching...
in the official client. - WEB - Enum constant in enum net.dv8tion.jda.api.entities.ClientType
-
Discord from the browser (or bot)
- Webhook - Interface in net.dv8tion.jda.api.entities
-
An object representing Webhooks in Discord
- WEBHOOK - Enum constant in enum net.dv8tion.jda.api.audit.TargetType
- WEBHOOK_CHANNEL - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
- WEBHOOK_CREATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Webhook
. - WEBHOOK_ICON - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getDefaultUser()
's avatar hash of a Webhook. - WEBHOOK_NAME - Enum constant in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getName()
value. - WEBHOOK_REMOVE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Webhook
. - WEBHOOK_UPDATE - Enum constant in enum net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Webhook
. - WEBHOOK_URL - Static variable in interface net.dv8tion.jda.api.entities.Webhook
-
Pattern for a Webhook URL.
- Webhook.ChannelReference - Class in net.dv8tion.jda.api.entities
-
Partial Channel which references the source channel for a follower webhook.
- Webhook.GuildReference - Class in net.dv8tion.jda.api.entities
-
Partial Guild which references the source guild for a follower webhook.
- Webhook.WebhookReference - Class in net.dv8tion.jda.api.entities
- WebhookAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Webhook
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createWebhooks
. - WebhookClient<T> - Interface in net.dv8tion.jda.api.entities
-
Interface which allows sending messages through the webhooks API.
- WebhookManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Webhook
. - WebhookMessageAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of a default
RestAction
that allows setting message information before sending! - WebhookMessageUpdateAction<T> - Interface in net.dv8tion.jda.api.requests.restaction
- WebhookReference(JDA, long, long) - Constructor for class net.dv8tion.jda.api.entities.Webhook.WebhookReference
- WebhookType - Enum in net.dv8tion.jda.api.entities
- WEBP - Enum constant in enum net.dv8tion.jda.api.entities.Icon.IconType
-
WEBP
- WIDGET_HTML - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_PNG - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_URL - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WidgetUtil - Class in net.dv8tion.jda.api.utils
-
The WidgetUtil is a class for interacting with various facets of Discord's guild widgets
- WidgetUtil() - Constructor for class net.dv8tion.jda.api.utils.WidgetUtil
- WidgetUtil.BannerType - Enum in net.dv8tion.jda.api.utils
-
Represents the available banner types
Each of these has a different appearance: - WidgetUtil.Widget - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.Member - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.VoiceChannel - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.VoiceState - Class in net.dv8tion.jda.api.utils
- WidgetUtil.WidgetTheme - Enum in net.dv8tion.jda.api.utils
-
Represents the color scheme of the widget
These color themes match Discord's dark and light themes - withDefault(boolean) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed default.
- withDescription(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed description of this option.
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.ActionComponent
-
Returns a copy of this component with
ActionComponent.isDisabled()
set to the provided value. - withDisabled(boolean) - Method in class net.dv8tion.jda.api.interactions.components.ActionRow
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.LayoutComponent
-
Returns a new instance of this LayoutComponent with all components set to disabled/enabled.
- withDisabled(boolean) - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectMenu
- withEmoji(Emoji) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the attached Emoji.
- withEmoji(Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed emoji.
- withId(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided id.
- withIgnored(int) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Specific regions to ignore.
- withLabel(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided label.
- withLabel(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed label.
- withStrategy(MarkdownSanitizer.SanitizationStrategy) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Switches the used
MarkdownSanitizer.SanitizationStrategy
. - withStyle(ButtonStyle) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided style.
- withUrl(String) - Method in interface net.dv8tion.jda.api.interactions.components.buttons.Button
-
Returns a copy of this button with the provided url.
- withValue(String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectOption
-
Returns a copy of this select option with the changed value.
Z
- ZERO_WIDTH_SPACE - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- zip(RestAction<? extends T>, RestAction<? extends T>...) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Accumulates this RestAction with the provided actions into a
List
. - ZLIB - Enum constant in enum net.dv8tion.jda.api.utils.Compression
-
Use ZLIB transport compression
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form