A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes All Packages

A

AbstractChannel - Interface in net.dv8tion.jda.api.entities
Abstract Channel interface for all ChannelTypes.
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 - 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 in AccountTypeException.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 - net.dv8tion.jda.api.interactions.components.Component.Type
A row of interactive components on a message
ACTION_ROW - net.dv8tion.jda.api.interactions.components.ComponentLayout.Type
 
ActionRow - Class in net.dv8tion.jda.api.interactions.components
One row of interactive message components.
ActionType - Enum in net.dv8tion.jda.api.audit
ActionTypes for AuditLogEntry instances
Found via AuditLogEntry.getType()
Activity - Interface in net.dv8tion.jda.api.entities
Represents a Discord Activity.
ACTIVITY - net.dv8tion.jda.api.utils.cache.CacheFlag
Enables cache for Member.getActivities()
Activity.ActivityType - Enum in net.dv8tion.jda.api.entities
The type game being played, differentiating between a game and stream types.
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 Component>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyAction
Add a single ActionRow to the message.
addActionRow(Collection<? extends Component>) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookMessageAction
Add one ActionRow for the message.
addActionRow(Component...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyAction
Add a single ActionRow to the message.
addActionRow(Component...) - 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.ReplyAction
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.ReplyAction
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, int) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
Add a predefined choice for this option.
addChoice(String, long) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
Add a predefined choice for this option.
addChoice(String, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
Add a predefined choice for this option.
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(Command.Choice...) - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
Adds up to 25 predefined choices for this option.
addCommands(Collection<? extends CommandData>) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
Adds up to 100 commands.
addCommands(CommandData...) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandListUpdateAction
Adds up to 100 commands.
addEmbeds(Collection<? extends MessageEmbed>) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.ReplyAction
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.ReplyAction
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.ReplyAction
Adds the provided byte[] as file data.
addFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.UpdateInteractionAction
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.ReplyAction
Adds the provided File.
addFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.UpdateInteractionAction
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.ReplyAction
Adds the provided File.
addFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.UpdateInteractionAction
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.ReplyAction
Adds the provided InputStream as file data.
addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.interactions.UpdateInteractionAction
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.SelectionMenu.Builder
Adds up to 25 possible options to this selection menu.
addOption(String, String, String) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
Adds up to 25 possible options to this selection menu.
addOption(String, String, String, Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
Adds up to 25 possible options to this selection menu.
addOption(String, String, Emoji) - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
Adds up to 25 possible options to this selection menu.
addOption(OptionType, String, String) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
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
Add one option to this command.
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 class net.dv8tion.jda.api.interactions.commands.build.CommandData
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
Add one option to this command.
addOption(OptionType, String, String, boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandEditAction
Adds an option to this command.
addOptions(Collection<? extends OptionData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
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
Add up to 25 options to this command.
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.SelectionMenu.Builder
Adds up to 25 possible options to this selection menu.
addOptions(OptionData...) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
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
Add up to 25 options to this command.
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.SelectionMenu.Builder
Adds up to 25 possible options to this selection 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 provided RoleData!
Use GuildAction.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 provided RoleData!
Use GuildAction.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
Atomically assigns the provided Role to the specified Member.
addSubcommandGroups(Collection<? extends SubcommandGroupData>) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
Add up to 25 Subcommand-Groups to this command.
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.requests.restaction.CommandCreateAction
Add up to 25 Subcommand-Groups to this command.
addSubcommandGroups(SubcommandGroupData...) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
Add up to 25 Subcommand-Groups to this command.
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 class net.dv8tion.jda.api.interactions.commands.build.CommandData
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.CommandEditAction
Add up to 25 Subcommands to this command.
addSubcommands(SubcommandData) - Method in interface net.dv8tion.jda.api.requests.restaction.CommandCreateAction
Add up to 25 Subcommands to this command.
addSubcommands(SubcommandData...) - Method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
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.CommandEditAction
Add up to 25 Subcommands to this command.
ADMINISTRATOR - 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 - 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 - 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 - 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 - net.dv8tion.jda.api.requests.CloseCode
 
ALREADY_CROSSPOSTED - net.dv8tion.jda.api.requests.ErrorResponse
 
ALREADY_HAS_TEMPLATE - net.dv8tion.jda.api.requests.ErrorResponse
 
AMSTERDAM - 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 for SubscribeEvent annotations on both static and member methods.
AnnotatedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.AnnotatedEventManager
 
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 - 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 - net.dv8tion.jda.api.entities.MessageType
This message was created by an interaction.
APPLICATION_ID - net.dv8tion.jda.api.audit.AuditLogKey
The id for an authorized application (webhook/bot/integration)
ApplicationCommandCreateEvent - Class in net.dv8tion.jda.api.events.application
Indicates that a Command was created.
ApplicationCommandCreateEvent(JDA, long, Command, Guild) - Constructor for class net.dv8tion.jda.api.events.application.ApplicationCommandCreateEvent
 
ApplicationCommandDeleteEvent - Class in net.dv8tion.jda.api.events.application
Indicates that a Command was deleted.
ApplicationCommandDeleteEvent(JDA, long, Command, Guild) - Constructor for class net.dv8tion.jda.api.events.application.ApplicationCommandDeleteEvent
 
ApplicationCommandUpdateEvent - Class in net.dv8tion.jda.api.events.application
Indicates that a Command was updated.
ApplicationCommandUpdateEvent(JDA, long, Command, Guild) - Constructor for class net.dv8tion.jda.api.events.application.ApplicationCommandUpdateEvent
 
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.
ARRAY - net.dv8tion.jda.api.utils.data.DataType
 
asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.Button
Returns a copy of this button with Button.isDisabled() set to true.
asDisabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenu
Creates a copy of this menu with SelectionMenu.isDisabled() set to true.
asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.Button
Returns a copy of this button with Button.isDisabled() set to false.
asEnabled() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenu
Creates a copy of this menu with SelectionMenu.isDisabled() set to false.
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
 
ASSET_URL - Static variable in class net.dv8tion.jda.api.entities.MessageSticker
Deprecated.
atInstant(Instant) - Method in enum net.dv8tion.jda.api.utils.TimeFormat
Converts the provided Instant into a Timestamp with this style.
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, 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 - 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 - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
Indicates that the audio connection was closed due to the Region of the audio connection being changed.
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 the old- and new 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 - 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
 
AUTOMATIC - 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 - 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 - net.dv8tion.jda.api.audit.ActionType
An Administrator has banned a user.
BAN_MEMBERS - 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().
BANNER1 - net.dv8tion.jda.api.utils.WidgetUtil.BannerType
 
BANNER2 - net.dv8tion.jda.api.utils.WidgetUtil.BannerType
 
BANNER3 - net.dv8tion.jda.api.utils.WidgetUtil.BannerType
 
BANNER4 - net.dv8tion.jda.api.utils.WidgetUtil.BannerType
 
BaseCommand<T extends BaseCommand<T>> - Class in net.dv8tion.jda.api.interactions.commands.build
 
BaseCommand(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.BaseCommand
 
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).
BINARY - Static variable in class net.dv8tion.jda.api.utils.data.etf.ExTermTag
 
BITRATE - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
Used to reset the bitrate field
BLOCK - 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 - net.dv8tion.jda.api.MessageBuilder.Formatting
 
BOLD - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
Bold region such as "**Hello**"
BOOLEAN - net.dv8tion.jda.api.interactions.commands.OptionType
 
BOOLEAN - net.dv8tion.jda.api.utils.data.DataType
 
BOT - net.dv8tion.jda.api.AccountType
An OAuth2 Bot which was created by an application
BOT_ADD - net.dv8tion.jda.api.audit.ActionType
An Administrator has added a bot to the server.
BOTS_NOT_ALLOWED - net.dv8tion.jda.api.requests.ErrorResponse
 
BRAZIL - net.dv8tion.jda.api.Region
 
BUG_HUNTER_LEVEL_1 - net.dv8tion.jda.api.entities.User.UserFlag
 
BUG_HUNTER_LEVEL_2 - 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.SelectionMenu.Builder
Creates a new SelectionMenu 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
Creates a Queue of Message objects from this MessageBuilder.
Button - Interface in net.dv8tion.jda.api.interactions.components
Represents a Message Button.
BUTTON - net.dv8tion.jda.api.interactions.components.Component.Type
A button
ButtonClickEvent - Class in net.dv8tion.jda.api.events.interaction
Indicates that a custom Button on one of the bots messages was clicked by a user.
ButtonClickEvent(JDA, long, ButtonInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.ButtonClickEvent
 
ButtonInteraction - Interface in net.dv8tion.jda.api.interactions.components
Interaction on a Button component.
ButtonStyle - Enum in net.dv8tion.jda.api.interactions.components
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 - 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.StageInstance
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 as canInteract(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_MESSAGE_VC - net.dv8tion.jda.api.requests.ErrorResponse
 
CANNOT_SEND_TO_USER - 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(GuildChannel) - 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(GuildChannel, GuildChannel) - 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.TextChannel
Whether we can send messages in this channel.
canTalk(Member) - Method in interface net.dv8tion.jda.api.entities.TextChannel
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 - net.dv8tion.jda.api.entities.ChannelType
A Category, Guild-Only.
CategoryCreateEvent - Class in net.dv8tion.jda.api.events.channel.category
Indicates that a Category was created.
CategoryCreateEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.api.events.channel.category.CategoryCreateEvent
 
CategoryDeleteEvent - Class in net.dv8tion.jda.api.events.channel.category
Indicates that a Category was deleted.
CategoryDeleteEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.api.events.channel.category.CategoryDeleteEvent
 
CategoryOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
An extension of ChannelOrderAction with similar functionality, but constrained to the bounds of a single Category.
CategoryUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.category.update
Indicates that the name of a Category was updated.
CategoryUpdateNameEvent(JDA, long, Category, String) - Constructor for class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdateNameEvent
 
CategoryUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.channel.category.update
Deprecated.
This event is no longer feasible due to members not being cached by default. We replaced this event with GenericPermissionOverrideEvent and derivatives.
CategoryUpdatePermissionsEvent(JDA, long, Category, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
Deprecated.
 
CategoryUpdatePositionEvent - Class in net.dv8tion.jda.api.events.channel.category.update
Indicates that the position of a Category was updated.
CategoryUpdatePositionEvent(JDA, long, Category, int) - Constructor for class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePositionEvent
 
CERTIFIED_MODERATOR - net.dv8tion.jda.api.entities.User.UserFlag
 
CHANNEL - net.dv8tion.jda.api.audit.AuditLogOption
CHANNEL - net.dv8tion.jda.api.audit.TargetType
 
CHANNEL - 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 - net.dv8tion.jda.api.interactions.commands.OptionType
 
CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
Used to reset the channel field
CHANNEL_BITRATE - net.dv8tion.jda.api.audit.AuditLogKey
Change of the VoiceChannel.getBitrate() value.
CHANNEL_CREATE - net.dv8tion.jda.api.audit.ActionType
An Administrator created a GuildChannel
CHANNEL_DELETE - net.dv8tion.jda.api.audit.ActionType
An Administrator deleted a GuildChannel.
CHANNEL_FOLLOW_ADD - net.dv8tion.jda.api.entities.MessageType
Specialized message used to announce when a crosspost webhook is added to a channel
CHANNEL_ICON_CHANGE - 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 - net.dv8tion.jda.api.requests.restaction.interactions.InteractionCallbackAction.ResponseType
Immediately respond to an interaction with a message
CHANNEL_NAME - net.dv8tion.jda.api.audit.AuditLogKey
Change of the GuildChannel.getName() value.
CHANNEL_NAME_CHANGE - 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 - net.dv8tion.jda.api.audit.AuditLogKey
Change of the TextChannel.isNSFW() value.
CHANNEL_OVERRIDE_CREATE - net.dv8tion.jda.api.audit.ActionType
An Administrator created a PermissionOverride.
CHANNEL_OVERRIDE_DELETE - net.dv8tion.jda.api.audit.ActionType
An Administrator deleted a PermissionOverride.
CHANNEL_OVERRIDE_UPDATE - net.dv8tion.jda.api.audit.ActionType
An Administrator updated PermissionOverride information.
CHANNEL_OVERRIDES - net.dv8tion.jda.api.audit.AuditLogKey
The overrides for this channel.
CHANNEL_PARENT - net.dv8tion.jda.api.audit.AuditLogKey
Change of the GuildChannel.getParent() value.
CHANNEL_PINNED_ADD - net.dv8tion.jda.api.entities.MessageType
Specialized message used in MessageChannels as a System-Message to announce new pins
CHANNEL_REGION - net.dv8tion.jda.api.audit.AuditLogKey
Change of the Region value.
CHANNEL_SLOWMODE - net.dv8tion.jda.api.audit.AuditLogKey
Change of the TextChannel.getSlowmode() value.
CHANNEL_TOPIC - net.dv8tion.jda.api.audit.AuditLogKey
Change of the TextChannel.getTopic() value.
CHANNEL_TYPE - net.dv8tion.jda.api.audit.AuditLogKey
The integer type of this channel.
CHANNEL_UPDATE - net.dv8tion.jda.api.audit.ActionType
An Administrator updated GuildChannel information.
CHANNEL_USER_LIMIT - net.dv8tion.jda.api.audit.AuditLogKey
Change of the VoiceChannel.getUserLimit() value.
ChannelAction<T extends GuildChannel> - Interface in net.dv8tion.jda.api.requests.restaction
Extension of RestAction specifically designed to create a GuildChannel.
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 a Guild!
ChannelManager - Interface in net.dv8tion.jda.api.managers
Manager providing functionality to update one or more fields for a GuildChannel.
ChannelOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
Implementation of OrderAction to modify the order of Channels for a Guild.
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.
check(AccountType, AccountType) - Static method in exception net.dv8tion.jda.api.exceptions.AccountTypeException
 
checkVerification() - Method in interface net.dv8tion.jda.api.entities.Guild
Deprecated.
Bots don't need to check this and client accounts are not supported
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 selected PermissionOverride.
clear(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
Clears the provided Permissions bits from the PermissionOverride.
clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
Clears the provided Permissions bits from the selected PermissionOverride.
clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
Clears the provided Permissions bits from the PermissionOverride.
clear(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
Clears the provided Permissions bits from the selected PermissionOverride.
clear(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
Clears the provided Permissions bits from the PermissionOverride.
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 the addField methods.
clearFiles() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
Clears all previously added files
And closes FileInputStreams generated by MessageAction.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
The MessageAction.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
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.ChannelManager
clearOverridesRemoved() - Method in interface net.dv8tion.jda.api.managers.ChannelManager
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.TextChannel
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.TextChannel
Removes all reactions for the specified emoji.
clearReactionsById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.TextChannel
Removes all reactions for the specified emoji.
clearReactionsById(String) - Method in interface net.dv8tion.jda.api.entities.TextChannel
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.TextChannel
Removes all reactions for the specified emoji.
clearReactionsById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.TextChannel
Removes all reactions for the specified emoji.
CLIENT_STATUS - net.dv8tion.jda.api.utils.cache.CacheFlag
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 interface net.dv8tion.jda.api.entities.PrivateChannel
Closes a PrivateChannel.
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 the VoiceChannel.
CloseCode - Enum in net.dv8tion.jda.api.requests
Constants representing main gateway close codes with association to an explaining message.
CLOUD_FLARE_LOAD - 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 - Class in net.dv8tion.jda.api.interactions.commands
Represents a Discord slash-command.
Command(JDAImpl, Guild, DataObject) - Constructor for class net.dv8tion.jda.api.interactions.commands.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.
CommandCreateAction - Interface in net.dv8tion.jda.api.requests.restaction
Specialized RestAction used to create or update commands.
CommandData - Class in net.dv8tion.jda.api.interactions.commands.build
Builder for a Slash-Command.
CommandData(String, String) - Constructor for class net.dv8tion.jda.api.interactions.commands.build.CommandData
Create an command builder.
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 a Slash-Command.
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.
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 - net.dv8tion.jda.api.entities.Activity.ActivityType
Used to indicate that the Activity should display as Competing 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 - 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 Component.
ComponentLayout - Interface in net.dv8tion.jda.api.interactions.components
Represents a top-level layout used for Components such as Buttons.
ComponentLayout.Type - Enum in net.dv8tion.jda.api.interactions.components
The layout types
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(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
Requests a voice server endpoint for connecting to the voice gateway.
CONNECTED - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
The audio connection has been successfully setup and is ready for use.
CONNECTED - net.dv8tion.jda.api.JDA.Status
JDA has finished loading everything, is receiving information from Discord and is firing events.
CONNECTING_ATTEMPTING_UDP_DISCOVERY - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
JDA successfully authenticated the audio websocket and it now attempting UDP discovery.
CONNECTING_AWAITING_AUTHENTICATION - 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 - 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 - 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 - 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 - 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!
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
 
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 - net.dv8tion.jda.api.audit.AuditLogOption
create(String) - Static method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenu
Creates a new SelectionMenu.Builder for a selection 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 - 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.Category
 
createCopy() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
Creates a copy of the specified GuildChannel.
createCopy() - Method in interface net.dv8tion.jda.api.entities.Role
Creates a new Role in this Guild with the same settings as the given Role.
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.SelectionMenu
Creates a new preconfigured SelectionMenu.Builder with the same settings used for this selection menu.
createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.Category
 
createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.GuildChannel
Creates a copy of the specified GuildChannel in the specified Guild.
createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.Role
Creates a new Role in the specified Guild with the same settings as the given Role.
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 this Guild.
createCopyOfRole(Role) - Method in interface net.dv8tion.jda.api.entities.Guild
Creates a new Role in this Guild with the same settings as the given Role.
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 returned GuildAction 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.GuildChannel
Creates a new InviteAction which can be used to create a new Invite.
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.
createPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.GuildChannel
Creates a PermissionOverride for the specified Member or Role in this GuildChannel.
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.
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.TextChannel
Creates a new Webhook.
crosspost() - Method in interface net.dv8tion.jda.api.entities.Message
Attempts to crosspost this message.
CROSSPOSTED - 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.TextChannel
Attempts to crosspost the provided message.
crosspostMessageById(String) - Method in interface net.dv8tion.jda.api.entities.TextChannel
Attempts to crosspost the provided message.
CUSTOM_STATUS - 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.Button
Creates a button with DANGER Style.
danger(String, Emoji) - Static method in interface net.dv8tion.jda.api.interactions.components.Button
Creates a button with DANGER Style.
DANGER - net.dv8tion.jda.api.interactions.components.ButtonStyle
Danger/Deny button style, usually in red.
DARK - 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 - net.dv8tion.jda.api.utils.TimeFormat
Formats date as 16 June 2021
DATE_SHORT - net.dv8tion.jda.api.utils.TimeFormat
Formats date as 16/06/2021 or 06/16/2021
DATE_TIME_LONG - net.dv8tion.jda.api.utils.TimeFormat
Formats date and time as Wednesday, 16 June 2021 18:49 or Wednesday, June 16, 2021 6:49 PM
DATE_TIME_SHORT - net.dv8tion.jda.api.utils.TimeFormat
Formats date and time as 16 June 2021 18:49 or June 16, 2021 6:49 PM
deadline() - Method 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.ReplyAction
 
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.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 - net.dv8tion.jda.api.requests.CloseCode
 
DEFAULT - net.dv8tion.jda.api.entities.Activity.ActivityType
The ActivityType used to represent a normal Activity status.
DEFAULT - net.dv8tion.jda.api.entities.Guild.NSFWLevel
Discord has not rated this guild.
DEFAULT - 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) or createDefault(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_AVATAR_URL - Static variable in interface net.dv8tion.jda.api.entities.User
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.GenericComponentInteractionCreateEvent
 
deferEdit() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
No-op acknowledgement of this interaction.
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE - 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 - 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.GenericInteractionCreateEvent
 
deferReply() - Method in interface net.dv8tion.jda.api.interactions.Interaction
Acknowledge this interaction and defer the reply to a later time.
deferReply(boolean) - Method in interface net.dv8tion.jda.api.interactions.Interaction
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.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
Deletes this GuildChannel.
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 class 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 - 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.TextChannel
Bulk deletes a list of messages.
deleteMessagesByIds(Collection<String>) - Method in interface net.dv8tion.jda.api.entities.TextChannel
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.TextChannel
Deletes a Webhook attached to this channel by the id 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 selected PermissionOverride.
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 selected PermissionOverride.
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 selected PermissionOverride.
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 - net.dv8tion.jda.api.entities.ClientType
The official discord desktop client
DIRECT_MESSAGE_REACTIONS - net.dv8tion.jda.api.requests.GatewayIntent
Message reaction events in private channels.
DIRECT_MESSAGE_TYPING - net.dv8tion.jda.api.requests.GatewayIntent
Typing events in private channels.
DIRECT_MESSAGES - 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 - 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 - net.dv8tion.jda.api.JDA.Status
JDA's main websocket has been disconnected.
DISCONNECTED_AUTHENTICATION_FAILURE - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
Indicates that our token was not valid.
DISCONNECTED_CHANNEL_DELETED - 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 - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
Indicates that we were kicked from a channel by a moderator
DISCONNECTED_LOST_PERMISSION - 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 - 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 - 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 - 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 - net.dv8tion.jda.api.entities.User.UserFlag
 
editButton(Button) - Method in interface net.dv8tion.jda.api.interactions.components.ButtonInteraction
Update the button with a new button instance.
editCommand() - Method in class 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 ComponentLayout>) - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
Acknowledgement of this interaction with a message update.
editComponents(ComponentLayout...) - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
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.components.ComponentInteraction
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.components.ComponentInteraction
Acknowledgement of this interaction with a message update.
editMessage(MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.Message
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(long, MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Deprecated.
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.
editMessageById(String, MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Deprecated.
editMessageComponents(Collection<? extends ComponentLayout>) - Method in interface net.dv8tion.jda.api.entities.Message
Edits this Message's content to the provided ComponentLayouts.
editMessageComponents(ComponentLayout...) - Method in interface net.dv8tion.jda.api.entities.Message
Edits this Message's content to the provided ComponentLayouts.
editMessageComponentsById(long, Collection<? extends ComponentLayout>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Attempts to edit a message by its id in this MessageChannel.
editMessageComponentsById(long, Collection<? extends ComponentLayout>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
Edit an existing message sent by this webhook.
editMessageComponentsById(long, ComponentLayout...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Attempts to edit a message by its id in this MessageChannel.
editMessageComponentsById(long, ComponentLayout...) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
Edit an existing message sent by this webhook.
editMessageComponentsById(String, Collection<? extends ComponentLayout>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Attempts to edit a message by its id in this MessageChannel.
editMessageComponentsById(String, Collection<? extends ComponentLayout>) - Method in interface net.dv8tion.jda.api.entities.WebhookClient
Edit an existing message sent by this webhook.
editMessageComponentsById(String, ComponentLayout...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
Attempts to edit a message by its id in this MessageChannel.
editMessageComponentsById(String, ComponentLayout...) - 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.components.ComponentInteraction
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.components.ComponentInteraction
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.components.ComponentInteraction
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 ComponentLayout>) - Method in interface net.dv8tion.jda.api.interactions.InteractionHook
Edit the source message sent by this interaction.
editOriginalComponents(ComponentLayout...) - 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.
editSelectionMenu(SelectionMenu) - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenuInteraction
Update the selection menu with a new selection menu instance.
embed(MessageEmbed) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
Deprecated.
This is deprecated in favor of MessageAction.setEmbeds(MessageEmbed...)
EMBED_DISABLED - 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 current AccountType 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 current AccountType 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 - net.dv8tion.jda.api.entities.Invite.TargetType
The invite points to an application in a voice channel.
EMBEDS_SUPPRESSED - 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 - net.dv8tion.jda.api.audit.TargetType
 
EMOTE - 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 - net.dv8tion.jda.api.utils.cache.CacheFlag
Enables cache for Guild.getEmoteCache()
EMOTE_CREATE - net.dv8tion.jda.api.audit.ActionType
An Administrator created an Emote.
EMOTE_DELETE - net.dv8tion.jda.api.audit.ActionType
An Administrator deleted an Emote.
EMOTE_NAME - net.dv8tion.jda.api.audit.AuditLogKey
Change of the Emote.getName() value.
EMOTE_ROLES_ADD - net.dv8tion.jda.api.audit.AuditLogKey
Roles added to Emote.getRoles() with this action
Containing a list of Role IDs
Use with Guild.getRoleById(String)
EMOTE_ROLES_REMOVE - net.dv8tion.jda.api.audit.AuditLogKey
Roles remove from Emote.getRoles() with this action
Containing a list of Role IDs
Use with Guild.getRoleById(String)
EMOTE_UPDATE - net.dv8tion.jda.api.audit.ActionType
An Administrator updated an Emote.
EmoteAddedEvent - Class in net.dv8tion.jda.api.events.emote
Indicates that a new Emote was added to a Guild.
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 - 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 - 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.templates.Template
 
equals(Object) - Method in class net.dv8tion.jda.api.entities.VanityInvite
 
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
 
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.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 - 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 - 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 - 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 - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
Indicates that the UDP setup failed.
ERROR_UNSUPPORTED_ENCRYPTION_MODES - 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 - 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 and ErrorResponses.
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 and ErrorHandler.
ErrorResponseException - Exception in net.dv8tion.jda.api.exceptions
Indicates an unhandled error that is returned by Discord API Request using RestAction
It holds an ErrorResponse
ErrorResponseException.ErrorCode - Class in net.dv8tion.jda.api.exceptions
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 - net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
Escape any format tokens that are not escaped or within a special region.
ETF - net.dv8tion.jda.api.GatewayEncoding
Erlang External Term Format (binary).
EU_CENTRAL - net.dv8tion.jda.api.Region
 
EU_WEST - net.dv8tion.jda.api.Region
 
EUROPE - 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 current JDA.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 - 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 - net.dv8tion.jda.api.entities.Guild.NSFWLevel
Is classified as a NSFW server
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 - 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.
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
 
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 - 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.TextChannel
Subscribes to the crossposted messages in this channel.
follow(String) - Method in interface net.dv8tion.jda.api.entities.TextChannel
Subscribes to the crossposted messages in this channel.
follow(TextChannel) - Method in interface net.dv8tion.jda.api.entities.TextChannel
Subscribes to the crossposted messages in this channel.
FOLLOWER - 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 from Iterable.forEach(Consumer) as it uses successive RestAction.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 from Iterable.forEach(Consumer) as it uses successive RestAction.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 from PaginationAction.forEachRemaining(Procedure) as it uses successive RestAction.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 from PaginationAction.forEachRemaining(Procedure) as it uses successive RestAction.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.IMentionable
 
formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
 
formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.api.entities.TextChannel
 
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 - 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
Creates an Icon with the specified File.
from(File, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
Creates an Icon with the specified File.
from(InputStream) - Static method in class net.dv8tion.jda.api.entities.Icon
Creates an Icon with the specified InputStream.
from(InputStream, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
Creates an Icon with the specified InputStream.
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 and CacheFlags.
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.
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 class 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 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.SelectionMenu
Inverse function for SerializableData.toData() which parses the serialized selection 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.
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(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.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.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.CommandData
Parses the provided serialization back into an CommandData instance.
fromList(DataArray) - Static method in class net.dv8tion.jda.api.interactions.commands.build.CommandData
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.
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.
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
 
GenericApplicationCommandEvent - Class in net.dv8tion.jda.api.events.application
Indicates that a Command event was fired.
GenericApplicationCommandEvent(JDA, long, Command, Guild) - Constructor for class net.dv8tion.jda.api.events.application.GenericApplicationCommandEvent
 
GenericCategoryEvent - Class in net.dv8tion.jda.api.events.channel.category
Indicates that a Category was created/deleted/updated.
GenericCategoryEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
 
GenericCategoryUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.category.update
Indicates that a Category was updated.
GenericCategoryUpdateEvent(JDA, long, Category, T, T, String) - Constructor for class net.dv8tion.jda.api.events.channel.category.update.GenericCategoryUpdateEvent
 
GenericComponentInteractionCreateEvent - Class in net.dv8tion.jda.api.events.interaction
Indicates that a ComponentInteraction was created in a channel.
GenericComponentInteractionCreateEvent(JDA, long, ComponentInteraction) - Constructor for class net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent
 
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
Indicates that an Invite was created or deleted in a Guild.
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
 
GenericGuildMessageEvent - Class in net.dv8tion.jda.api.events.message.guild
Indicates that a Message event is fired from a TextChannel.
GenericGuildMessageEvent(JDA, long, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent
 
GenericGuildMessageReactionEvent - Class in net.dv8tion.jda.api.events.message.guild.react
Indicates that a MessageReaction was added or removed in a TextChannel.
GenericGuildMessageReactionEvent(JDA, long, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
 
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, VoiceChannel, VoiceChannel) - 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 in a channel.
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 a GuildChannel was created, deleted, or updated.
GenericPermissionOverrideEvent(JDA, long, GuildChannel, PermissionOverride) - Constructor for class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
 
GenericPrivateMessageEvent - Class in net.dv8tion.jda.api.events.message.priv
Indicates that a Message event is fired from a PrivateChannel.
GenericPrivateMessageEvent(JDA, long, long, PrivateChannel) - Constructor for class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
 
GenericPrivateMessageReactionEvent - Class in net.dv8tion.jda.api.events.message.priv.react
Indicates that a MessageReaction was added or removed.
GenericPrivateMessageReactionEvent(JDA, long, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
 
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
 
GenericStoreChannelEvent - Class in net.dv8tion.jda.api.events.channel.store
Indicates that a StoreChannel event was fired.
GenericStoreChannelEvent(JDA, long, StoreChannel) - Constructor for class net.dv8tion.jda.api.events.channel.store.GenericStoreChannelEvent
 
GenericStoreChannelUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.store.update
Indicates that a StoreChannel was updated.
GenericStoreChannelUpdateEvent(JDA, long, StoreChannel, T, T, String) - Constructor for class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
 
GenericTextChannelEvent - Class in net.dv8tion.jda.api.events.channel.text
Indicates that a TextChannel event was fired.
GenericTextChannelEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
 
GenericTextChannelUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.text.update
Indicates that a TextChannel was updated.
GenericTextChannelUpdateEvent(JDA, long, TextChannel, T, T, String) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
 
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
 
GenericVoiceChannelEvent - Class in net.dv8tion.jda.api.events.channel.voice
Indicates that a VoiceChannel event was fired.
GenericVoiceChannelEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
 
GenericVoiceChannelUpdateEvent<T> - Class in net.dv8tion.jda.api.events.channel.voice.update
Indicates that a VoiceChannel updated.
GenericVoiceChannelUpdateEvent(JDA, long, VoiceChannel, T, T, String) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
 
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.
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.
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 which Members will be moved to after they have been inactive in a VoiceChannel for longer than Guild.getAfkTimeout().
getAfkChannel() - Method in class net.dv8tion.jda.api.entities.templates.TemplateGuild
Provides the TemplateChannel that has been set as the channel which Members will be moved to after they have been inactive in a VoiceChannel for longer than TemplateGuild.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 a VoiceChannel 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 or null if the TargeType is not Invite.TargetType.EMBEDDED_APPLICATION
getApplication() - Method in class net.dv8tion.jda.api.entities.MessageActivity
The Application this MessageActivity 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 class 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 class 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.
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 class net.dv8tion.jda.api.entities.Emoji
 
getAsMention() - Method in interface net.dv8tion.jda.api.entities.Emote
Usable representation of this Emote (used to display in the client just like mentions with a specific format)
Emotes are used with the format <:getName():getId()>
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 MessageChannel 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.
getAssetHash() - Method in class net.dv8tion.jda.api.entities.MessageSticker
Deprecated.
getAssetUrl() - Method in class net.dv8tion.jda.api.entities.MessageSticker
Deprecated.
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
getAsUser() - Method in class net.dv8tion.jda.api.interactions.commands.OptionMapping
The resolved User for this option value.
getAttachments() - Method in interface net.dv8tion.jda.api.entities.Message
An immutable list of Attachments that are attached to this message.
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 cached AudioManagers created for this JDA instance.
getAudioManagers() - Method in interface net.dv8tion.jda.api.JDA
Immutable list of all created AudioManagers for this JDA instance!
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.guild.GuildMessageReceivedEvent
The Author of the Message received as User object.
getAuthor() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageUpdateEvent
The author of this message
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.
getAuthor() - Method in class net.dv8tion.jda.api.events.message.priv.PrivateMessageReceivedEvent
The author for this message
getAuthor() - Method in class net.dv8tion.jda.api.events.message.priv.PrivateMessageUpdateEvent
The author of this message
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.
getBannerUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
The guild banner url.
getBitrate() - Method in class net.dv8tion.jda.api.entities.templates.TemplateChannel
The audio bitrate of the voice audio that is transmitted in this channel.
getBitrate() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
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.ButtonClickEvent
 
getButton() - Method in interface net.dv8tion.jda.api.interactions.components.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 class net.dv8tion.jda.api.interactions.components.ActionRow
Immutable list of buttons in this ActionRow.
getButtons() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentLayout
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 handle RestAction callbacks and completions.
getCategories() - Method in interface net.dv8tion.jda.api.entities.Guild
Gets all Categories in this Guild.
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.channel.category.GenericCategoryEvent
The responsible Category
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 cached Categories of this Guild.
getCategoryCache() - Method in interface net.dv8tion.jda.api.JDA
SnowflakeCacheView of all cached Categories visible to this JDA session.
getCategoryCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
SnowflakeCacheView of all cached Categories 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 getChanges().get(key) lookup!
This lookup is case-insensitive!
getChangeByKey(AuditLogKey) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
Shortcut to getChanges().get(key) lookup!
This lookup is case-insensitive!
getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
Deprecated.
Filtered list of affected Members
getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
Deprecated.
List of affected Members
getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
Deprecated.
List of affected Members
getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
Deprecated.
List of affected Members
getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
Deprecated.
List of all affected IPermissionHolders
getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
Deprecated.
The affected IPermissionHolders
getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
Deprecated.
The affected IPermissionHolders
getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
Deprecated.
The affected IPermissionHolders
getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
Deprecated.
Filtered list of affected Roles
getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
Deprecated.
List of affected Roles
getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
Deprecated.
List of affected Roles
getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
Deprecated.
List of affected Roles
getChanges() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
Key-Value Map containing all AuditLogChanges 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 VoiceChannel that the Member 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 TextChannel instance this Webhook is attached to.
getChannel() - Method in class net.dv8tion.jda.api.events.channel.priv.PrivateChannelCreateEvent
Deprecated.
getChannel() - Method in class net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
Deprecated.
getChannel() - Method in class net.dv8tion.jda.api.events.channel.store.GenericStoreChannelEvent
getChannel() - Method in class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
getChannel() - Method in class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
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.GenericComponentInteractionCreateEvent
 
getChannel() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
 
getChannel() - Method in class net.dv8tion.jda.api.events.interaction.SlashCommandEvent
 
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.guild.GenericGuildMessageEvent
The TextChannel for this message
getChannel() - Method in class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionRemoveEmoteEvent
The TextChannel where the reaction happened
getChannel() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
The TextChannel where the messages have been deleted
getChannel() - Method in class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
The PrivateChannel for the message
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.CommandInteraction
 
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.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's PermissionOverride is in.
getChannel() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
The TextChannel this Manager's Webhook 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.PermissionOverrideAction
The GuildChannel this will be created in
getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
The TextChannel 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 the channel 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 VoiceChannel 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 VoiceChannel that the Member is moved from
getChannels() - Method in interface net.dv8tion.jda.api.entities.Category
All Channels listed for this Category
This may contain VoiceChannels, StoreChannels, and TextChannels!
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
Gets all Channels in this Guild.
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.guild.invite.GenericGuildInviteEvent
The ChannelType for of the channel this invite points to.
getChannelType() - Method in class net.dv8tion.jda.api.events.guild.override.GenericPermissionOverrideEvent
The ChannelType of the GuildChannel 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 the channel 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
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 to Role.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 to Role.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 to Role.DEFAULT_COLOR_RAW if this role has no set color
getCommand() - Method in class net.dv8tion.jda.api.events.application.GenericApplicationCommandEvent
The affected command and its new data.
getCommandId() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteraction
The command id
getCommandIdLong() - Method in class net.dv8tion.jda.api.events.interaction.SlashCommandEvent
 
getCommandIdLong() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteraction
The command id
getCommandPath() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteraction
getCommandString() - Method in class net.dv8tion.jda.api.events.interaction.SlashCommandEvent
 
getCommandString() - Method in interface net.dv8tion.jda.api.interactions.commands.CommandInteraction
Gets the slash command String for this slash command.
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.ButtonClickEvent
 
getComponent() - Method in class net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent
 
getComponent() - Method in class net.dv8tion.jda.api.events.interaction.SelectionMenuEvent
 
getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.ButtonInteraction
 
getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
The Component instance.
getComponent() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenuInteraction
 
getComponentId() - Method in class net.dv8tion.jda.api.events.interaction.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.ComponentLayout
List representation of this component layout.
getComponentType() - Method in class net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent
 
getComponentType() - Method in interface net.dv8tion.jda.api.interactions.components.ComponentInteraction
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 VoiceChannel that JDA currently has an audio connection to.
getConnectionListener() - Method in interface net.dv8tion.jda.api.managers.AudioManager
The currently set ConnectionListener or null if no ConnectionListener has been set.
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 a final 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.
getCreationTime() - Method in interface net.dv8tion.jda.api.entities.Invite
Deprecated.
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 a Guild.
getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Member
The default TextChannel for a Member.
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 by MessageAction.setDefaultMentions(Collection).
getDefaultMentions() - Static method in interface net.dv8tion.jda.api.utils.AllowedMentions
Returns the default MentionTypes previously set by AllowedMentions.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) or RestAction.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.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.BaseCommand
The configured description
getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.OptionData
The description for this option
getDescription() - Method in class net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData
The description for this subcommand group
getDescription() - Method in class 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 the User.
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 interface net.dv8tion.jda.api.interactions.components.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 selection 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 cached Emotes of this Guild.
getEmoteCache() - Method in interface net.dv8tion.jda.api.JDA
Unified SnowflakeCacheView of all cached Emotes visible to this JDA session.
getEmoteCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
Unified SnowflakeCacheView of all cached Emotes visible to this ShardManager instance.
getEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
Gets all custom Emotes belonging to this 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.category.update.GenericCategoryUpdateEvent
 
getEntity() - Method in class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
 
getEntity() - Method in class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
 
getEntity() - Method in class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
 
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.
getFields() - Method in class net.dv8tion.jda.api.EmbedBuilder
Modifiable list of MessageEmbed Fields that the builder will use for EmbedBuilder.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.User
Returns the bitmask representation of the UserFlags of this user.
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(JDA) - Method in interface net.dv8tion.jda.api.utils.SessionController
Called by a JDA session when a new gateway session starts (Connecting, Reconnecting).
getGateway(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
 
getGatewayBot(JDA) - Method in interface net.dv8tion.jda.api.utils.SessionController
Deprecated.
Use SessionController.getShardedGateway(JDA) instead, an implementation for this is ignored if SessionController.getShardedGateway(JDA) is implemented instead.
getGatewayBot(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
 
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
Returns the current Guild of the Member's VoiceChannel.
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, this might return null when this Reaction was not used in a MessageChannel from the ChannelType TEXT!
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
The Guild that the GuildChannel returned from PermissionOverride.getChannel() is a part of.
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.Webhook
The Guild instance for this Webhook.
getGuild() - Method in class net.dv8tion.jda.api.events.application.GenericApplicationCommandEvent
The relevant guild for this command, unless its global.
getGuild() - Method in class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
The Guild the responsible Category is part of.
getGuild() - Method in class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
The Guild
Shortcut for getChannel().getGuild()
getGuild() - Method in class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
The Guild
Shortcut for getChannel().getGuild()
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 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, or null 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.ChannelManager
The Guild this Manager's GuildChannel is in.
getGuild() - Method in interface net.dv8tion.jda.api.managers.EmoteManager
The Guild this Manager's Emote is in.
getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildManager
The Guild object of this Manager.
getGuild() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
The Guild this Manager's GuildChannel is in.
getGuild() - Method in interface net.dv8tion.jda.api.managers.RoleManager
The Guild this Manager's Role is in.
getGuild() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
The Guild this Manager's Webhook is in.
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 from OrderAction.getCurrentOrder()
getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.RoleOrderAction
The Guild which holds the roles from OrderAction.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.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.WebhookAction
The Guild to create this webhook in
getGuild(JDA) - Method in exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
The Guild instance for the guild id.
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 cached Guilds visible to this JDA session.
getGuildCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
SnowflakeCacheView of all cached Guilds visible to this ShardManager instance.
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
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
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.GenericInteractionCreateEvent
 
getHook() - Method in interface net.dv8tion.jda.api.interactions.Interaction
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 from RestActions.
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.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.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 class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
The snowflake ID for the responsible Category
getId() - Method in interface net.dv8tion.jda.api.interactions.components.Component
The component ID or null.
getId() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
The custom id used to identify the selection 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.channel.category.GenericCategoryEvent
The snowflake ID for the responsible Category
getIdLong() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
 
getIdLong() - Method in class net.dv8tion.jda.api.interactions.commands.Command
 
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.ButtonClickEvent
 
getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent
 
getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
The Interaction instance.
getInteraction() - Method in class net.dv8tion.jda.api.events.interaction.SelectionMenuEvent
 
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 to iterate over recent Messages 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.AbstractChannel
Returns the JDA instance of this channel
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.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.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 class 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
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.ButtonStyle
The raw style integer key
getKey() - Method in enum net.dv8tion.jda.api.interactions.components.ComponentLayout.Type
The raw type value
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.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.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.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.StageInstance
The StageInstanceManager used to update this stage instance.
getManager() - Method in class net.dv8tion.jda.api.entities.templates.Template
Returns the TemplateManager for this Template.
getManager() - Method in interface net.dv8tion.jda.api.entities.Webhook
The WebhookManager for this Webhook.
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 to PaginationAction.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 interface net.dv8tion.jda.api.interactions.components.Component
How many of these components can be added to one ActionRow.
getMaxPerRow() - Method in enum net.dv8tion.jda.api.interactions.components.Component.Type
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.
getMaxValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
The maximum amount of values a user can select at once.
getMaxValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenu
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
If this PermissionOverride is an override dealing with a Member, then this method will return the related Member if the member is currently cached.
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.guild.GuildMessageReceivedEvent
The Author of the Message received as Member object.
getMember() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageUpdateEvent
The Member instance of the author
getMember() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
The Member instance for the reacting user
This might be missing if the user was not previously cached or the member was removed.
getMember() - Method in class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionAddEvent
The Member instance for the reacting user
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 or null if the reaction was from a user not in this guild.
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
Gets the Guild specific Member object for the provided User.
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 cached Members 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.
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.GuildChannel
Gets all of the Member PermissionOverrides that are part of this GuildChannel.
getMembers() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
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.GuildChannel
A List of all Members that are in this GuildChannel
For TextChannels, this returns all Members with the Permission.MESSAGE_READ 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
Gets a list of Members that have all provided Roles.
getMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
Gets a list of Members that have all Roles provided.
getMentionedChannels() - Method in interface net.dv8tion.jda.api.entities.Message
A immutable list of all mentioned TextChannels.
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 of Message.getMentionedUsers() in the Guild this Message was sent in.
getMentionedMembers(Guild) - Method in interface net.dv8tion.jda.api.entities.Message
Creates an immutable list of Members representing the users of Message.getMentionedUsers() in the specified Guild.
getMentionedRoles() - Method in interface net.dv8tion.jda.api.entities.Message
A immutable list of all mentioned Roles.
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.
getMentionedUsersBag() - Method in interface net.dv8tion.jda.api.entities.Message
A Bag of mentioned users.
getMentions(Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Message
Combines all instances of IMentionable filtered by the specified MentionType 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.GenericComponentInteractionCreateEvent
 
getMessage() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent
The received Message object.
getMessage() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageUpdateEvent
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.events.message.priv.PrivateMessageReceivedEvent
getMessage() - Method in class net.dv8tion.jda.api.events.message.priv.PrivateMessageUpdateEvent
The Message that was updated
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.
getMessageEmbeds() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageEmbedEvent
getMessageEmbeds() - Method in class net.dv8tion.jda.api.events.message.MessageEmbedEvent
The list of MessageEmbeds
getMessageEmbeds() - Method in class net.dv8tion.jda.api.events.message.priv.PrivateMessageEmbedEvent
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 class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent
The message id
getMessageId() - Method in class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionRemoveEmoteEvent
The id of the affected message
getMessageId() - Method in class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
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.GenericComponentInteractionCreateEvent
 
getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
The id for this message
getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent
The message id
getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionRemoveEmoteEvent
The id of the affected message
getMessageIdLong() - Method in class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
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 to PaginationAction.limit(int) must not be less than the returned value.
getMinValues() - Method in class net.dv8tion.jda.api.interactions.components.selections.SelectionMenu.Builder
The minimum amount of values a user has to select.
getMinValues() - Method in interface net.dv8tion.jda.api.interactions.components.selections.SelectionMenu
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
Finds and collects all Guild instances that contain this User within the current JDA instance.
getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.JDA
Gets all Guilds that contain all given users as their members.
getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
Gets all Guilds that contain all given users as their members.
getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.JDA
Gets all Guilds that contain all given users as their members.
getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
Gets all Guilds that contain all given users as their members.
getName() - Method in interface net.dv8tion.jda.api.entities.AbstractChannel
The human readable name of this channel.
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 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.SlashCommandEvent
 
getName() - Method in class net.dv8tion.jda.api.interactions.commands.build.BaseCommand
The configured 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.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 class 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.CommandInteraction
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
getNewBannerIdUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
Deprecated.
getNewBannerUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
The new banner url
getNewBitrate() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
The new bitrate
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
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
Gets the new UserFlags of the User as EnumSet.
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.
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 the Guild 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.channel.category.update.CategoryUpdateNameEvent
The new name for this Category
getNewName() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
The new name
getNewName() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
The new name
getNewName() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateNameEvent
The new name
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
getNewNSFW() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNSFWEvent
Whether the channel was marked NSFW before
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
getNewParent() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateParentEvent
The new parent Category
getNewParent() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateParentEvent
The new parent Category
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.channel.category.update.CategoryUpdatePositionEvent
The new position of this Category
getNewPosition() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePositionEvent
The new position
getNewPosition() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePositionEvent
The new position
getNewPosition() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePositionEvent
The new position
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
getNewRegion() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateRegionEvent
The new Region
getNewRegion() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
Deprecated.
The new Region of the Guild.
getNewRegionRaw() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateRegionEvent
The new raw region String
getNewRegionRaw() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
Deprecated.
The raw voice region name that was updated to in the Guild.
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.
getNewSlowmode() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateSlowmodeEvent
The new slowmode.
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
getNewTopic() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateTopicEvent
The new topic
getNewUserLimit() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
The new userlimit
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.category.update.CategoryUpdateNameEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.category.update.GenericCategoryUpdateEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNewsEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
 
getNewValue() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateNameEvent
 
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.GuildUpdateRegionEvent
Deprecated.
 
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
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 means getRawValue() == 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
getOldBitrate() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
The old bitrate
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
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
Gets the old UserFlags of the User as EnumSet.
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.
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 the Guild 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.channel.category.update.CategoryUpdateNameEvent
The previous name for this Category
getOldName() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
The old name
getOldName() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
The old name
getOldName() - Method in class net.dv8tion.jda.api.events.channel.voice.update.