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
All Classes All Packages
All Classes All Packages
A
- 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 inAccountTypeException.getRequiredType()
- AccountTypeException(AccountType) - Constructor for exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- AccountTypeException(AccountType, String) - Constructor for exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- ActionType - Enum in net.dv8tion.jda.api.audit
- 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.
- 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. - 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.MessageAction
-
Adds the provided byte[] as file data.
- addFile(File, String, 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.MessageAction
-
Adds the provided
File
as file data. - addFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
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.
- addPermissionOverride(IPermissionHolder, long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new GuildChannel. - addPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new GuildChannel. - addPermissionOverride(GuildAction.RoleData, long, long) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Adds a
PermissionOverride
to this channel with the providedRoleData
!
UseGuildAction.newRole()
to retrieve an instance of RoleData. - addPermissionOverride(GuildAction.RoleData, Collection<Permission>, Collection<Permission>) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Adds a
PermissionOverride
to this channel with the providedRoleData
!
UseGuildAction.newRole()
to retrieve an instance of RoleData. - addPermissions(Collection<Permission>) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addPermissions(Permission...) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addReaction(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Adds a reaction to this Message using a unicode emoji.
- addReaction(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
-
Adds a reaction to this Message using an
Emote
. - addReactionById(long, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(String, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addReactionById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - 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
- 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
- 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 - net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- ALL - Static variable in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Chunk all guilds (default)
- 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_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. - ALLOWED - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset the granted field
- allShards(Collection<ShardCacheView>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allShards(Supplier<? extends Stream<? extends ShardCacheView>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allSnowflakes(Collection<? extends SnowflakeCacheView<E>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - allSnowflakes(Supplier<? extends Stream<? extends SnowflakeCacheView<E>>>) - Static method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - ALREADY_AUTHENTICATED - net.dv8tion.jda.api.requests.CloseCode
- AMSTERDAM - net.dv8tion.jda.api.Region
- AnnotatedEventManager - Class in net.dv8tion.jda.api.hooks
-
Implementation for
IEventManager
which checks forSubscribeEvent
annotations on both static and member methods. - AnnotatedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- ANYWHERE - Static variable in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Splits exactly after 2000 chars.
- 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 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_ID - net.dv8tion.jda.api.audit.AuditLogKey
-
The id for an authorized application (webhook/bot/integration)
- ApplicationInfo - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Application from its bot's point of view.
- ApplicationTeam - Interface in net.dv8tion.jda.api.entities
-
Meta-data for the team of an application.
- apply(Message) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Applies the sendable information of the provided
Message
to this MessageAction settings. - apply(T) - Method in interface net.dv8tion.jda.api.utils.IOFunction
- 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.
- ARRAY - net.dv8tion.jda.api.utils.data.DataType
- 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
- Attachment(long, String, String, String, int, int, int, 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.
- 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 theold-
andnew value
for the updated field. - AuditLogChange(Object, Object, String) - Constructor for class net.dv8tion.jda.api.audit.AuditLogChange
- AuditLogEntry - Class in net.dv8tion.jda.api.audit
-
Single entry for an
AuditLogPaginationAction
. - AuditLogEntry(ActionType, int, long, long, GuildImpl, UserImpl, WebhookImpl, String, Map<String, AuditLogChange>, Map<String, Object>) - Constructor for class net.dv8tion.jda.api.audit.AuditLogEntry
- AuditLogKey - Enum in net.dv8tion.jda.api.audit
-
Enum of possible/expected keys that can be provided to
AuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey
. - AuditLogOption - Enum in net.dv8tion.jda.api.audit
-
Enum constants for possible options
Providing detailed description of possible occasions and expected types. - AuditLogPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the audit logs endpoint. - AUTHENTICATION_FAILED - net.dv8tion.jda.api.requests.CloseCode
- AuthorInfo(String, String, String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
- 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.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
- 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.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
- 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.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. - buildAll(MessageBuilder.SplitPolicy...) - Method in class net.dv8tion.jda.api.MessageBuilder
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
- 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(boolean) - Method in class net.dv8tion.jda.api.requests.RestFuture
- cancel(boolean) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- canDecode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Whether
OpusPacket.decode()
is possible. - canInteract(Emote) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided
Emote
(use in a message) - canInteract(Member) - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether the specified Member can interact with this Emote
- canInteract(Member) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided Member (kick/ban/etc.)
- canInteract(Role) - Method in interface net.dv8tion.jda.api.entities.Member
-
Whether this Member can interact with the provided
Role
(kick/ban/move/modify/delete/etc.) - canInteract(Role) - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this Role can interact with the specified Role.
- canInteract(User, MessageChannel) - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether the specified User can interact with this Emote within the provided MessageChannel
Same logic ascanInteract(issuer, channel, true)
! - canInteract(User, MessageChannel, boolean) - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether the specified User can interact with this Emote within the provided MessageChannel
Special override to exclude elevated bot permissions in case of (for instance) reacting to messages. - CANNOT_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. - 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 singleCategory
. - 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
-
Indicates that the permissions of a
Category
were updated. - CategoryUpdatePermissionsEvent(JDA, long, Category, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
- 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
- CHANNEL - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withGuild.getTextChannelById(String)
or similar method forVoiceChannels
- 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 - 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_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_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 aGuildChannel
. - ChannelData(ChannelType, String) - Constructor for class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Constructs a data object containing information on a
GuildChannel
to be used in the construction of aGuild
! - 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
- 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
-
Checks if the current Verification-level of this guild allows JDA to send messages to it.
- ChunkingFilter - Interface in net.dv8tion.jda.api.utils
-
Filter function for member chunking of guilds.
- clear() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Resets this builder to default state.
- clear() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Clears the current builder.
- clear(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - clear(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Clears the provided
Permissions
bits from thePermissionOverride
. - clearFields() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Clears all fields from the embed, such as those created with the
EmbedBuilder(MessageEmbed)
constructor or via theaddField
methods. - clearFiles() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
And closesFileInputStreams
generated byMessageAction.addFile(File, String, net.dv8tion.jda.api.utils.AttachmentOption...)
. - clearFiles(BiConsumer<String, InputStream>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
- clearFiles(Consumer<InputStream>) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Clears all previously added files
TheMessageAction.clearFiles(BiConsumer)
version provides the resource name for more selective operations. - clearOverridesAdded() - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Clears the overrides added via
ChannelManager.putPermissionOverride(IPermissionHolder, Collection, Collection)
. - clearOverridesRemoved() - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Clears the overrides removed via
ChannelManager.removePermissionOverride(IPermissionHolder)
. - clearReactions() - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes all reactions from this Message.
- 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(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. - CLIENT - net.dv8tion.jda.api.AccountType
-
A User-Account which can be used via the official Discord Client
- CLIENT_STATUS - net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getOnlineStatus(ClientType)
- ClientType - Enum in net.dv8tion.jda.api.entities
-
The type of client a user might be active on.
- closable(String) - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Creates a new
ThreadLocalReason.Closable
instance. - Closable(String) - Constructor for class net.dv8tion.jda.api.audit.ThreadLocalReason.Closable
- ClosableIterator<T> - Interface in net.dv8tion.jda.api.utils
-
Iterator holding a resource that must be free'd by the consumer.
- close() - Method in class net.dv8tion.jda.api.audit.ThreadLocalReason.Closable
- close() - Method in 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 theVoiceChannel
. - 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
- compareTo(Delayed) - Method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
- compareTo(OpusPacket) - Method in class net.dv8tion.jda.api.audio.OpusPacket
- 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. - 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.
- 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
- COUNT - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible detail for
ActionType.MESSAGE_DELETE
describing the amount of deleted messages. - create(ErrorResponse, Response) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
- 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
- createCopy() - Method in interface net.dv8tion.jda.api.entities.TextChannel
- createCopy() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
- 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 specifiedGuild
. - createCopy(Guild) - Method in interface net.dv8tion.jda.api.entities.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 thisGuild
. - createCopyOfRole(Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- createEmote(String, Icon, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Creates a new
Emote
in this Guild. - createGuild(String) - Method in interface net.dv8tion.jda.api.JDA
-
Constructs a new
Guild
with the specified name
Use the returnedGuildAction
to provide further details and settings for the resulting Guild! - createInvite() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Creates a new
InviteAction
which can be used to create a newInvite
. - createPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.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. - 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. - 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. - createWebhook(String) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Creates a new
Webhook
. - 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
- 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. - 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. - 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.MessageType
-
The normal text messages received when a user or bot sends a Message.
- DEFAULT_AVATAR_URL - Static variable in interface net.dv8tion.jda.api.entities.User
-
Template for
User.getDefaultAvatarUrl()
- DEFAULT_COLOR_RAW - Static variable in interface net.dv8tion.jda.api.entities.Role
-
Used to keep consistency between color values used in the API
- DEFAULT_CONNECTION_TIMEOUT - Static variable in interface net.dv8tion.jda.api.managers.AudioManager
- DEFAULT_THREAD_FACTORY - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultSendFactory - Class in net.dv8tion.jda.api.audio.factory
-
The default implementation of the
IAudioSendFactory
. - DefaultSendFactory() - Constructor for class net.dv8tion.jda.api.audio.factory.DefaultSendFactory
- DefaultSendSystem - Class in net.dv8tion.jda.api.audio.factory
-
The default implementation of the
IAudioSendSystem
. - DefaultSendSystem(IPacketProvider) - Constructor for class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- DefaultShardManager - Class in net.dv8tion.jda.api.sharding
-
JDA's default
ShardManager
implementation. - DefaultShardManager(String) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManager(String, Collection<Integer>) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManager(String, Collection<Integer>, ShardingConfig, EventConfig, PresenceProviderConfig, ThreadingProviderConfig, ShardingSessionConfig, ShardingMetaConfig, ChunkingFilter) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManager
- DefaultShardManagerBuilder - Class in net.dv8tion.jda.api.sharding
-
Used to create new instances of JDA's default
ShardManager
implementation. - DefaultShardManagerBuilder() - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a completely empty DefaultShardManagerBuilder.
- DefaultShardManagerBuilder(String) - Constructor for class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Creates a DefaultShardManagerBuilder with the given token.
- 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.Webhook
-
Deletes this Webhook.
- 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. - 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(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. - 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.
- deleteWebhookById(String) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Deletes a
Webhook
attached to this channel by theid
specified. - DENIED - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset the denied field
- deny(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
bits from the selectedPermissionOverride
. - deny(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- deny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - deny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- deny(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - deny(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Denies the specified permissions.
- DeprecatedSince - Annotation Type in net.dv8tion.jda.annotations
-
In combination with
Deprecated
specifies when this feature was marked as deprecated. - DESCRIPTION - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the description field
- DESKTOP - net.dv8tion.jda.api.entities.ClientType
-
The official discord desktop client
- DirectAudioController - Interface in net.dv8tion.jda.api.managers
-
Direct access to internal gateway communication.
- 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_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
- editMessage(CharSequence) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided String.
- editMessage(Message) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided
Message
. - editMessage(MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided
MessageEmbed
. - 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, Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- 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, Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Edits this Message's content to the provided format.
- 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(String, String, Object...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- EMAIL - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the email field
- embed(MessageEmbed) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the
MessageEmbed
that should be used for this Message. - 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 currentAccountType
and applies to BOT - EMBED_MAX_LENGTH_CLIENT - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum amount of total visible characters an embed can have
This limit depends on the currentAccountType
and applies to CLIENT - EmbedBuilder - Class in net.dv8tion.jda.api
-
Builder system used to build
MessageEmbeds
. - EmbedBuilder() - Constructor for class net.dv8tion.jda.api.EmbedBuilder
-
Creates an EmbedBuilder to be used to creates an embed to send.
- EmbedBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.api.EmbedBuilder
- EmbedBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.api.EmbedBuilder
-
Creates an EmbedBuilder using fields in an existing embed.
- EmbedType - Enum in net.dv8tion.jda.api.entities
-
Represents the embedded resource type.
- 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 ofRole
IDs
Use withGuild.getRoleById(String)
- EMOTE_ROLES_REMOVE - net.dv8tion.jda.api.audit.AuditLogKey
-
Roles remove from
Emote.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOTE_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated an
Emote
. - EmoteAddedEvent - Class in net.dv8tion.jda.api.events.emote
- EmoteAddedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.api.events.emote.EmoteAddedEvent
- EmoteManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for an
Emote
. - EmoteRemovedEvent - Class in net.dv8tion.jda.api.events.emote
-
Indicates that an
Emote
was removed from a Guild. - EmoteRemovedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.api.events.emote.EmoteRemovedEvent
- EmoteUpdateNameEvent - Class in net.dv8tion.jda.api.events.emote.update
-
Indicates that the name of an
Emote
changed. - EmoteUpdateNameEvent(JDA, long, Emote, String) - Constructor for class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- EmoteUpdateRolesEvent - Class in net.dv8tion.jda.api.events.emote.update
-
Indicates that the role whitelist for an
Emote
changed. - EmoteUpdateRolesEvent(JDA, long, Emote, List<Role>) - Constructor for class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- empty() - Static method in class net.dv8tion.jda.api.utils.data.DataArray
-
Creates a new empty DataArray, ready to be populated with values.
- empty() - Static method in class net.dv8tion.jda.api.utils.data.DataObject
-
Creates a new empty DataObject, ready to be populated with values.
- EMPTY_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[])
. - 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.
- 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.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.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.
- ErrorResponse - Enum in net.dv8tion.jda.api.requests
- ErrorResponseException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates an unhandled error that is returned by Discord API Request using
RestAction
It holds anErrorResponse
- escape(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Escapes every markdown formatting 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.
- 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 currentJDA.getResponseTotal()
as sequence - Event(JDA, long) - Constructor for class net.dv8tion.jda.api.events.Event
-
Creates a new Event from the given JDA instance
- EventListener - Interface in net.dv8tion.jda.api.hooks
-
JDA pushes
GenericEvents
to the registered EventListeners. - EVERYONE - 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. - EXPLICIT_CONTENT_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the explicit content level field
F
- FAILED_TO_LOGIN - net.dv8tion.jda.api.JDA.Status
-
While attempting to authenticate, Discord reported that the provided authentication information was invalid.
- 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.
- FLOAT - net.dv8tion.jda.api.utils.data.DataType
- 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 fromIterable.forEach(Consumer)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachAsync(Procedure<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all entities until the provided action returns
false
!
This operation is different fromIterable.forEach(Consumer)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachRemaining(Procedure<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
Skipping past already cached entities to iterate all remaining entities of this PaginationAction. - forEachRemainingAsync(Procedure<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
This operation is different fromPaginationAction.forEachRemaining(Procedure)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachRemainingAsync(Procedure<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Iterates over all remaining entities until the provided action returns
false
!
This operation is different fromPaginationAction.forEachRemaining(Procedure)
as it uses successiveRestAction.queue()
tasks to iterate each entity in callback threads instead of the calling active thread. - forEachUnordered(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Behavior similar to
Iterable.forEach(Consumer)
but does not preserve order. - forEachUnordered(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
Iterable.forEach(Consumer)
but does not preserve order. - 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
- from(File, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
- from(InputStream) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specifiedInputStream
. - from(InputStream, Icon.IconType) - Static method in class net.dv8tion.jda.api.entities.Icon
-
Creates an
Icon
with the specifiedInputStream
. - 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
- 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.MessageActivity.ActivityType
- fromId(int) - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Used to retrieve a MessageType based on the Discord id key.
- 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.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.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(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. - 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. - fromUnicode(String, JDA) - Static method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
G
- 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
- 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
- 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
- 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 aTextChannel
. - 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
- 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
- GenericPrivateMessageEvent - Class in net.dv8tion.jda.api.events.message.priv
-
Indicates that a
Message
event is fired from aPrivateChannel
. - 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, User, 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
- 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
- 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(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. - getActiveClients() - Method in interface net.dv8tion.jda.api.entities.Member
-
A Set of all active
ClientTypes
of this Member. - getActivities() - Method in interface net.dv8tion.jda.api.entities.Member
-
The activities of the user.
- getActivity() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
MessageActivity
that contains its type and party id. - getActivity() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The current Activity for this session.
- getActivity() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
The game that the member is currently playing.
- getAfkChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
VoiceChannel
that has been set as the channel whichMembers
will be moved to after they have been inactive in aVoiceChannel
for longer thanGuild.getAfkTimeout()
. - getAfkTimeout() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Timeout
set for this Guild representing the amount of time that must pass for a Member to have had no activity in aVoiceChannel
to be considered AFK. - 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. - 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.
- getApplication() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The
Application
thisMessageActivity
may have. - getApplicationId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The ID for the responsible application.
- getApplicationIdLong() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The ID for the responsible application.
- 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.
- 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
. - getAsMention() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.Emote
- getAsMention() - Method in interface net.dv8tion.jda.api.entities.IMentionable
-
Retrieve a Mention for this Entity.
- getAsMention() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- getAsTag() - Method in interface net.dv8tion.jda.api.entities.User
-
The "tag" for this user
- getAttachments() - Method in interface net.dv8tion.jda.api.entities.Message
-
An immutable list of
Attachments
that are attached to this message. - getAudioController() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the audio controller of this JDA instance
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.CombinedAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
Decodes and adjusts the opus audio for the specified volume.
- getAudioData(double) - Method in class net.dv8tion.jda.api.audio.UserAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioData(short[], double) - Static method in class net.dv8tion.jda.api.audio.OpusPacket
-
Decodes and adjusts the opus audio for the specified volume.
- getAudioManager() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
AudioManager
that represents the audio connection for this Guild. - getAudioManagerCache() - Method in interface net.dv8tion.jda.api.JDA
-
CacheView
of all cachedAudioManagers
created for this JDA instance. - getAudioManagers() - Method in interface net.dv8tion.jda.api.JDA
-
Immutable list of all created
AudioManagers
for this JDA instance! - 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.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.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 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. - getBoostTier() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The boost tier for this guild.
- getCached() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The currently cached entities of recent execution tasks.
- getCallbackPool() - Method in interface net.dv8tion.jda.api.JDA
-
ExecutorService
used to handleRestAction
callbacks and completions. - getCategories() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
Categories
in thisGuild
. - getCategories() - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Categories
visible to the currently logged in account. - getCategories() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Categories
visible to the currently logged in account. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Categories
in this Guild that have the same name as the one provided. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a list of all
Categories
that have the same name as the one provided. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets a list of all
Categories
that have the same name as the one provided. - getCategory() - Method in interface net.dv8tion.jda.api.entities.Message
-
The
Category
this message was sent in. - getCategory() - Method in class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
-
The responsible
Category
- getCategory() - Method in interface net.dv8tion.jda.api.requests.restaction.order.CategoryOrderAction
-
Gets the
Category
controlled by this CategoryOrderAction. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Gets the
Category
that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedCategories
of this Guild. - getCategoryCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedCategories
visible to this JDA session. - getCategoryCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedCategories
visible to this ShardManager instance. - getCause() - Method in class net.dv8tion.jda.api.events.ExceptionEvent
-
The cause Throwable for this event
- getCFRays() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getCFRays() - Method in class net.dv8tion.jda.api.requests.Response
- getChangeByKey(String) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChangeByKey(AuditLogKey) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
-
Filtered list of affected
Members
- getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
-
List of affected
Members
- getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
List of affected
Members
- getChangedMembers() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
List of affected
Members
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
-
List of all affected
IPermissionHolders
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
-
The affected
IPermissionHolders
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
The affected
IPermissionHolders
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
The affected
IPermissionHolders
- getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
-
Filtered list of affected
Roles
- getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
-
List of affected
Roles
- getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
List of affected
Roles
- getChangedRoles() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
List of affected
Roles
- getChanges() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Key-Value
Map
containing allAuditLogChanges
made in this entry. - getChangesForKeys(AuditLogKey...) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Filters all changes by the specified keys
- getChannel() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns the current
VoiceChannel
that theMember
is in. - getChannel() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Channel
object containing information about this invite's origin channel. - getChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
MessageChannel
that this message was sent in. - getChannel() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Returns the
MessageChannel
that this MessageHistory is related to. - getChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
MessageChannel
this Reaction was used in. - getChannel() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
The
GuildChannel
that thisPermissionOverride
affects. - 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
-
The
PrivateChannel
- getChannel() - Method in class net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
-
The
PrivateChannel
- getChannel() - Method in class net.dv8tion.jda.api.events.channel.store.GenericStoreChannelEvent
-
The
StoreChannel
. - getChannel() - Method in class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
-
The
TextChannel
- getChannel() - Method in class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
-
The
VoiceChannel
- 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.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.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.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'sPermissionOverride
is in. - getChannel() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
The
TextChannel
this Manager'sWebhook
is in. - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
The target
MessageChannel
for this message - getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.MessagePaginationAction
-
The targeted
MessageChannel
- getChannel() - Method in interface net.dv8tion.jda.api.requests.restaction.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 thechannel id
. - getChannelId() - Method in exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The id for the responsible
GuildChannel
instance. - 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.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 theMember
is moved from - getChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
Channels
listed for this Category
This may containVoiceChannels
,StoreChannels
, andTextChannels
! - getChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Populated list of
channels
for this guild. - getChannels(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.message.GenericMessageEvent
-
The
ChannelType
for this message - getChannelType() - Method in exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
-
The
ChannelType
for thechannel id
. - getChannelTypes() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The
ChannelTypes
for thesorting bucket
. - 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.events.ShutdownEvent
-
The server close code that was in the disconnect close frame of this JDA instance.
- 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. - getColorRaw() - Method in interface net.dv8tion.jda.api.entities.Member
-
The raw RGB value for the color of this member.
- getColorRaw() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The raw RGB color value for this embed
Defaults toRole.DEFAULT_COLOR_RAW
if no color is set - getColorRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The raw color RGB value used for this role
Defaults toRole.DEFAULT_COLOR_RAW
if this role has no set color - 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
- 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. - getCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The amount of users that already reacted with this Reaction
This is not updated, it is afinal int
per Reaction instance - getCoverId() - Method in class net.dv8tion.jda.api.entities.MessageActivity.Application
-
The cover aka splash id of this
MessageActivity.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.Use
Invite.getTimeCreated()
instead - getCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
The current reason that should be used for
AuditableRestAction
. - getCurrentOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Immutable List representing the currently selected order of entities in this OrderAction instance
- getDateTimeString(OffsetDateTime) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Returns a prettier String-representation of a OffsetDateTime object
- getDefaultAvatarId() - Method in interface net.dv8tion.jda.api.entities.User
-
The Discord Id for this user's default avatar image.
- getDefaultAvatarId() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the asset id of the member's default avatar
- getDefaultAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
The URL for the for the user's default avatar image.
- getDefaultAvatarUrl() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the url of the member's default avatar
- getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The default
TextChannel
for aGuild
. - getDefaultChannel() - Method in interface net.dv8tion.jda.api.entities.Member
-
The default
TextChannel
for aMember
. - getDefaultFailure() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - getDefaultNotificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the default message Notification-Level of this Guild.
- getDefaultSuccess() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - 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. - 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.
- 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 class net.dv8tion.jda.api.entities.MessageActivity.Application
-
A short description of this
MessageActivity.Application
. - getDescription() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The description of the embedded resource.
- getDescriptionBuilder() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The
StringBuilder
used to build the description for the embed. - getDetails() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
What the player is currently doing
Example: "Competitive - Captain's Mode", "In Queue", "Unranked PvP" - getDirectAudioController() - Method in interface net.dv8tion.jda.api.JDA
-
Direct access to audio (dis-)connect requests.
- getDiscordTimestamp(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Converts the provided epoch millisecond timestamp to a Discord Snowflake.
- getDiscriminator() - Method in interface net.dv8tion.jda.api.entities.User
-
The discriminator of theUser
. - getDiscriminator() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the discriminator of the member
- getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.api.entities.User
-
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
- 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.
- getEmail() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
Used to get the email of the currently logged in account.
- 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 enum net.dv8tion.jda.api.Region
-
The unicode flag representative of this Region.
- getEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
The instance of
Emote
for the Reaction instance. - getEmote() - Method in class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
-
The responsible
Emote
for this event - getEmote() - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
The target
Emote
that will be modified by this Manager - getEmoteById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets an
Emote
from this guild that has the same id as the one provided. - getEmoteById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets an
Emote
from this guild that has the same id as the one provided. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
SnowflakeCacheView
of all cachedEmotes
of this Guild. - getEmoteCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this JDA session. - getEmoteCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this ShardManager instance. - getEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
- getEmotes() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
Emotes
used in this Message. - getEmotes() - Method in interface net.dv8tion.jda.api.JDA
-
A collection of all to us known emotes (managed/restricted included).
- getEmotes() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
A collection of all to us 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.role.update.GenericRoleUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- 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 - 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
- getExplicitContentLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The level of content filtering enabled in this Guild.
- 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 forEmbedBuilder.build()
. - getFields() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The fields in a message embed.
- getFileExtension() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file extension of the Attachment when it was first uploaded.
- getFileName() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The file name of the Attachment when it was first uploaded.
- getFirst() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The first cached entity retrieved by this PaginationAction instance
- getFlags() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence
- getFlags(int) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Maps the ActivityFlags based on the provided bitmask.
- getFlagSet() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Flags for this presence in an enum set
- getFooter() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The footer (bottom) of the embedded content.
- 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 ifSessionController.getShardedGateway(JDA)
is implemented instead. - getGatewayBot(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getGatewayPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to our last heartbeat
This roughly represents the WebSocket ping of this session - getGatewayPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to send WebSocket messages to discord. - getGlobalRatelimit() - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Provides the cross-session global REST ratelimit it received through
SessionController.setGlobalRatelimit(long)
. - getGlobalRatelimit() - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getGroup() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Group
object containing information about this invite's origin group. - getGuild() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Guild
this audit-log entry refers to - getGuild() - Method in interface net.dv8tion.jda.api.entities.Emote
-
The
Guild
this emote is attached to. - getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Returns the
Guild
that this GuildChannel is part of. - getGuild() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Invite
-
An
Invite.Guild
object containing information about this invite's origin guild. - getGuild() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild to which this PermissionHolder is related
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Member
-
The Guild in which this Member is represented.
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
Guild
that this message was sent in. - getGuild() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- getGuild() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
- getGuild() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
Guild
this Role exists in - getGuild() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
Guild
instance for this Webhook. - getGuild() - Method in class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
- 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 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.UserUpdateActivityOrderEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- getGuild() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Guild
in which this users started typing, ornull
if this was not in a Guild. - getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- getGuild() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- getGuild() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The
Guild
for this update - getGuild() - Method in interface net.dv8tion.jda.api.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'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.EmoteManager
- getGuild() - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
The
Guild
object of this Manager. - getGuild() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The
Guild
this Manager'sGuildChannel
is in. - getGuild() - Method in interface net.dv8tion.jda.api.managers.RoleManager
- getGuild() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The guild to create this
GuildChannel
in - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The
Guild
to which the user will be added. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The
Guild
which holds the channels fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.order.RoleOrderAction
-
The
Guild
which holds the roles fromOrderAction.getCurrentOrder()
- getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
The current target
Guild
for this AuditLogPaginationAction. - getGuild() - Method in interface net.dv8tion.jda.api.requests.restaction.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
- getGuildAvailableCount() - Method in class net.dv8tion.jda.api.events.ReadyEvent
-
Number of available guilds for this session.
- getGuildById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(long) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getGuildById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedGuilds
visible to this JDA session. - getGuildCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedGuilds
visible to this ShardManager instance. - 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(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(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, 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. - getGuildId() - Method in class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- 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.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- 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
-
Sum of both
ReadyEvent.getGuildAvailableCount()
andReadyEvent.getGuildUnavailableCount()
. - getGuildUnavailableCount() - Method in class net.dv8tion.jda.api.events.ReadyEvent
-
Number of guilds currently not available to this session
Discord failed to connect these guilds to our gateway and we had to discard them for now. - getHeader() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The data header for the encoding of an image.
- getHeaders() - Method in class net.dv8tion.jda.api.requests.Request
- getHeight() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The height of the Attachment if this Attachment is an image/video.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The height of the image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The height of the thumbnail image.
- getHeight() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The height of the video.
- getHistory() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Creates a new
MessageHistory
object for each call of this method. - getHistoryAfter(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent after the marker ID. - getHistoryAfter(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent after the mentioned message ID (exclusive). - getHistoryAfter(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent after the marker.
- getHistoryAround(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages around the marker. - getHistoryAround(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent around the marker. - getHistoryAround(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent around the mentioned message ID (inclusive). - getHistoryAround(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
Message
as a marker and retrieves messages around the marker. - getHistoryBefore(long, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(String, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided
id
of a message as a marker and retrieves messages sent before the marker ID. - getHistoryBefore(MessageChannel, String) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent before the mentioned message ID (exclusive). - getHistoryBefore(Message, int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent before the marker.
- getHistoryFromBeginning(int) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Retrieves messages from the beginning of this
MessageChannel
. - getHistoryFromBeginning(MessageChannel) - Static method in class net.dv8tion.jda.api.entities.MessageHistory
-
Constructs a
MessageHistory
with the initially retrieved history of messages sent. - getHttpClient() - Method in interface net.dv8tion.jda.api.JDA
-
The
OkHttpClient
used for handling http requests fromRestActions
. - 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.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
MessageActivity.Application
. - 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.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.
- 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.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
- 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 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.MessageActivity.Application
- getIdLong() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
- 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.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. - 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.
- 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.
- getInviteCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets an invite code for the guild, or null if no invite channel is enabled in the widget
- getInviter() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The user who created this invite.
- getInvites() - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable List of
Invite
codes that are included in this Message. - getInviteUrl(long, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(long, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.api.JDA
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getIterableHistory() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
A
PaginationAction
implementation that allows toiterate
over recentMessages
of this MessageChannel. - getJDA() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The corresponding JDA instance of the referring Guild
- getJDA() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The
JDA
instance of this ApplicationInfo (the one logged into this application's bot account). - getJDA() - Method in interface net.dv8tion.jda.api.entities.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.GuildChannel
-
Returns the
JDA
instance of this GuildChannel - 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 interface net.dv8tion.jda.api.entities.MessageChannel
-
Returns the
JDA
instance of this MessageChannel - 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 interface net.dv8tion.jda.api.entities.PermissionOverride
-
The
JDA
instance that thisPermissionOverride
is related to. - getJDA() - Method in interface net.dv8tion.jda.api.entities.PrivateChannel
-
Returns the
JDA
instance of this PrivateChannel - getJDA() - Method in interface net.dv8tion.jda.api.entities.Role
-
Returns the
JDA
instance of this Role - getJDA() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns the
JDA
instance of this User - getJDA() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The JDA instance of this Webhook.
- getJDA() - Method in class net.dv8tion.jda.api.events.Event
- getJDA() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current JDA instance corresponding to this Event
- getJDA() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Gets the
JDA
instance that this AudioManager is a part of. - getJDA() - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
The associated JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The JDA instance of this Presence
- getJDA() - Method in class net.dv8tion.jda.api.requests.Request
- getJDA() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
The current JDA instance
- getJDA() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
JDA
instance for this request - getJumpUrl() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the jump-to URL for the received message.
- getKey() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The raw key used to identify types within the api.
- getKey() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The key which defines the field that was updated by this change
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- getKey() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Key used in
AuditLogEntry.getOptionByName(String)
- getKey() - Method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
The Discord defined id key for this ActivityType.
- getKey() - Method in enum net.dv8tion.jda.api.entities.ClientType
-
The raw key used by the API to identify this type
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
The API key used to represent this tier, identical to the ordinal.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
The key for this level
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
The Discord id key used to represent this MFALevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
The Discord id key used to represent this NotificationLevel.
- getKey() - Method in enum net.dv8tion.jda.api.entities.Guild.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.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.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
- 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
- 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.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.
- getMaxLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The maximum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be greater than the returned value. - getMaxMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The maximum amount of members that can join this guild.
- 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.
- 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 interface net.dv8tion.jda.api.entities.PermissionOverride
-
If this
PermissionOverride
is an override dealing with aMember
, then this method will return the relatedMember
. - 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.voice.GenericGuildVoiceEvent
-
The affected
Member
- 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
- getMember() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
The Author of the Message received as
Member
object. - getMember() - Method in class net.dv8tion.jda.api.events.message.MessageUpdateEvent
-
Member instance for the author of this message or
null
if this was not in a Guild. - getMember() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
Member
instance for the reacting user ornull
if the reaction was from a user not in this guild. - getMember() - Method in 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.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.requests.restaction.PermissionOverrideAction
-
The
Member
for this override - getMember() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- getMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user. - getMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(long) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a member with the given ID, or
null
if the member is not found - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Retrieves the
TeamMember
instance for the provided user id. - getMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(String) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a member with the given ID, or null if the member is not found
- getMemberByTag(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberByTag(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Searches for a
Member
that has the matching Discord Tag. - getMemberCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
MemberCacheView
for all cachedMembers
of this Guild. - getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The expected member count for this guild.
- getMemberCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of total members in the guild.
- getMemberPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
- getMembers() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The
Team Members
. - 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
ForTextChannels
, this returns all Members with thePermission.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
- getMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- getMentionedChannels() - Method in interface net.dv8tion.jda.api.entities.Message
-
A immutable list of all mentioned
TextChannels
. - getMentionedChannelsBag() - Method in interface net.dv8tion.jda.api.entities.Message
-
A
Bag
of mentioned channels. - getMentionedMembers() - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable list of
Members
representing the users ofMessage.getMentionedUsers()
in theGuild
this Message was sent in. - getMentionedMembers(Guild) - Method in interface net.dv8tion.jda.api.entities.Message
-
Creates an immutable list of
Members
representing the users ofMessage.getMentionedUsers()
in the specifiedGuild
. - getMentionedRoles() - Method in interface net.dv8tion.jda.api.entities.Message
-
A immutable list of all mentioned
Roles
. - 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 specifiedMentionType
values. - 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
-
The
Message
- 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
-
The
Message
- getMessage() - Method in class net.dv8tion.jda.api.events.message.priv.PrivateMessageUpdateEvent
-
The
Message
that was updated - 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.
- getMessageEmbeds() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageEmbedEvent
-
The
MessageEmbeds
- 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
-
The
MessageEmbeds
- getMessageId() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageId() - Method in class net.dv8tion.jda.api.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.priv.GenericPrivateMessageEvent
-
The id for this 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.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.priv.GenericPrivateMessageEvent
-
The id for this message
- getMessageIds() - Method in class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
-
List of messages that have been deleted.
- getMIME() - Method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
The MIME Type
- getMinLimit() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
The minimum limit that can be used for this PaginationAction
Limits provided toPaginationAction.limit(int)
must not be less than the returned value. - getModes(int) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Parses the active modes represented by the provided bitmask
- getMutualGuilds() - Method in interface net.dv8tion.jda.api.entities.User
- getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getName() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
The name of this emoji.
- getName() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The displayed name of the
Activity
. - getName() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The name of the bot's application.
- getName() - Method in interface net.dv8tion.jda.api.entities.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.GuildChannel
-
The human readable name of the GuildChannel.
- 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.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.MessageActivity.Application
-
The name of this
MessageActivity.Application
. - getName() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
This method is a shortcut method to return the following information in the following situation: If the MessageChannel is instance of..
- 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 interface net.dv8tion.jda.api.entities.Role
-
The Name of this
Role
. - getName() - Method in interface net.dv8tion.jda.api.entities.User
-
The username of the
User
. - getName() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The name of this Webhook.
- 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.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.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
-
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
-
The new
Guild.BoostTier
- getNewColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The new color
- getNewColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the new color
- 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
- getNewEmail() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateEmailEvent
-
The new email
- getNewFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The new Set of features after the
Guild
update. - getNewIconId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getNewIconUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
-
The url of the new icon
- getNewLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The new
ExplicitContentLevel
for theGuild
after to this event. - getNewMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The new max members for this guild
- getNewMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The new max presences
- getNewMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The new
MFALevel
- getNewName() - Method in class net.dv8tion.jda.api.events.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
-
The new
NotificationLevel
- 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 previous owner user id
- getNewOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The previous 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
- 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
- getNewPhoneNumber() - Method in class net.dv8tion.jda.api.events.self.SelfUpdatePhoneNumberEvent
-
The new phone number.
- 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.guild.update.GuildUpdateRegionEvent
- getNewRegionRaw() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
-
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
- 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.
- 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.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.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.GuildUpdateRegionEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- 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.SelfUpdateEmailEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMobileEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNitroEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getNewValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The new value
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getNewVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity code
- getNewVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The new vanity url
- getNewVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The new
VerificationLevel
- getNextPacket(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNextPacketRaw(boolean) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNickname() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the current nickname of this Member for the parent Guild.
- getNickname() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the nickname of the member.
- getNonce() - Method in interface net.dv8tion.jda.api.entities.Message
-
Validation nonce for this Message
This can be used to validate that a Message was properly sent to the Discord Service. - 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.Permission
-
The binary offset of the permission.
- 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
- 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.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
-
The old
Guild.BoostTier
- getOldColor() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The old color
- getOldColorRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the old color
- 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
- getOldEmail() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateEmailEvent
-
The old email
- getOldFeatures() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
-
The old Set of features before the
Guild
update. - 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
- getOldLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The old
ExplicitContentLevel
for theGuild
prior to this event. - getOldMaxMembers() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
-
The old max members for this guild
- getOldMaxPresences() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
-
The old max presences
- getOldMFALevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
-
The old
MFALevel
- getOldName() - Method in class net.dv8tion.jda.api.events.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.VoiceChannelUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
-
The old username
- getOldNickname() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
-
The old nickname
- getOldNotificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
-
The old
NotificationLevel
- getOldNSFW() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNSFWEvent
-
Whether the channel was marked NSFW before
- getOldOnlineStatus() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
-
The old status
- getOldOwner() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The old owner
- getOldOwnerId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getOldOwnerIdLong() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
-
The new owner user id
- getOldParent() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateParentEvent
-
The old parent
Category
- getOldParent() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateParentEvent
-
The old parent
Category
- getOldPermissions() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPermissionsRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPhoneNumber() - Method in class net.dv8tion.jda.api.events.self.SelfUpdatePhoneNumberEvent
-
The old phone number or
null
if no phone number was previously set. - getOldPing() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
-
The previous ping for the current JDA session
- getOldPosition() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePositionEvent
-
The previous position of this
Category
- getOldPosition() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePositionEvent
-
The old position
- getOldPosition() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePositionEvent
-
The old position
- getOldPosition() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePositionEvent
-
The old position
- getOldPosition() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldPositionRaw() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldRegion() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
- getOldRegionRaw() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
-
The raw voice region name that was used prior to this update by the
Guild
. - getOldRoles() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
-
The old role whitelist
- getOldSlowmode() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateSlowmodeEvent
-
The old slowmode.
- getOldSplashId() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The old splash id
- getOldSplashUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
The url of the old splash
- getOldStatus() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
-
The previous status
- getOldSystemChannel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
-
The previous system channel.
- getOldTimeBoosted() - Method in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
-
The old boost time
- getOldTopic() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateTopicEvent
-
The old topic
- getOldUserLimit() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
-
The old userlimit
- getOldValue() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
-
The previous value for the field specified by
AuditLogChange.getKey()
. - getOldValue() - Method in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.category.update.GenericCategoryUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceLeaveEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateEmailEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMobileEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNitroEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getOldValue() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The old value
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- getOldVanityCode() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity code
- getOldVanityUrl() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
-
The old vanity url
- getOldVerificationLevel() - Method in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
-
The old
VerificationLevel
- getOnFailure() - Method in class net.dv8tion.jda.api.requests.Request
- getOnlineCount() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the approximate count of online members in the guild.
- getOnlineStatus() - Method in interface net.dv8tion.jda.api.entities.Member
-
Returns the
OnlineStatus
of the User. - getOnlineStatus() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the online status of the member.
- getOnlineStatus(ClientType) - Method in interface net.dv8tion.jda.api.entities.Member
-
The platform dependent
OnlineStatus
of this member. - getOnSuccess() - Method in class net.dv8tion.jda.api.requests.Request
- getOption(AuditLogOption) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name) - getOptionByName(String) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name)
This lookup is case-insensitive! - getOptions() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Key-Value
Map
containing all Options made in this entry. - getOptions(AuditLogOption...) - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
Constructs a filtered, immutable list of options corresponding to the provided
AuditLogOptions
. - getOpusAudio() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The raw opus audio, copied to a new array.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The owner of the bot's application.
- getOwner() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Searches for the
TeamMember
inApplicationTeam.getMembers()
that has the same user id asApplicationTeam.getOwnerIdLong()
. - getOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The
Member
object for the owner of this Guild. - getOwner() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The owner of this Webhook.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
The id for the user who owns this team.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The ID for the current owner of this guild.
- getPackage() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The raw gateway package including sequence and type.
- getParent() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Parent
Category
of this GuildChannel. - getParty() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the active party of the player
- getPartyId() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The party id discord uses internally, it may be
null
. - getPattern() - Method in enum net.dv8tion.jda.api.entities.Message.MentionType
- getPayload() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The payload of the package.
- getPermission() - Method in exception net.dv8tion.jda.api.exceptions.PermissionException
-
The
Permission
that is required for the operation - getPermissionOverride() - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
The target
PermissionOverride
that will be modified by this Manager - getPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.GuildChannel
- getPermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Gets all of the
PermissionOverrides
that are part of thisGuildChannel
. - getPermissions() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions(long) - Static method in enum net.dv8tion.jda.api.Permission
-
A set of all
Permissions
that are specified by this raw long representation of permissions. - getPermissions(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The Permissions this PermissionHolder holds in the specified
GuildChannel
. - getPermissionsExplicit() - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsExplicit(GuildChannel) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
The explicitly granted permissions for this permission holder in the guild.
- getPermissionsRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The
long
representation of the literal permissions that thisRole
has. - getPhoneNumber() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
Used to get the phone number of the currently logged in account if a phone number has been attached to it.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
The position this GuildChannel is displayed at.
- getPosition() - Method in interface net.dv8tion.jda.api.entities.Role
- getPosition() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the integer position of the channel
- getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
The actual position of the
GuildChannel
as stored and given by Discord. - getPositionRaw() - Method in interface net.dv8tion.jda.api.entities.Role
-
The actual position of the
Role
as stored and given by Discord. - getPremadeWidgetHtml(String, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPremadeWidgetHtml(Guild, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPresence() - Method in interface net.dv8tion.jda.api.JDA
-
The
Presence
controller for the current session. - getPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
PrivateChannel
that this message was sent in. - getPrivateChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- getPrivateChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
PrivateChannel
the Message was received in. - getPrivateChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
PrivateChannel
in which this users started typing, ornull
if this was not in a PrivateChannel. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this JDA session. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this ShardManager instance. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all known
PrivateChannels
. - getPrivateChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all known
PrivateChannels
. - getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.category.update.GenericCategoryUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- getPropertyIdentifier() - Method in interface net.dv8tion.jda.api.events.UpdateEvent
-
The field name for the updated property
- getPropertyIdentifier() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyIconUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The url of the footer's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Url to the resource proxied by the Discord CDN.
- getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. - getProxyUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The Discord proxied url of the thumbnail image.
- getPublicRole() - Method in interface net.dv8tion.jda.api.entities.Guild
- getPublicRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the public role (Guild.getPublicRole()
) for the resulting Guild. - getQueuedAudioConnection() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
This can be used to find out what
VoiceChannel
JDA is currently attempting to setup an audio connection for. - getRateLimitedRoute() - Method in exception net.dv8tion.jda.api.exceptions.RateLimitedException
-
The route responsible for the rate limit bucket that is used in the responsible RateLimiter
- getRateLimitPool() - Method in interface net.dv8tion.jda.api.JDA
-
ScheduledExecutorService
used to handle rate-limits forRestAction
executions. - getRaw() - Method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
The raw bitmask for this mode
- getRaw() - Method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
The raw bitmask for this flag
- getRaw(Collection<SpeakingMode>) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(Collection<Permission>) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes a Collection ofPermissions
and returns the raw offsetlong
representation of the permissions. - getRaw(SpeakingMode...) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmask.
- getRaw(Permission...) - Static method in enum net.dv8tion.jda.api.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes 1 or morePermissions
and returns the raw offsetlong
representation of the permissions. - getRawBody() - Method in class net.dv8tion.jda.api.requests.Request
- getRawResponse() - Method in class net.dv8tion.jda.api.requests.Response
- getRawValue() - Method in enum net.dv8tion.jda.api.Permission
-
The value of this permission when viewed as a raw value.
- getReaction() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.ReactionPaginationAction
-
The current target
MessageReaction
- getReactionById(long) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given reaction id on this message. - getReactionById(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given reaction id on this message. - getReactionByUnicode(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
ReactionEmote
for the given unicode reaction on this message. - getReactionEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
The
ReactionEmote
of this Reaction - getReactionEmote() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
- getReactionEmote() - Method in class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
- getReactionEmote() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The
ReactionEmote
of the reaction, shortcut forgetReaction().getReactionEmote()
- getReactions() - Method in interface net.dv8tion.jda.api.entities.Message
-
All
MessageReactions
that are on this Message. - getReason() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The optional reason why this action was executed.
- getReason() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The reason why this user was banned
- getReceivingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioReceiveHandler
. - getRegion() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Voice
Region
that this Guild is using for audio connections. - getRegionRaw() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The raw voice region name that this Guild is using for audio connections.
- getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
The currently registered listeners
- getRegisteredListeners() - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.api.JDA
-
Immutable List of Objects that have been registered as EventListeners.
- getRemainingTime(TemporalUnit) - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Calculates the amount of time until
Activity.Timestamps.getEndTime()
in terms of the specified unit. - getRequest() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestBodyRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequestRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRequiredMFALevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the level of multifactor authentication required to execute administrator restricted functions in this guild.
- getRequiredType() - Method in exception net.dv8tion.jda.api.exceptions.AccountTypeException
-
The required
AccountType
for the operation - getResponse() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponse() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
The Discord Response causing the ErrorResponse
- getResponseBody() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsArray() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsObject() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseBodyAsString() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseHeaders() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseNumber() - Method in class net.dv8tion.jda.api.events.Event
- getResponseNumber() - Method in interface net.dv8tion.jda.api.events.GenericEvent
-
The current sequence for this event.
- getResponseRaw() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getResponseTotal() - Method in interface net.dv8tion.jda.api.JDA
-
This value is the total amount of JSON responses that discord has sent.
- getRestAction() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRestAction() - Method in class net.dv8tion.jda.api.requests.Request
- getRestPing() - Method in interface net.dv8tion.jda.api.JDA
-
The time in milliseconds that discord took to respond to a REST request.
- getRetrievedHistory() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The List of Messages, sorted starting from newest to oldest, of all message that have already been retrieved from Discord with this MessageHistory object using the
MessageHistory.retrievePast(int)
,MessageHistory.retrieveFuture(int)
, andMessageChannel.getHistoryAround(String, int)
methods. - getRetryAfter() - Method in exception net.dv8tion.jda.api.exceptions.RateLimitedException
-
The back-off delay in milliseconds that should be respected before trying to query the
route
again - getRole() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
If this
PermissionOverride
is an override dealing with aRole
, then this method will return the relatedRole
. - getRole() - Method in class net.dv8tion.jda.api.events.role.GenericRoleEvent
-
The role for this event
- getRole() - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
The target
Role
for this manager - getRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
The
Role
for this override - getRole(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the provided index. - getRoleById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
Role
from this guild that has the same id as the one provided. - getRoleById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedRoles
of this Guild. - getRoleCache() - Method in interface net.dv8tion.jda.api.JDA
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this JDA session. - getRoleCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this ShardManager instance. - getRolePermissionOverrides() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Roles this emote is active for.
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Guild
- getRoles() - Method in interface net.dv8tion.jda.api.entities.Member
-
The roles applied to this Member.
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
-
The list of roles that were added
- getRoles() - Method in class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
-
The removed roles
- getRoles() - Method in interface net.dv8tion.jda.api.JDA
-
All
Roles
this JDA instance can see. - getRoles() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
All
Roles
this ShardManager instance can see. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
Roles
in this Guild that have the same name as the one provided. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves all
Roles
visible to this JDA instance. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Retrieves all
Roles
visible to this ShardManager instance. - getRoute() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- getRoute() - Method in class net.dv8tion.jda.api.requests.Request
- getSeconds() - Method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
The amount of seconds represented by this
Guild.Timeout
. - getSelectedEntity() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The entity which is currently at the
selected position
- getSelectedPosition() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
The currently selected position that is in focus for all modification operations of this OrderAction instance
- getSelfMember() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets the
Member
object of the currently logged in account in this guild. - getSelfUser() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
-
The
SelfUser
- getSelfUser() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the currently logged in account represented by
SelfUser
. - getSelfUser() - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
The
SelfUser
that will be modified by this AccountManager. - getSendingHandler() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The currently set
AudioSendHandler
. - getSequence() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The sequence number of this packet.
- getServiceCloseFrame() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
The close frame discord sent to us
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
The Session-Id for this VoiceState
- getSessionId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Session ID for this presence.
- getSessionId() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The session id for the voice server session
- getShardById(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardCache() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Unified
ShardCacheView
of all cachedJDA
bound to this ShardManager instance. - getShardedGateway(JDA) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by
DefaultShardManager
when a new shards is starting. - getShardedGateway(JDA) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- getShardForGuild(long, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(String, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given guild will be loaded on for the given amount of shards.
- getShardForGuild(Guild, int) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Returns the shard id the given
Guild
will be loaded on for the given amount of shards. - getShardId() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Represents the id of the shard of the current instance.
- getShardInfo() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
Shortcut to access the shard info for this JDA instance
- getShardInfo() - Method in interface net.dv8tion.jda.api.JDA
-
The shard information used when creating this instance of JDA.
- getShardInfo() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
The
ShardInfo
for this request. - getShardManager() - Method in interface net.dv8tion.jda.api.JDA
-
Returns the
ShardManager
that manages this JDA instances or null if this instance is not managed by anyShardManager
. - getShards() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets all
JDA
instances bound to this ShardManager. - getShardsQueued() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsQueued() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards queued for (re)connecting.
- getShardsRunning() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of running shards.
- getShardsTotal() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- getShardsTotal() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Returns the amount of shards managed by this
ShardManager
. - getShardString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
Provides a shortcut method for easily printing shard info.
- getShardTotal() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
-
The total amount of shards based on the value provided during JDA instance creation using
JDABuilder.useSharding(int, int)
. - getShardTotal() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The recommended shard total
- getSiteProvider() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information on site from which the embed was generated from.
- getSize() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The size of the attachment in bytes.
- getSize() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
-
The current size of this party, or
0
if unset - getSlowmode() - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
The slowmode set for this TextChannel.
- getSmallImage() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Information on the small corner image displayed in the profile view
- getSocketAddress() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The connected socket address for this audio connection.
- getSortBucket() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
The sorting bucket for this channel type.
- getSortBucket() - Method in interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
-
The sorting bucket for this order action.
- getSpeakingMode() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - getSplashId() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The Discord hash-id of the splash image for this Guild.
- getSplashId() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
The splash image id of this guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The URL of the splash image for this Guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the splash image url of this guild.
- getSSRC() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The synchronization source identifier (SSRC) for the user that sent this audio packet.
- getStart() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Epoch second timestamp of match start, or
0
of unset. - getStartTime() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getState() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
The user's current party status
Example: "Looking to Play", "Playing Solo", "In a Group" - getStatus() - Method in interface net.dv8tion.jda.api.JDA
-
Gets the current
Status
of the JDA instance. - getStatus() - Method in interface net.dv8tion.jda.api.managers.Presence
-
The current OnlineStatus for this session.
- getStatus(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
JDA.Status
of the shard which has the same id as the one provided. - getStatuses() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Gets the current
Status
of all shards. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StoreChannel
from this guild that has the same id as the one provided. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a
StoreChannel
that has the same id as the one provided. - getStoreChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
StoreChannel
which has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
StoreChannel
from this guild that has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Gets a
StoreChannel
that has the same id as the one provided. - getStoreChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
StoreChannel
which has the same id as the one provided. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedStoreChannels
of this Guild. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedStoreChannels
visible to this JDA session. - getStoreChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedStoreChannels
visible to this ShardManager instance. - getStoreChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
StoreChannels
listed for this Category - getStoreChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
StoreChannels
in thisGuild
. - getStoreChannels() - Method in interface net.dv8tion.jda.api.JDA
-
Gets all
StoreChannels
of all connectedGuilds
. - getStoreChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
StoreChannels
of all connectedGuilds
. - getStoreChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
StoreChannels
in this Guild that have the same name as the one provided. - getStoreChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
StoreChannels
that have the same name as the one provided. - getString() - Method in class net.dv8tion.jda.api.requests.Response
- getString(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(int, String) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to a String.
- getString(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getString(String, String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a
String
to a key. - getStringBuilder() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the underlying
StringBuilder
. - getSyncId() - Method in interface net.dv8tion.jda.api.entities.RichPresence
-
Sync ID for this presence.
- getSystemChannel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Provides the
TextChannel
that has been set as the channel which newly joinedMembers
will be announced in. - getTargetId() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetIdLong() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The id for the target entity.
- getTargetType() - Method in enum net.dv8tion.jda.api.audit.ActionType
-
The expected
TargetType
for this ActionType - getTargetType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
TargetType
defining what kind of entity was targeted by this action. - getTeam() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
The team information for this application.
- getTeamId() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getTeamIdLong() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
The id for the team this member belongs to.
- getText() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
The text in the footer
- getText() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
Text which is displayed when hovering the image in the official client
- getTextChannel() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns the
TextChannel
that this message was sent in. - getTextChannel() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- getTextChannel() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
The
TextChannel
the Message was received in. - getTextChannel() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
TextChannel
in which this users started typing, ornull
if this was not in a TextChannel. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
TextChannel
from this guild that has the same id as the one provided. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
TextChannel
from this guild that has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedTextChannels
of this Guild. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedTextChannels
visible to this JDA session. - getTextChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedTextChannels
visible to this ShardManager instance. - getTextChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
TextChannels
listed for this Category - getTextChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
TextChannels
in thisGuild
. - getTextChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
TextChannels
in this Guild that have the same name as the one provided. - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
TextChannels
that have the same name as the one provided. - getThumbnail() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the
Thumbnail
image to be displayed with the embed. - getTimeBoosted() - Method in interface net.dv8tion.jda.api.entities.Member
-
The time when this member boosted the guild.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Returns creation date of this invite.
- getTimeCreated() - Method in interface net.dv8tion.jda.api.entities.ISnowflake
-
The time this entity was created.
- getTimeCreated(long) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeCreated(ISnowflake) - Static method in class net.dv8tion.jda.api.utils.TimeUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getTimeDisconnected() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
Time at which we noticed the disconnection
- getTimeEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Provides the
OffsetDateTime
defining when this Message was last edited. - getTimeJoined() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
Time
this Member joined the Guild. - getTimeShutdown() - Method in class net.dv8tion.jda.api.events.ShutdownEvent
-
Time of WebSocket disconnect
- getTimestamp() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The timestamp for this packet.
- getTimestamp() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The timestamp of the embed.
- getTimestamp() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The time when the user started typing
- getTimestamps() - Method in interface net.dv8tion.jda.api.entities.Activity
-
Information on the match duration, start, and end.
- getTitle() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The title of the embed.
- getToken() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The execute token for this Webhook.
- getToken() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
-
The access token for the voice server connection
- getToken() - Method in interface net.dv8tion.jda.api.JDA
-
The login token that is currently being used for Discord authentication.
- getTopic() - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
The topic set for this TextChannel.
- getType() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
ActionType
defining what auditable Action is referred to by this entry. - getType() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The type of
Activity
. - getType() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
The
ChannelType
for this GuildChannel - getType() - Method in interface net.dv8tion.jda.api.entities.Invite.Channel
-
The
ChannelType
of this channel. - getType() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The type of this invite.
- getType() - Method in interface net.dv8tion.jda.api.entities.Message
-
This specifies the
MessageType
of this Message. - getType() - Method in class net.dv8tion.jda.api.entities.MessageActivity
-
The current
ActivityType
- getType() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
The
ChannelType
of this MessageChannel. - getType() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The
EmbedType
of this embed. - getType() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
WebhookType
of this webhook. - getType() - Method in class net.dv8tion.jda.api.events.RawGatewayEvent
-
The type of event.
- getType() - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
The
ChannelType
- getType() - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
The
ChannelType
- getType() - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
The
ChannelType
for the resulting channel - getType() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.MessagePaginationAction
-
The
ChannelType
of the targetedMessageChannel
. - getType(Object) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Assumes the type of the provided value through instance checks.
- getTypeRaw() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The raw type value used to derive
AuditLogEntry.getType()
. - getUdpSocket() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
The UDP connection for this audio connection.
- getUnavailableGuilds() - Method in interface net.dv8tion.jda.api.JDA
-
Set of
Guild
IDs for guilds that were marked unavailable by the gateway. - getUnsignedInt(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(int, int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned int.
- getUnsignedInt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedInt(String, int) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned int to a key.
- getUnsignedLong(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(int, long) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Resolves the value at the specified index to an unsigned long.
- getUnsignedLong(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUnsignedLong(String, long) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves an unsigned long to a key.
- getUrl() - Method in interface net.dv8tion.jda.api.entities.Activity
-
The URL of the
Activity
if the game is actually a Stream. - getUrl() - Method in interface net.dv8tion.jda.api.entities.Invite
-
The invite URL for this invite in the format of:
"https://discord.gg/" + getCode()
- getUrl() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The url of the Attachment, most likely on the Discord servers.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
-
The url of the author.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The that was originally placed into chat that spawned this embed.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The url of the image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
The url of the provider.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The web url of this thumbnail image.
- getUrl() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The url of the video.
- getUrl() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
-
URL for this image, combination of
RichPresence.getApplicationId()
andRichPresence.Image.getKey()
- getUrl() - Method in interface net.dv8tion.jda.api.entities.Webhook
-
The
POST
route for this Webhook. - getUrl() - Method in class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
The gateway endpoint
- getUser() - Method in class net.dv8tion.jda.api.audio.UserAudio
-
The
User
that provided the audio data. - getUser() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
User
responsible for this action. - getUser() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
-
The
User
that was banned - getUser() - Method in interface net.dv8tion.jda.api.entities.ListedEmote
-
The user who created this Emote
- getUser() - Method in interface net.dv8tion.jda.api.entities.Member
-
The user wrapped by this Entity.
- getUser() - Method in interface net.dv8tion.jda.api.entities.PrivateChannel
-
The
User
that thisPrivateChannel
communicates with. - getUser() - Method in interface net.dv8tion.jda.api.entities.TeamMember
-
Possibly-fake user for the team member.
- getUser() - Method in class net.dv8tion.jda.api.events.channel.priv.PrivateChannelCreateEvent
- getUser() - Method in class net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
- getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildBanEvent
-
The banned
User
Possibly fake user. - getUser() - Method in class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
-
The
User
who was unbanned
Possibly fake user. - getUser() - Method in class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
- getUser() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
-
The reacting
User
This might be missing if the user was not previously cached or the member was removed. - getUser() - Method in class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionAddEvent
- getUser() - Method in class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The reacting
User
This might be missing if the user was not cached. - getUser() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The reacting
User
This might be missing if the user was not cached. - getUser() - Method in class net.dv8tion.jda.api.events.user.GenericUserEvent
-
The related user instance
- getUser() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The user associated with the id
- getUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserByTag(String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.JDA
-
Searches for a user that has the matching Discord Tag.
- getUserByTag(String, String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Searches for the first user that has the matching Discord Tag.
- getUserCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedUsers
visible to this JDA session. - getUserCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedUsers
visible to this ShardManager instance. - getUserId() - Method in class net.dv8tion.jda.api.audio.OpusPacket
-
The ID of the responsible
User
. - getUserId() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserId() - Method in class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserId() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserId() - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
The id of the user who will be added by this task
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.guild.react.GenericGuildMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserIdLong() - Method in class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
-
The id for the user who added/removed their reaction.
- getUserLimit() - Method in interface net.dv8tion.jda.api.entities.VoiceChannel
-
The maximum amount of
Members
that can be in thisVoiceChannel
at once. - getUsers() - Method in class net.dv8tion.jda.api.audio.CombinedAudio
-
An unmodifiable list of all
Users
that provided audio that was combined. - getUsers() - Method in interface net.dv8tion.jda.api.entities.Invite.Group
-
The names of all users in this group.
- getUsers() - Method in interface net.dv8tion.jda.api.JDA
- getUsers() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
- getUsersByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
This immutable returns all
Users
that have the same username as the one provided. - getUses() - Method in interface net.dv8tion.jda.api.entities.Invite
-
How often this invite has been used.
- getValue() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
The value of the field
- getVanityCode() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url code for this Guild.
- getVanityUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
The vanity url for this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Returns the verification-Level of this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.api.entities.Invite.Guild
-
Returns the
VerificationLevel
of this guild. - getVideoInfo() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
The information about the video which should be displayed as an embed.
- getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
VoiceChannel
from this guild that has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a voice channel with the given ID, or
null
if the voice channel is not found - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a
VoiceChannel
from this guild that has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets a voice channel with the given ID, or null if the voice channel is not found
- getVoiceChannelByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Deprecated.Replace with
JDA.getVoiceChannelsByName(String, boolean)
- getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedVoiceChannels
of this Guild. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.JDA
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this JDA session. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this ShardManager instance. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.Category
-
All
VoiceChannels
listed for this Category - getVoiceChannels() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets all
VoiceChannels
in thisGuild
. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Gets the list of voice channels in the guild
- getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Gets a list of all
VoiceChannels
in this Guild that have the same name as the one provided. - getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.api.JDA
-
An unmodifiable list of all
VoiceChannels
that have the same name as the one provided. - getVoiceState() - Method in interface net.dv8tion.jda.api.entities.Member
-
The
VoiceState
of this Member. - getVoiceState() - Method in class net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
- getVoiceState() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
-
The voice state for the guild
- getVoiceState() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
The current voice state of the member.
- getVoiceStates() - Method in interface net.dv8tion.jda.api.entities.Guild
- getWebhook() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
-
The
Webhook
that the target id of this audit-log entry refers to - getWebhook() - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
The target
Webhook
that will be modified by this manager - getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Gets the widget that to which this member belongs
- getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the Widget to which this voice channel belongs
- getWidget() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- getWidget(long) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidget(String) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidgetBanner(String, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidgetBanner(Guild, WidgetUtil.BannerType) - Static method in class net.dv8tion.jda.api.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidth() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
The width of the Attachment if this Attachment is an image/video.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
-
The width of the image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
-
The width of the thumbnail image.
- getWidth() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
-
The width of the video.
- GIF - net.dv8tion.jda.api.entities.Icon.IconType
-
GIF
- GITHUB - Static variable in class net.dv8tion.jda.api.JDAInfo
- givePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - givePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - GRACEFUL_CLOSE - net.dv8tion.jda.api.requests.CloseCode
- grant(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
bits to the selectedPermissionOverride
. - grant(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- grant(Permission...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Grants the specified permissions.
- GROUP - net.dv8tion.jda.api.entities.ChannelType
-
A Group.
- GROUP - net.dv8tion.jda.api.entities.Invite.InviteType
- Guild - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord
Guild
. - GUILD - net.dv8tion.jda.api.audit.TargetType
- GUILD - net.dv8tion.jda.api.entities.Invite.InviteType
- GUILD_AFK_CHANNEL - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getAfkChannel()
value represented by a VoiceChannel ID. - GUILD_AFK_TIMEOUT - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
AFKTimeout
of a Guild. - GUILD_BOOST_TIER_1 - net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 1
- GUILD_BOOST_TIER_2 - net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 2
- GUILD_BOOST_TIER_3 - net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce the server has reached tier 3
- GUILD_EXPLICIT_CONTENT_FILTER - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getExplicitContentLevel()
of a Guild. - GUILD_ICON - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Icon ID
of a Guild. - GUILD_MEMBER_BOOST - net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to announce a new booster
- GUILD_MEMBER_JOIN - net.dv8tion.jda.api.entities.MessageType
-
Specialized message used to welcome new members in a Guild
- GUILD_MFA_LEVEL - net.dv8tion.jda.api.audit.AuditLogKey
- GUILD_NAME - net.dv8tion.jda.api.audit.AuditLogKey
-
Change for the
Guild.getName()
value - GUILD_NOTIFICATION_LEVEL - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getDefaultNotificationLevel()
value. - GUILD_OWNER - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of User ID for the owner of a
Guild
- GUILD_PRUNE_DELETE_DAYS - net.dv8tion.jda.api.audit.AuditLogKey
-
Days of inactivity for a prune event.
- GUILD_REGION - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of region represented by a key.
- GUILD_SPLASH - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Splash ID
of a Guild. - GUILD_SYSTEM_CHANNEL - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getSystemChannel()
value represented by a TextChannel ID. - GUILD_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated
Guild
information. - GUILD_VANITY_URL_CODE - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVanityCode()
value. - GUILD_VERIFICATION_LEVEL - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Guild.getVerificationLevel()
value. - GUILD_WIDGET_CHANNEL_ID - net.dv8tion.jda.api.audit.AuditLogKey
-
The target channel for a widget
- GUILD_WIDGET_ENABLED - net.dv8tion.jda.api.audit.AuditLogKey
-
Whether the guild widget is disabled or enabled
- Guild.Ban - Class in net.dv8tion.jda.api.entities
-
Represents a Ban object.
- Guild.BoostTier - Enum in net.dv8tion.jda.api.entities
-
The boost tier for this guild.
- Guild.ExplicitContentLevel - Enum in net.dv8tion.jda.api.entities
-
The Explicit-Content-Filter Level of a Guild.
- Guild.MFALevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Multifactor Authentication level required by the Guild.
- Guild.NotificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Notification-level of the Guild.
- Guild.Timeout - Enum in net.dv8tion.jda.api.entities
-
Represents the idle time allowed until a user is moved to the AFK
VoiceChannel
if one is set (Guild.getAfkChannel()
). - Guild.VerificationLevel - Enum in net.dv8tion.jda.api.entities
-
Represents the Verification-Level of the Guild.
- GuildAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow for the creation ofGuilds
. - GuildAction.ChannelData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAction.RoleData - Class in net.dv8tion.jda.api.requests.restaction
- GuildAvailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became available. - GuildAvailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildAvailableEvent
- GuildBanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildBanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildBanEvent
- GuildChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a
Guild
channel. - GuildJoinEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
. - GuildJoinEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildJoinEvent
- GuildLeaveEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you left a
Guild
. - GuildLeaveEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildLeaveEvent
- GuildManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Guild
. - GuildMemberJoinEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberJoinEvent
- GuildMemberLeaveEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberLeaveEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberLeaveEvent
- GuildMemberRoleAddEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleAddEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent
- GuildMemberRoleRemoveEvent - Class in net.dv8tion.jda.api.events.guild.member
- GuildMemberRoleRemoveEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent
- GuildMemberUpdateBoostTimeEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateBoostTimeEvent(JDA, long, Member, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- GuildMemberUpdateNicknameEvent - Class in net.dv8tion.jda.api.events.guild.member.update
- GuildMemberUpdateNicknameEvent(JDA, long, Member, String) - Constructor for class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- GuildMessageDeleteEvent - Class in net.dv8tion.jda.api.events.message.guild
-
Indicates that a Guild Message was deleted.
- GuildMessageDeleteEvent(JDA, long, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.message.guild.GuildMessageDeleteEvent
- GuildMessageEmbedEvent - Class in net.dv8tion.jda.api.events.message.guild
-
Indicates that a Guild Message contains one or more
Embeds
. - GuildMessageEmbedEvent(JDA, long, long, TextChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.api.events.message.guild.GuildMessageEmbedEvent
- GuildMessageReactionAddEvent - Class in net.dv8tion.jda.api.events.message.guild.react
-
Indicates that a
MessageReaction
was added to a Message in a Guild - GuildMessageReactionAddEvent(JDA, long, Member, MessageReaction) - Constructor for class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionAddEvent
- GuildMessageReactionRemoveAllEvent - Class in net.dv8tion.jda.api.events.message.guild.react
-
Indicates that the reactions for a
Message
were cleared by a moderator in a guild. - GuildMessageReactionRemoveAllEvent(JDA, long, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionRemoveAllEvent
- GuildMessageReactionRemoveEvent - Class in net.dv8tion.jda.api.events.message.guild.react
-
Indicates that a
MessageReaction
was removed from a Message in a Guild - GuildMessageReactionRemoveEvent(JDA, long, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.guild.react.GuildMessageReactionRemoveEvent
- GuildMessageReceivedEvent - Class in net.dv8tion.jda.api.events.message.guild
-
Indicates that a Message is received in a
TextChannel
. - GuildMessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent
- GuildMessageUpdateEvent - Class in net.dv8tion.jda.api.events.message.guild
-
Indicates that a Message was edited in a
TextChannel
. - GuildMessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.guild.GuildMessageUpdateEvent
- GuildReadyEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
finished setting up
This event is fired if a guild finished setting up during login phase. - GuildReadyEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildReadyEvent
- GuildUnavailableEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that a
Guild
became unavailable. - GuildUnavailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnavailableEvent
- GuildUnavailableException - Exception in net.dv8tion.jda.api.exceptions
-
Deprecated.This will be removed in favor of a better system which does not keep unavailable guilds in cache in the first place.
- GuildUnavailableException() - Constructor for exception net.dv8tion.jda.api.exceptions.GuildUnavailableException
-
Deprecated.Creates a new GuildUnavailableException instance
- GuildUnavailableException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.GuildUnavailableException
-
Deprecated.Creates a new GuildUnavailableException instance
- GuildUnbanEvent - Class in net.dv8tion.jda.api.events.guild
- GuildUnbanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.api.events.guild.GuildUnbanEvent
- GuildUpdateAfkChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the afk-channel of a
Guild
changed. - GuildUpdateAfkChannelEvent(JDA, long, Guild, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- GuildUpdateAfkTimeoutEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
AFK-Timeout
of aGuild
changed. - GuildUpdateAfkTimeoutEvent(JDA, long, Guild, Guild.Timeout) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- GuildUpdateBannerEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateBannerEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- GuildUpdateBoostCountEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost count
of aGuild
changed. - GuildUpdateBoostCountEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- GuildUpdateBoostTierEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
boost tier
of aGuild
changed. - GuildUpdateBoostTierEvent(JDA, long, Guild, Guild.BoostTier) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- GuildUpdateDescriptionEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
description
of aGuild
changed. - GuildUpdateDescriptionEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- GuildUpdateExplicitContentLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
ExplicitContentLevel
of aGuild
changed. - GuildUpdateExplicitContentLevelEvent(JDA, long, Guild, Guild.ExplicitContentLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- GuildUpdateFeaturesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the features of a
Guild
changed. - GuildUpdateFeaturesEvent(JDA, long, Guild, Set<String>) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- GuildUpdateIconEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the Icon of a
Guild
changed. - GuildUpdateIconEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- GuildUpdateMaxMembersEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum member limit
of aGuild
changed. - GuildUpdateMaxMembersEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- GuildUpdateMaxPresencesEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
maximum presences limit
of aGuild
changed. - GuildUpdateMaxPresencesEvent(JDA, long, Guild, int) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- GuildUpdateMFALevelEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateMFALevelEvent(JDA, long, Guild, Guild.MFALevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- GuildUpdateNameEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the name of a
Guild
changed. - GuildUpdateNameEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- GuildUpdateNotificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
NotificationLevel
of aGuild
changed. - GuildUpdateNotificationLevelEvent(JDA, long, Guild, Guild.NotificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- GuildUpdateOwnerEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the owner of a
Guild
changed. - GuildUpdateOwnerEvent(JDA, long, Guild, Member, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- GuildUpdateRegionEvent - Class in net.dv8tion.jda.api.events.guild.update
- GuildUpdateRegionEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
- GuildUpdateSplashEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the splash of a
Guild
changed. - GuildUpdateSplashEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- GuildUpdateSystemChannelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the system channel of a
Guild
changed. - GuildUpdateSystemChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- GuildUpdateVanityCodeEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
vanity url
of aGuild
changed. - GuildUpdateVanityCodeEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- GuildUpdateVerificationLevelEvent - Class in net.dv8tion.jda.api.events.guild.update
-
Indicates that the
VerificationLevel
of aGuild
changed. - GuildUpdateVerificationLevelEvent(JDA, long, Guild, Guild.VerificationLevel) - Constructor for class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- GuildVoiceDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened. - GuildVoiceDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
- GuildVoiceGuildDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)deafened by a moderator. - GuildVoiceGuildDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
- GuildVoiceGuildMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted by a moderator. - GuildVoiceGuildMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
- GuildVoiceJoinEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
connected to aVoiceChannel
. - GuildVoiceJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceJoinEvent
- GuildVoiceLeaveEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
disconnected from aVoiceChannel
. - GuildVoiceLeaveEvent(JDA, long, Member, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceLeaveEvent
- GuildVoiceMoveEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
moves betweenVoiceChannels
. - GuildVoiceMoveEvent(JDA, long, Member, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMoveEvent
- GuildVoiceMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)muted. - GuildVoiceMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
- GuildVoiceSelfDeafenEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)deafened itself. - GuildVoiceSelfDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
- GuildVoiceSelfMuteEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
(un-)muted itself. - GuildVoiceSelfMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
- GuildVoiceState - Interface in net.dv8tion.jda.api.entities
- GuildVoiceSuppressEvent - Class in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
was (un-)suppressed. - GuildVoiceSuppressEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
- GuildVoiceUpdateEvent - Interface in net.dv8tion.jda.api.events.guild.voice
-
Indicates that a
Member
joined or left aVoiceChannel
.
H
- handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- handle(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Handles the provided
GenericEvent
. - handle(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- handleCombinedAudio(CombinedAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveCombined()
returns true, JDA will provide aCombinedAudio
object to this method every 20 milliseconds. - handleEncodedAudio(OpusPacket) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveEncoded()
returns true, JDA will provide rawOpusPackets
to this method every 20 milliseconds. - handleResponse(Response) - Method in class net.dv8tion.jda.api.requests.Request
- handleUserAudio(UserAudio) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveUser()
returns true, JDA will provide aUserAudio
object to this method every time the user speaks. Continuing with the last statement: This method is only fired when discord provides us audio data which is very different from the scheduled firing time ofAudioReceiveHandler.handleCombinedAudio(CombinedAudio)
. - hasCount() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this reaction can provide a count via
MessageReaction.getCount()
. - hashCode() - Method in class net.dv8tion.jda.api.audio.OpusPacket
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- hashCode() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- hashCode() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- hashCode() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- hashCode() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- hashCode() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- hasKey(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is present.
- hasLatestMessage() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Whether this MessageChannel contains a tracked most recent message or not.
- hasNext() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- hasNext() - Method in class net.dv8tion.jda.api.utils.LockIterator
- hasPermission(Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the Guild. - hasPermission(GuildChannel, Collection<Permission>) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the specified GuildChannel. - hasPermission(GuildChannel, Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the specified GuildChannel. - hasPermission(Permission...) - Method in interface net.dv8tion.jda.api.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the Guild. - hasPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Whether or not the currently logged in user and this user have a currently open
PrivateChannel
or not. - hasRoles() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Deprecated.This will be replaced by
Emote.canProvideRoles()
- hasUser() - Method in interface net.dv8tion.jda.api.entities.ListedEmote
-
Whether this Emote has information about the creator.
- here(Consumer<? super Throwable>) - Static method in exception net.dv8tion.jda.api.exceptions.ContextException
-
Creates a wrapping
Consumer
for the provided target. - HERE - net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for all active users, literal
@here
- herePrintingTrace() - Static method in exception net.dv8tion.jda.api.exceptions.ContextException
-
Creates a failure consumer that appends a context cause before printing the stack trace using
Throwable.printStackTrace()
. - HierarchyException - Exception in net.dv8tion.jda.api.exceptions
- HierarchyException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.HierarchyException
- HIGH - net.dv8tion.jda.api.entities.Guild.VerificationLevel
- HOIST - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the hoisted field
- HONG_KONG - net.dv8tion.jda.api.Region
- HttpException - Exception in net.dv8tion.jda.api.exceptions
- HttpException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.HttpException
- HttpException(String, Throwable) - Constructor for exception net.dv8tion.jda.api.exceptions.HttpException
- HttpRequestEvent - Class in net.dv8tion.jda.api.events.http
-
Indicates that a
RestAction
has been executed. - HttpRequestEvent(Request<?>, Response) - Constructor for class net.dv8tion.jda.api.events.http.HttpRequestEvent
I
- IAudioSendFactory - Interface in net.dv8tion.jda.api.audio.factory
-
Factory interface for the creation of new
IAudioSendSystem
objects. - IAudioSendSystem - Interface in net.dv8tion.jda.api.audio.factory
-
Interface that acts as a UDP audio packet sending loop.
- Icon - Class in net.dv8tion.jda.api.entities
-
Icon containing a base64 encoded jpeg/png/gif/gifv image.
- ICON - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the icon field
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Template for
ApplicationTeam.getIconUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.Emote
-
Template for
Emote.getImageUrl()
- ICON_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getIconUrl()
. - Icon.IconType - Enum in net.dv8tion.jda.api.entities
-
Supported image types for the Discord API.
- ID - net.dv8tion.jda.api.audit.AuditLogKey
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID - net.dv8tion.jda.api.audit.AuditLogOption
-
This is sometimes visible for
ActionTypes
which create a new entity. - IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNSFWEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateParentEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateSlowmodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateTopicEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateParentEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.emote.update.EmoteUpdateRolesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.GatewayPingEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateBoostTimeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.member.update.GuildMemberUpdateNicknameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateAfkTimeoutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBannerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostCountEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateBoostTierEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateDescriptionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateExplicitContentLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateFeaturesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxMembersEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMaxPresencesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateMFALevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateNotificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateOwnerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateRegionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateSystemChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVanityCodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.guild.update.GuildUpdateVerificationLevelEvent
- IDENTIFIER - Static variable in interface net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateEmailEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateMobileEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateNitroEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdatePhoneNumberEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.StatusChangeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- IDENTIFY_DELAY - Static variable in interface net.dv8tion.jda.api.utils.SessionController
-
The default delay (in seconds) to wait between running
SessionConnectNodes
- IDENTIFYING_SESSION - net.dv8tion.jda.api.JDA.Status
-
JDA has successfully connected it's websocket to Discord and is sending authentication
- IDLE - net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently idle (orange circle)
- IEventManager - Interface in net.dv8tion.jda.api.hooks
-
An interface for JDA's EventManager system.
- IFakeable - Interface in net.dv8tion.jda.api.entities
-
Marks a fakeable entity.
- ignore(Collection<ErrorResponse>) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, Collection<ErrorResponse>) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(Consumer<? super Throwable>, ErrorResponse, ErrorResponse...) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- ignore(ErrorResponse, ErrorResponse...) - Static method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Ignore the specified set of error responses.
- Image(long, String, String) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Image
- IMAGE - net.dv8tion.jda.api.entities.EmbedType
- ImageInfo(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.ImageInfo
- IMentionable - Interface in net.dv8tion.jda.api.entities
-
Marks a mentionable entity.
- include(long...) - Static method in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Factory method to chunk a whitelist of guild ids.
- includeUserInCombinedAudio(User) - Method in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
This method is a filter predicate used by JDA to determine whether or not to include a
User
's audio when creating a CombinedAudio packet. - INCOMING - net.dv8tion.jda.api.entities.WebhookType
-
Normal webhooks that can be used for sending messages
- Incubating - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with Incubating might change in a future release.
- indexOf(CharSequence, int, int) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the index within this string of the first occurrence of the specified substring between the specified indices.
- INDIA - net.dv8tion.jda.api.Region
- INITIALIZED - net.dv8tion.jda.api.JDA.Status
-
JDA has finished setting up supporting systems and is ready to log in.
- INITIALIZING - net.dv8tion.jda.api.JDA.Status
-
JDA is currently setting up supporting systems like the AudioSystem.
- INPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
Audio Input Format expected by JDA if
AudioSendHandler.isOpus()
returns false. - insert(int, Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Inserts the specified value at the provided index.
- installAuxiliaryPort() - Method in interface net.dv8tion.jda.api.JDA
-
Installs an auxiliary port for audio transfer.
- INSTANCE - net.dv8tion.jda.api.entities.ActivityFlag
- InsufficientPermissionException - Exception in net.dv8tion.jda.api.exceptions
- InsufficientPermissionException(GuildChannel, Permission) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(GuildChannel, Permission, String) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Guild, Permission, String) - Constructor for exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException
- INT - net.dv8tion.jda.api.utils.data.DataType
- INTEGRATION - net.dv8tion.jda.api.audit.TargetType
- INTEGRATION_CREATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has added an integration to the guild
- INTEGRATION_DELETE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has removed an integration from the guild
- INTEGRATION_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated an integration of the guild
- InterfacedEventManager - Class in net.dv8tion.jda.api.hooks
-
An
IEventManager
implementation that uses theEventListener
interface for event listeners. - InterfacedEventManager() - Constructor for class net.dv8tion.jda.api.hooks.InterfacedEventManager
- INTERNAL_SERVER_ERROR - net.dv8tion.jda.api.requests.CloseCode
- INVALID_ACCOUNT_TYPE - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_API_VERSION - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_AUTHOR_EDIT - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_BULK_DELETE_MESSAGE_AGE - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_DM_ACTION - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_FORM_BODY - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MESSAGE_TARGET - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_MFA_LEVEL - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_ACCESS_TOKEN - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_OAUTH_STATE - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PASSWORD - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_PIN - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_SEQ - net.dv8tion.jda.api.requests.CloseCode
- INVALID_SHARD - net.dv8tion.jda.api.requests.CloseCode
- INVALID_TOKEN - net.dv8tion.jda.api.requests.ErrorResponse
- INVALID_WEBHOOK_TOKEN - net.dv8tion.jda.api.requests.ErrorResponse
- INVISIBLE - net.dv8tion.jda.api.OnlineStatus
-
Indicates that the currently logged in account is set to invisible and shows up as
OnlineStatus.OFFLINE
for other users. - Invite - Interface in net.dv8tion.jda.api.entities
-
Representation of a Discord Invite.
- INVITE - net.dv8tion.jda.api.audit.TargetType
- INVITE_CHANNEL - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getChannel()
ID for the targetInvite
Use withJDA.getTextChannelById(String)
orJDA.getVoiceChannelById(String)
- INVITE_CODE - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getCode()
for the targetInvite
Use withInvite.resolve(net.dv8tion.jda.api.JDA, String)
Invite.resolve(JDA, String)} - INVITE_CODE_INVALID - net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_CREATE - net.dv8tion.jda.api.audit.ActionType
-
Someone has created an
Invite
. - INVITE_DELETE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted an
Invite
. - INVITE_FOR_UNKNOWN_GUILD - net.dv8tion.jda.api.requests.ErrorResponse
- INVITE_INVITER - net.dv8tion.jda.api.audit.AuditLogKey
- INVITE_MAX_AGE - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxAge()
for the targetInvite
- INVITE_MAX_USES - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getMaxUses()
for the targetInvite
- INVITE_PATTERN - Static variable in interface net.dv8tion.jda.api.entities.Message
-
Pattern used to find instant invites in messages.
- INVITE_TEMPORARY - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.isTemporary()
for the targetInvite
- INVITE_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An
Invite
has been updated. - INVITE_USES - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Invite.getUses()
for the targetInvite
- Invite.Channel - Interface in net.dv8tion.jda.api.entities
-
POJO for the channel information provided by an invite.
- Invite.Group - Interface in net.dv8tion.jda.api.entities
-
POJO for the group information provided by an invite.
- Invite.Guild - Interface in net.dv8tion.jda.api.entities
-
POJO for the guild information provided by an invite.
- Invite.InviteType - Enum in net.dv8tion.jda.api.entities
-
Enum representing the type of an invite.
- InviteAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Invite
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createInvites
. - INVITED - net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
The user has a pending invite
- inVoiceChannel() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Used to determine if the
Member
is currently in aVoiceChannel
in theGuild
returned fromgetGuild()
.
If this isfalse
,getChannel()
will returnnull
. - inVoiceChannel() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Used to determine if the member is currently in a voice channel.
- IOBiConsumer<T,R> - Interface in net.dv8tion.jda.api.utils
- IOConsumer<T> - Interface in net.dv8tion.jda.api.utils
- IOFunction<T,R> - Interface in net.dv8tion.jda.api.utils
- IPacketProvider - Interface in net.dv8tion.jda.api.audio.factory
-
Represents the connection between a
IAudioSendSystem
and JDA's internal audio system, providing access to audio packets built from data provided fromAudioSendHandlers
. - IPermissionHolder - Interface in net.dv8tion.jda.api.entities
-
Marker for entities that hold Permissions within JDA
- isAnimated() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this emoji is animated.
- isAnimated() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether or not this Emote is animated.
- isAscendingOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Whether this instance uses ascending order, from the lowest position to the highest.
- isAttemptingToConnect() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
This can be used to find out if JDA is currently attempting to setup an audio connection.
- isAudioSupported() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether the opus library is loaded or not.
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.JDA
-
USed to determine whether or not autoReconnect is enabled for JDA.
- isAutoReconnect() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether audio connections from this AudioManager automatically reconnect
- isAvailable() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deprecated.This will be removed in a future version, unavailable guilds are now removed from cache
- isAvailable() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
-
Shows whether or not the widget for a guild is available.
- isBot() - Method in interface net.dv8tion.jda.api.entities.User
-
Returns whether or not the given user is a Bot-Account (special badge in client, some different behaviour)
- isBot() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
-
Returns whether or not the given member is a bot account
- isBotPublic() - Method in interface net.dv8tion.jda.api.entities.ApplicationInfo
-
Whether the bot is public or not.
- isBulkDeleteSplittingEnabled() - Method in interface net.dv8tion.jda.api.JDA
-
Used to determine if JDA will process MESSAGE_DELETE_BULK messages received from Discord as a single
MessageBulkDeleteEvent
or split the deleted messages up and fire multipleMessageDeleteEvents
, one for each deleted message. - isCacheEnabled() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether retrieved entities are stored within an internal cache.
- isCanceled() - Method in class net.dv8tion.jda.api.requests.Request
- isChannel() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present Channel level (configurable via
PermissionsOverrides
) - isClosedByServer() - Method in class net.dv8tion.jda.api.events.DisconnectEvent
-
Whether the connection was closed by discord
- isConnected() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
This can be used to find out if JDA currently has an active audio connection with a
VoiceChannel
. - isDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is deafened, either by choiceGuildVoiceState.isSelfDeafened()
or deafened by an adminGuildVoiceState.isGuildDeafened()
- isDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceDeafenEvent
-
Whether the member was deafened in this event.
- isDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened, either by an admin or self-deafened
- isEdit() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether this MessageAction will be used to update an existing message.
- isEdited() - Method in interface net.dv8tion.jda.api.entities.Message
-
Returns whether or not this Message has been edited before.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this is a unicode emoji.
- isEmoji() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
Whether this represents a unicode emoji.
- isEmote() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
-
Whether this is a custom emoji (Emote)
- isEmote() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
-
Whether this is an
Emote
wrapper. - isEmpty() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks if the given embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Whether this MessageHistory instance has retrieved any messages.
- isEmpty() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Checks if the message contains any contend.
- isEmpty() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether this MessageAction has no values set.
- isEmpty() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Whether the cache of this PaginationAction is empty.
- isEmpty() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Whether the cache is empty
- isEmpty() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether this array is empty
- isError() - Method in class net.dv8tion.jda.api.requests.Response
- isExpanded() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite is expanded or not.
- isFake() - Method in interface net.dv8tion.jda.api.entities.IFakeable
-
Describes whether an entity is fake or not.
- isFromGuild() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether this message was sent in a
Guild
. - isFromGuild() - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Whether this message was sent in a
Guild
. - isFromType(ChannelType) - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to determine if this Message was received from a
MessageChannel
of theChannelType
specified. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether this Reaction was used in a
MessageChannel
of the specifiedChannelType
. - isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.message.GenericMessageEvent
-
Indicates whether the message is from the specified
ChannelType
- isFromType(ChannelType) - Method in class net.dv8tion.jda.api.events.user.UserTypingEvent
-
Whether the user started typing in a channel of the specified type.
- isGuild() - Method in enum net.dv8tion.jda.api.entities.ChannelType
-
Whether this ChannelType is present for a
GuildChannel
- isGuild() - Method in enum net.dv8tion.jda.api.Permission
-
Returns whether or not this Permission is present at the Guild level (configurable via
Roles
) - isGuildDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got deafened by an Admin - isGuildDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
-
Whether the member was deafened by a moderator in this event
- isGuildDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened by an admin
- isGuildMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
got muted by an Admin - isGuildMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildMuteEvent
-
Whether the member was muted by a moderator in this event
- isGuildMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted by an admin
- isHoisted() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is hoisted
Members in a hoisted role are displayed in their own grouping on the user-list - isIdle() - Method in interface net.dv8tion.jda.api.managers.Presence
-
Whether the current session is marked as afk or not.
- isImage() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is an Image, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isInit() - Method in enum net.dv8tion.jda.api.JDA.Status
- isInitialized() - Static method in class net.dv8tion.jda.api.audio.AudioNatives
-
Whether this class was already initialized or not.
- isInline() - Method in class net.dv8tion.jda.api.entities.MessageEmbed.Field
-
If the field is in line.
- isLoaded() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Whether this guild has loaded members.
- isLogged() - Method in class net.dv8tion.jda.api.events.ExceptionEvent
-
Whether this Throwable was already printed using the JDA logging system
- isManaged() - Method in interface net.dv8tion.jda.api.entities.Emote
-
Whether this emote is managed.
- isManaged() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether this
Role
is managed by an integration - isManaged() - Method in class net.dv8tion.jda.api.events.emote.GenericEmoteEvent
-
Whether this emote is managed by an integration
- isMember() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aMember
or not - isMember(User) - Method in interface net.dv8tion.jda.api.entities.ApplicationTeam
-
Check whether
ApplicationTeam.getMember(User)
returns null for the provided user. - isMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to determine if the provided
User
is a member of this Guild. - isMemberOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this
PermissionOverride
relates to a specificMember
. - isMentionable() - Method in interface net.dv8tion.jda.api.entities.Role
-
Whether or not this Role is mentionable
- isMentioned(IMentionable, Message.MentionType...) - Method in interface net.dv8tion.jda.api.entities.Message
-
Checks if given
IMentionable
was mentioned in this message in any way (@User, @everyone, @here, @Role). - isMfaEnabled() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
If true, this account is protected by Multi-Factor authorization.
- isMobile() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
Shows whether there has ever been a mobile app connected to this account.
- isMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
is muted, either by choiceGuildVoiceState.isSelfMuted()
or deafened by an adminGuildVoiceState.isGuildMuted()
- isMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceMuteEvent
-
Whether the member was muted in this event.
- isMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted, either by an admin or self-muted
- isNitro() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The Discord Nitro status of this account.
- ISnowflake - Interface in net.dv8tion.jda.api.entities
-
Marks a snowflake entity.
- isNSFW() - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Whether or not this channel is considered as "NSFW" (Not-Safe-For-Work)
This will check whether the name of this TextChannel begins withnsfw-
or is equal tonsfw
! - isNull(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is null.
- isNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is missing or null
- isOk() - Method in class net.dv8tion.jda.api.requests.Response
- isOpus() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If this method returns true JDA will treat the audio data provided by
AudioSendHandler.provide20MsAudio()
as a pre-encoded 20 Millisecond packet of Opus audio. - isOwner() - Method in interface net.dv8tion.jda.api.entities.Member
-
Checks whether this member is the owner of its related
Guild
. - isPassContext() - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
Whether RestActions will use
ContextException
automatically to keep track of the caller context. - isPermissionChecksEnabled() - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Whether internal checks for missing permissions are enabled
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - isPinned() - Method in interface net.dv8tion.jda.api.entities.Message
-
Whether or not this Message has been pinned in its parent channel.
- isPublicRole() - Method in interface net.dv8tion.jda.api.entities.Role
- isRateLimit() - Method in class net.dv8tion.jda.api.events.http.HttpRequestEvent
- isRateLimit() - Method in class net.dv8tion.jda.api.requests.Response
- isReconnect() - Method in enum net.dv8tion.jda.api.requests.CloseCode
-
Whether the gateway client will attempt to reconnect when this close code appears
- isReconnect() - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
Whether this node is reconnecting.
- isRich() - Method in interface net.dv8tion.jda.api.entities.Activity
- isRole() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aRole
or not - isRoleOverride() - Method in interface net.dv8tion.jda.api.entities.PermissionOverride
-
Used to determine if this
PermissionOverride
relates to a specificRole
. - isSelf() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Whether the currently logged in account has reacted with this reaction
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
deafened themselves. - isSelfDeafened() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfDeafenEvent
-
Whether the member deafened itself in this event
- isSelfDeafened() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are deafened.
- isSelfDeafened() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-deafened
- isSelfMuted() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns whether the
Member
muted themselves. - isSelfMuted() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSelfMuteEvent
-
Whether the member muted itself in this event
- isSelfMuted() - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Whether connections from this AudioManager are muted, if this is
true
packages by the registeredAudioSendHandler
will be ignored by Discord. - isSelfMuted() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-muted
- isSendable(AccountType) - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Whether this MessageEmbed can be used in a message.
- isServerError() - Method in exception net.dv8tion.jda.api.exceptions.ErrorResponseException
-
Whether this is an internal server error from discord (status 500)
- isSuppressed() - Method in interface net.dv8tion.jda.api.entities.GuildVoiceState
-
Returns true if this
Member
is unable to speak because the channel is actively suppressing audio communication. - isSuppressed() - Method in class net.dv8tion.jda.api.events.guild.voice.GuildVoiceSuppressEvent
-
Whether the member was suppressed in this event
- isSuppressed() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is suppressed
- isTemporary() - Method in interface net.dv8tion.jda.api.entities.Invite
-
Whether this Invite grants only temporary access or not
- isText() - Method in enum net.dv8tion.jda.api.Permission
-
Whether this permission is specifically for
TextChannels
- isTTS() - Method in interface net.dv8tion.jda.api.entities.Message
-
Defines whether or not this Message triggers TTS (Text-To-Speech).
- isType(int, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Whether the value at the specified index is of the specified type.
- isType(Object) - Method in enum net.dv8tion.jda.api.utils.data.DataType
-
Tests whether the type for the provided value is the one represented by this enum constant.
- isType(String, DataType) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Whether the specified key is of the specified type.
- isValidLength(AccountType) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Checks whether the constructed
MessageEmbed
is within the limits for the specifiedAccountType
Bot: 6000 Client: 2000 - isValidStreamingUrl(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Checks if a given String is a valid Twitch/Youtube streaming url (ie, one that will display "Streaming" on the Discord client).
- isVerified() - Method in interface net.dv8tion.jda.api.entities.SelfUser
-
The status of this account's verification.
- isVideo() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Whether or not this attachment is a video, based on
Message.Attachment.getWidth()
,Message.Attachment.getHeight()
, andMessage.Attachment.getFileExtension()
. - isVip() - Method in enum net.dv8tion.jda.api.Region
-
Whether or not this Region is a VIP region.
- isVoice() - Method in enum net.dv8tion.jda.api.Permission
-
Whether this permission is specifically for
VoiceChannels
- isWebhookMessage() - Method in interface net.dv8tion.jda.api.entities.Message
- isWebhookMessage() - Method in class net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- isWebhookMessage() - Method in class net.dv8tion.jda.api.events.message.MessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- italics(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing italics (with underscore) regions in the input and applies italics formatting to the entire string.
- ITALICS - net.dv8tion.jda.api.MessageBuilder.Formatting
- ITALICS_A - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for asterisks such as "*Hello*"
- ITALICS_U - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Italics region for underline such as "_Hello_"
- iterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
PaginationIterator
that will iterate over all entities for this PaginationAction. - iterator() - Method in class net.dv8tion.jda.api.utils.data.DataArray
J
- JAPAN - net.dv8tion.jda.api.Region
- JDA - Interface in net.dv8tion.jda.api
-
The core of JDA.
- JDA.ShardInfo - Class in net.dv8tion.jda.api
-
Represents the information used to create this shard.
- JDA.Status - Enum in net.dv8tion.jda.api
-
Represents the connection status of JDA and its Main WebSocket.
- JDABuilder - Class in net.dv8tion.jda.api
-
Used to create new
JDA
instances. - JDABuilder() - Constructor for class net.dv8tion.jda.api.JDABuilder
-
Creates a completely empty JDABuilder.
- JDABuilder(String) - Constructor for class net.dv8tion.jda.api.JDABuilder
-
Creates a JDABuilder with the predefined token.
- JDABuilder(AccountType) - Constructor for class net.dv8tion.jda.api.JDABuilder
-
Creates a completely empty JDABuilder.
- JDAInfo - Class in net.dv8tion.jda.api
-
Contains information to this specific build of JDA.
- JDAInfo() - Constructor for class net.dv8tion.jda.api.JDAInfo
- JOIN - net.dv8tion.jda.api.entities.ActivityFlag
- JOIN - net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to join a game. - JOIN_REQUEST - net.dv8tion.jda.api.entities.ActivityFlag
- JOIN_REQUEST - net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for requesting to join a game. - JPEG - net.dv8tion.jda.api.entities.Icon.IconType
-
JPEG
- JSON_SERIALIZE_ARRAY - Static variable in class net.dv8tion.jda.api.requests.Response
- JSON_SERIALIZE_OBJECT - Static variable in class net.dv8tion.jda.api.requests.Response
K
- keys() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Set
of all keys in this DataObject. - kick() - Method in interface net.dv8tion.jda.api.entities.Member
-
Kicks this Member from the
Guild
. - kick(String) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(String) - Method in interface net.dv8tion.jda.api.entities.Member
-
Kicks this from the
Guild
. - kick(String, String) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
- kick(Member, String) - Method in interface net.dv8tion.jda.api.entities.Guild
- KICK - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has kicked a member.
- KICK_MEMBERS - net.dv8tion.jda.api.Permission
- kickVoiceMember(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to kick a
Member
from aVoiceChannel
.
L
- lastIndexOf(CharSequence, int, int) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the index within this string of the last occurrence of the specified substring between the specified indices.
- leave() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Used to leave a Guild.
- length() - Method in class net.dv8tion.jda.api.EmbedBuilder
-
The overall length of the current EmbedBuilder in displayed characters.
- length() - Method in class net.dv8tion.jda.api.MessageBuilder
-
Returns the current length of the content that will be built into a
Message
whenMessageBuilder.build()
is called. - length() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
The length of the array.
- LIGHT - net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
- limit(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Sets the limit that should be used in the next RestAction completion call.
- limit(Integer) - Method in class net.dv8tion.jda.api.entities.MessageHistory.MessageRetrieveAction
-
Limit between 1-100 messages that should be retrieved.
- LINK - net.dv8tion.jda.api.entities.EmbedType
- ListedEmote - Interface in net.dv8tion.jda.api.entities
-
Represents an emote retrieved from
Guild.retrieveEmotes()
orGuild.retrieveEmoteById(long)
- ListenerAdapter - Class in net.dv8tion.jda.api.hooks
-
An abstract implementation of
EventListener
which dividesEvents
for you. - ListenerAdapter() - Constructor for class net.dv8tion.jda.api.hooks.ListenerAdapter
- ListenerProxy - Class in net.dv8tion.jda.api.audio.hooks
- ListenerProxy() - Constructor for class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- listening(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- LISTENING - net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asListening...
in the official client. - LISTENING - net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to listen (Spotify) together. - LOADING_SUBSYSTEMS - net.dv8tion.jda.api.JDA.Status
-
JDA is populating internal objects.
- locked(ReentrantLock, Runnable) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- locked(ReentrantLock, Supplier<E>) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- lockedIterator() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Returns an iterator with direct access to the underlying data store.
- LockIterator<T> - Class in net.dv8tion.jda.api.utils
-
Simple implementation of a
ClosableIterator
that uses a lock. - LockIterator(Iterator<? extends T>, Lock) - Constructor for class net.dv8tion.jda.api.utils.LockIterator
- LOG - Static variable in interface net.dv8tion.jda.api.managers.AudioManager
- LOG - Static variable in class net.dv8tion.jda.api.sharding.DefaultShardManager
- LOGGING_IN - net.dv8tion.jda.api.JDA.Status
-
JDA is currently attempting to log in.
- login() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- LONDON - net.dv8tion.jda.api.Region
- LOW - net.dv8tion.jda.api.entities.Guild.VerificationLevel
M
- make(ScheduledExecutorService, long, TimeUnit, Function<? super DelayedCompletableFuture<E>, ? extends Runnable>) - Static method in class net.dv8tion.jda.api.utils.concurrent.DelayedCompletableFuture
-
Creates a new DelayedCompletableFuture scheduled on the supplied executor.
- MANAGE_CHANNEL - net.dv8tion.jda.api.Permission
- MANAGE_EMOTES - net.dv8tion.jda.api.Permission
- MANAGE_PERMISSIONS - net.dv8tion.jda.api.Permission
- MANAGE_ROLES - net.dv8tion.jda.api.Permission
- MANAGE_SERVER - net.dv8tion.jda.api.Permission
- MANAGE_WEBHOOKS - net.dv8tion.jda.api.Permission
- Manager<M extends Manager<M>> - Interface in net.dv8tion.jda.api.managers
- MarkdownSanitizer - Class in net.dv8tion.jda.api.utils
-
Implements and algorithm that can strip or replace markdown in any supplied string.
- MarkdownSanitizer() - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer(int, MarkdownSanitizer.SanitizationStrategy) - Constructor for class net.dv8tion.jda.api.utils.MarkdownSanitizer
- MarkdownSanitizer.SanitizationStrategy - Enum in net.dv8tion.jda.api.utils
- MarkdownUtil - Class in net.dv8tion.jda.api.utils
- maskedLink(String, String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Creates a masked link with the provided url as target.
- MAX_CHANNELS - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_CONTENT_LENGTH - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of characters sendable in one message.
- MAX_FILE_AMOUNT - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum amount of files sendable within a single message (10)
- MAX_FILE_SIZE - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum sendable file size (8 MiB)
- MAX_FILE_SIZE_NITRO - Static variable in interface net.dv8tion.jda.api.entities.Message
-
The maximum sendable file size for nitro (50 MiB)
- MAX_FRIENDS - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_GUILDS - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_MESSAGE_PINS - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_OAUTH_APPS - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_ROLES_PER_GUILD - net.dv8tion.jda.api.requests.ErrorResponse
- MAX_SLOWMODE - Static variable in interface net.dv8tion.jda.api.entities.TextChannel
-
The maximum duration of slowmode in seconds
- MAX_USERS_PER_DM - net.dv8tion.jda.api.requests.ErrorResponse
- MEDIUM - net.dv8tion.jda.api.entities.Guild.VerificationLevel
- Member - Interface in net.dv8tion.jda.api.entities
-
Represents a Guild-specific User.
- MEMBER - net.dv8tion.jda.api.audit.TargetType
- MEMBER_DEAF - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_MUTE - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_NICK - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Member.getNickname()
value - MEMBER_ROLE_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator updated the roles of a member.
- MEMBER_ROLES_ADD - net.dv8tion.jda.api.audit.AuditLogKey
-
Roles added to
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_ROLES_REMOVE - net.dv8tion.jda.api.audit.AuditLogKey
-
Roles removed from
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
A
Member
was either updated by an administrator or the member updated itself. - MEMBER_VOICE_KICK - net.dv8tion.jda.api.audit.ActionType
-
One or more members were disconnected from a voice channel by an Administrator
- MEMBER_VOICE_MOVE - net.dv8tion.jda.api.audit.ActionType
-
One or more members were moved from one voice channel to another by an Administrator
- MemberAction - Interface in net.dv8tion.jda.api.requests.restaction
-
RestAction
extension specifically designed to allow bots to addUsers
to Guilds. - MemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- MEMBERS_REMOVED - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the amount of kicked members for that prune. - MENTIONABLE - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the mentionable field
- MENTIONS_ONLY - net.dv8tion.jda.api.entities.Guild.NotificationLevel
- mentionsEveryone() - Method in interface net.dv8tion.jda.api.entities.Message
-
Indicates if this Message mentions everyone using @everyone or @here.
- message - Variable in class net.dv8tion.jda.api.requests.Response
- Message - Interface in net.dv8tion.jda.api.entities
-
Represents a Text message received from Discord.
- MESSAGE - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible message id for actions of type
ActionType.MESSAGE_PIN
andActionType.MESSAGE_UNPIN
. - MESSAGE_ADD_REACTION - net.dv8tion.jda.api.Permission
- MESSAGE_ATTACH_FILES - net.dv8tion.jda.api.Permission
- MESSAGE_BULK_DELETE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has performed a bulk delete of messages in a channel
- MESSAGE_CREATE - net.dv8tion.jda.api.audit.ActionType
-
A message was created.
- MESSAGE_DELETE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted one or more
Messages
. - MESSAGE_EMBED_LINKS - net.dv8tion.jda.api.Permission
- MESSAGE_EXT_EMOJI - net.dv8tion.jda.api.Permission
- MESSAGE_HISTORY - net.dv8tion.jda.api.Permission
- MESSAGE_MANAGE - net.dv8tion.jda.api.Permission
- MESSAGE_MENTION_EVERYONE - net.dv8tion.jda.api.Permission
- MESSAGE_PIN - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pinned a message in the channel
- MESSAGE_READ - net.dv8tion.jda.api.Permission
- MESSAGE_TTS - net.dv8tion.jda.api.Permission
- MESSAGE_UNPIN - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unpinned a message in the channel
- MESSAGE_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
A message was updated.
- MESSAGE_WRITE - net.dv8tion.jda.api.Permission
- Message.Attachment - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
file attachment. - Message.MentionType - Enum in net.dv8tion.jda.api.entities
-
Mention formatting constants, useful for use with
Patterns
- MessageAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of a default
RestAction
that allows setting message information before sending! - MessageActivity - Class in net.dv8tion.jda.api.entities
-
Represents a
Message
activity. - MessageActivity(MessageActivity.ActivityType, String, MessageActivity.Application) - Constructor for class net.dv8tion.jda.api.entities.MessageActivity
- MessageActivity.ActivityType - Enum in net.dv8tion.jda.api.entities
-
An enum representing
MessageActivity
types. - MessageActivity.Application - Class in net.dv8tion.jda.api.entities
-
Represents the
Application
of aMessageActivity
if it's set. - MessageBuilder - Class in net.dv8tion.jda.api
-
Builder system used to build
Messages
. - MessageBuilder() - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(CharSequence) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(Message) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder(MessageBuilder) - Constructor for class net.dv8tion.jda.api.MessageBuilder
- MessageBuilder.Formatting - Enum in net.dv8tion.jda.api
-
Holds the available formatting used in
MessageBuilder.append(java.lang.CharSequence, net.dv8tion.jda.api.MessageBuilder.Formatting...)
- MessageBuilder.SplitPolicy - Interface in net.dv8tion.jda.api
-
Interface to allow custom implementation of Splitting rules for
MessageBuilder.buildAll(SplitPolicy...)
. - MessageBuilder.SplitPolicy.CharSequenceSplitPolicy - Class in net.dv8tion.jda.api
-
Default
MessageBuilder.SplitPolicy
implementation. - MessageBulkDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a bulk deletion is executed in a
TextChannel
. - MessageBulkDeleteEvent(JDA, long, TextChannel, List<String>) - Constructor for class net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent
- MessageChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord channel that can have
Messages
and files sent to it. - MessageDeleteEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was deleted in a
MessageChannel
. - MessageDeleteEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.MessageDeleteEvent
- MessageEmbed - Class in net.dv8tion.jda.api.entities
-
Represents an embed displayed by Discord.
- MessageEmbed(String, String, String, EmbedType, OffsetDateTime, int, MessageEmbed.Thumbnail, MessageEmbed.Provider, MessageEmbed.AuthorInfo, MessageEmbed.VideoInfo, MessageEmbed.Footer, MessageEmbed.ImageInfo, List<MessageEmbed.Field>) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed
- MessageEmbed.AuthorInfo - Class in net.dv8tion.jda.api.entities
-
Class that represents the author of content, possibly including an icon that Discord proxies.
- MessageEmbed.Field - Class in net.dv8tion.jda.api.entities
-
Represents a field in an embed.
- MessageEmbed.Footer - Class in net.dv8tion.jda.api.entities
-
Class that represents a footer at the bottom of an embed
- MessageEmbed.ImageInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed an image.
- MessageEmbed.Provider - Class in net.dv8tion.jda.api.entities
-
Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
- MessageEmbed.Thumbnail - Class in net.dv8tion.jda.api.entities
-
Represents the information Discord provided about a thumbnail image that should be displayed with an embed message.
- MessageEmbed.VideoInfo - Class in net.dv8tion.jda.api.entities
-
Represents the information provided to embed a video.
- MessageEmbedEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message contains an
Embed
in aMessageChannel
. - MessageEmbedEvent(JDA, long, long, MessageChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.api.events.message.MessageEmbedEvent
- MessageHistory - Class in net.dv8tion.jda.api.entities
-
Represents an access point to the
Message
history of aMessageChannel
. - MessageHistory(MessageChannel) - Constructor for class net.dv8tion.jda.api.entities.MessageHistory
-
Creates a new MessageHistory object.
- MessageHistory.MessageRetrieveAction - Class in net.dv8tion.jda.api.entities
-
Constructs a MessageHistory object with initially retrieved Messages before or after a certain pivot message id.
- MessagePaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the message history endpoint. - MessageReaction - Class in net.dv8tion.jda.api.entities
-
An object representing a single MessageReaction from Discord.
- MessageReaction(MessageChannel, MessageReaction.ReactionEmote, long, boolean, int) - Constructor for class net.dv8tion.jda.api.entities.MessageReaction
-
Creates a new MessageReaction instance
- MessageReaction.ReactionEmote - Class in net.dv8tion.jda.api.entities
-
Represents an Emoji/Emote of a MessageReaction
This is used to wrap both emojis and emotes - MessageReactionAddEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user added a reaction to a message
This includes unicode and custom emoji - MessageReactionAddEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
- MessageReactionRemoveAllEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates the the reactions of a message have been cleared by a moderator
- MessageReactionRemoveAllEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveAllEvent
- MessageReactionRemoveEvent - Class in net.dv8tion.jda.api.events.message.react
-
Indicates that a user removed the reaction on a message
- MessageReactionRemoveEvent(JDA, long, User, Member, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.react.MessageReactionRemoveEvent
- MessageReceivedEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was received in a
MessageChannel
. - MessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageReceivedEvent
- MessageType - Enum in net.dv8tion.jda.api.entities
-
Represents the different types of
Messages
that can be received from Discord. - MessageUpdateEvent - Class in net.dv8tion.jda.api.events.message
-
Indicates that a Message was edited in a
MessageChannel
. - MessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.MessageUpdateEvent
- MFA_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the mfa level field
- MFA_NOT_ENABLED - net.dv8tion.jda.api.requests.ErrorResponse
- MiscUtil - Class in net.dv8tion.jda.api.utils
- MiscUtil() - Constructor for class net.dv8tion.jda.api.utils.MiscUtil
- MISSING_ACCESS - net.dv8tion.jda.api.requests.ErrorResponse
- MISSING_PERMISSIONS - net.dv8tion.jda.api.requests.ErrorResponse
- MOBILE - net.dv8tion.jda.api.entities.ClientType
-
The official discord mobile app
- modifyCategoryPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getCategories()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyMemberRoles(Member, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Collection<Role>, Collection<Role>) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyMemberRoles(Member, Role...) - Method in interface net.dv8tion.jda.api.entities.Guild
- modifyNickname(String) - Method in interface net.dv8tion.jda.api.entities.Member
-
Changes this Member's nickname in this guild.
- modifyNickname(Member, String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Changes the Member's nickname in this guild.
- modifyRolePositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyRolePositions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Category
-
Modifies the positional order of this Category's nested
TextChannels
andStoreChannels
. - modifyTextChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getTextChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyTextChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getTextChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedTextChannels
of thisCategory
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Category
-
Modifies the positional order of this Category's nested
VoiceChannels
. - modifyVoiceChannelPositions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Guild.getVoiceChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyVoiceChannelPositions(Category) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Modifies the positional order of
Category#getVoiceChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedVoiceChannels
of thisCategory
. - MONO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "`Hello`"
- MONO_TWO - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Monospace region such as "``Hello``"
- monospace(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing monospace (single backtick) regions in the input and applies monospace formatting to the entire string.
- moveDown(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions DOWN in order by pushing all entities up by one position. - moveTo(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity to the specified position (0 based index).
- moveUp(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Moves the currently selected entity
amount
positions UP in order by pushing all entities down by one position. - moveVoiceMember(Member, VoiceChannel) - Method in interface net.dv8tion.jda.api.entities.Guild
- mute(boolean) - Method in interface net.dv8tion.jda.api.entities.Member
-
Sets the Guild Muted state state of this Member based on the provided boolean.
- mute(Member, boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Sets the Guild Muted state state of the
Member
based on the provided boolean.
N
- NAME - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.EmoteManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the name field
- NAME - Static variable in interface net.dv8tion.jda.api.managers.WebhookManager
-
Used to reset the name field
- net.dv8tion.jda.annotations - package net.dv8tion.jda.annotations
-
Annotations used for documentation.
- net.dv8tion.jda.api - package net.dv8tion.jda.api
-
The API features of JDA.
- net.dv8tion.jda.api.audio - package net.dv8tion.jda.api.audio
-
The audio API for Discord.
- net.dv8tion.jda.api.audio.factory - package net.dv8tion.jda.api.audio.factory
-
Audio send factories that can be implemented to generate custom audio send packages to be provided to Discord.
- net.dv8tion.jda.api.audio.hooks - package net.dv8tion.jda.api.audio.hooks
-
Listeners that can be used to monitor the
ConnectionStatus
or ping of an existing audio connection. - net.dv8tion.jda.api.audit - package net.dv8tion.jda.api.audit
-
Implementation for
AuditLogEntry
and all utilities needed for its structure. - net.dv8tion.jda.api.entities - package net.dv8tion.jda.api.entities
-
Entities representing Discord API objects like Users and Channels
- net.dv8tion.jda.api.events - package net.dv8tion.jda.api.events
-
The core events that are fired by this library, informing the end-user about the connection state of the current JDA instance.
- net.dv8tion.jda.api.events.channel.category - package net.dv8tion.jda.api.events.channel.category
-
Events for
Categories
- net.dv8tion.jda.api.events.channel.category.update - package net.dv8tion.jda.api.events.channel.category.update
-
Update events for
Categories
- net.dv8tion.jda.api.events.channel.priv - package net.dv8tion.jda.api.events.channel.priv
- net.dv8tion.jda.api.events.channel.store - package net.dv8tion.jda.api.events.channel.store
- net.dv8tion.jda.api.events.channel.store.update - package net.dv8tion.jda.api.events.channel.store.update
- net.dv8tion.jda.api.events.channel.text - package net.dv8tion.jda.api.events.channel.text
- net.dv8tion.jda.api.events.channel.text.update - package net.dv8tion.jda.api.events.channel.text.update
-
Events indicating that a
TextChannel
has been modified. - net.dv8tion.jda.api.events.channel.voice - package net.dv8tion.jda.api.events.channel.voice
- net.dv8tion.jda.api.events.channel.voice.update - package net.dv8tion.jda.api.events.channel.voice.update
-
Events indicating that a
VoiceChannel
has been modified. - net.dv8tion.jda.api.events.emote - package net.dv8tion.jda.api.events.emote
-
Events that track
added emotes
andremoved emotes
. - net.dv8tion.jda.api.events.emote.update - package net.dv8tion.jda.api.events.emote.update
-
Events that track updates for existing
Emotes
- net.dv8tion.jda.api.events.guild - package net.dv8tion.jda.api.events.guild
-
Events for the state of
Guilds
such as whether the current logged in account joins/leaves a Guild. - net.dv8tion.jda.api.events.guild.member - package net.dv8tion.jda.api.events.guild.member
- net.dv8tion.jda.api.events.guild.member.update - package net.dv8tion.jda.api.events.guild.member.update
- net.dv8tion.jda.api.events.guild.update - package net.dv8tion.jda.api.events.guild.update
-
Events indicating that a setting for a
Guild
has been updated. - net.dv8tion.jda.api.events.guild.voice - package net.dv8tion.jda.api.events.guild.voice
- net.dv8tion.jda.api.events.http - package net.dv8tion.jda.api.events.http
- net.dv8tion.jda.api.events.message - package net.dv8tion.jda.api.events.message
-
Events that are fired for
Messages
in aMessageChannel
. - net.dv8tion.jda.api.events.message.guild - package net.dv8tion.jda.api.events.message.guild
- net.dv8tion.jda.api.events.message.guild.react - package net.dv8tion.jda.api.events.message.guild.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.api.events.message.priv - package net.dv8tion.jda.api.events.message.priv
-
Events for
Messages
inPrivateChannels
- net.dv8tion.jda.api.events.message.priv.react - package net.dv8tion.jda.api.events.message.priv.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.api.events.message.react - package net.dv8tion.jda.api.events.message.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.api.events.role - package net.dv8tion.jda.api.events.role
-
Events that indicate that a
Role
is either created or deleted. - net.dv8tion.jda.api.events.role.update - package net.dv8tion.jda.api.events.role.update
-
Events that indicate that a
Role
has been updated with a new setting. - net.dv8tion.jda.api.events.self - package net.dv8tion.jda.api.events.self
-
Events indicating that one of the currently logged in account's settings has been modified.
- net.dv8tion.jda.api.events.user - package net.dv8tion.jda.api.events.user
-
Events that indicate that a
User
presence has been updated, such as its avatar or game. - net.dv8tion.jda.api.events.user.update - package net.dv8tion.jda.api.events.user.update
- net.dv8tion.jda.api.exceptions - package net.dv8tion.jda.api.exceptions
-
All custom exceptions of the JDA library
- net.dv8tion.jda.api.hooks - package net.dv8tion.jda.api.hooks
-
EventManager and EventListener implementations and interfaces.
- net.dv8tion.jda.api.managers - package net.dv8tion.jda.api.managers
-
Managers that allow to modify (PATCH) existing entities with either an update task or atomic setters.
- net.dv8tion.jda.api.requests - package net.dv8tion.jda.api.requests
-
Discord API communication features.
- net.dv8tion.jda.api.requests.restaction - package net.dv8tion.jda.api.requests.restaction
-
Extensions of
RestAction
that can be used to operate on a specific case before executing the request. - net.dv8tion.jda.api.requests.restaction.order - package net.dv8tion.jda.api.requests.restaction.order
-
RestAction
extensions specifically designed to change the order of discord entities. - net.dv8tion.jda.api.requests.restaction.pagination - package net.dv8tion.jda.api.requests.restaction.pagination
-
Extensions of
RestAction
that allow to access paginated discord endpoints like the message history of aMessageChannel
. - net.dv8tion.jda.api.sharding - package net.dv8tion.jda.api.sharding
-
Implementations for
ShardManager
which enable auto-sharding. - net.dv8tion.jda.api.utils - package net.dv8tion.jda.api.utils
-
Package which contains all utilities for the JDA library.
- net.dv8tion.jda.api.utils.cache - package net.dv8tion.jda.api.utils.cache
-
Interfaces for read-only access to internal JDA cache.
- net.dv8tion.jda.api.utils.concurrent - package net.dv8tion.jda.api.utils.concurrent
-
Implementations for threading related functionality such as Thread-Factories.
- net.dv8tion.jda.api.utils.data - package net.dv8tion.jda.api.utils.data
-
Serialization features used for communication with Discord.
- newChannel(ChannelType, String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates a new
ChannelData
instance and adds it to this GuildAction. - NEWLINE - Static variable in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Splits on newline chars
`\n`
. - newLongMap() - Static method in class net.dv8tion.jda.api.utils.MiscUtil
-
Generates a new thread-safe
TLongObjectMap
- newRole() - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Creates and add a new
RoleData
object representing a Role for the resulting Guild. - next() - Method in class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- next() - Method in class net.dv8tion.jda.api.utils.LockIterator
- nextMessage(int, MessageBuilder) - Method in class net.dv8tion.jda.api.MessageBuilder.SplitPolicy.CharSequenceSplitPolicy
- nextMessage(int, MessageBuilder) - Method in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Calculates the endIndex for the next
Message
. - NICKNAME_CHANGE - net.dv8tion.jda.api.Permission
- NICKNAME_MANAGE - net.dv8tion.jda.api.Permission
- NO_ROLE - net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- nonce(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Sets the validation nonce for the outgoing Message
- NONE - net.dv8tion.jda.api.entities.Guild.BoostTier
-
The default tier.
- NONE - net.dv8tion.jda.api.entities.Guild.MFALevel
- NONE - net.dv8tion.jda.api.entities.Guild.VerificationLevel
- NONE - net.dv8tion.jda.api.utils.Compression
-
Don't use any compression
- NONE - Static variable in interface net.dv8tion.jda.api.utils.ChunkingFilter
-
Do not chunk any guilds (lazy loading)
- NORMAL - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Normal characters that are not special for markdown, ignoring this has no effect
- NOT_AUTHENTICATED - net.dv8tion.jda.api.requests.CloseCode
- NOT_CONNECTED - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that there is no open connection or that the connection was closed by choice, not by error.
- NOTE_TOO_LONG - net.dv8tion.jda.api.requests.ErrorResponse
- NOTIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the default notification level field
- NSFW - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the nsfw field
- NULL - net.dv8tion.jda.api.utils.data.DataType
O
- OAUTH_NOT_BOT - net.dv8tion.jda.api.requests.ErrorResponse
- OBJECT - net.dv8tion.jda.api.utils.data.DataType
- of(Activity.ActivityType, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- of(Activity.ActivityType, String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- OFF - net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- OFFLINE - net.dv8tion.jda.api.OnlineStatus
-
Indicates that a member is currently offline or invisible (grey circle)
- onCategoryCreate(CategoryCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCategoryDelete(CategoryDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCategoryUpdateName(CategoryUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCategoryUpdatePermissions(CategoryUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onCategoryUpdatePosition(CategoryUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onChars(CharSequence, boolean) - Static method in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Creates a new
MessageBuilder.SplitPolicy
splitting on the specified chars. - onConnectionError(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate a connection error to JDA so that the connection can be properly shutdown.
- onConnectionLost() - Method in interface net.dv8tion.jda.api.audio.factory.IPacketProvider
-
This method is used to indicate to JDA that the UDP connection has been lost, whether that be due internet loss or some other unknown reason.
- onDisconnect(DisconnectEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteAdded(EmoteAddedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteRemoved(EmoteRemovedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteUpdateName(EmoteUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEmoteUpdateRoles(EmoteUpdateRolesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onEvent(GenericEvent) - Method in interface net.dv8tion.jda.api.hooks.EventListener
-
Handles any
GenericEvent
. - onEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onException(ExceptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onFailure(Throwable) - Method in class net.dv8tion.jda.api.requests.Request
- onFailure(Response) - Method in class net.dv8tion.jda.api.requests.Request
- onGatewayPing(GatewayPingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericCategory(GenericCategoryEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericCategoryUpdate(GenericCategoryUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmote(GenericEmoteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEmoteUpdate(GenericEmoteUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericEvent(GenericEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuild(GenericGuildEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMember(GenericGuildMemberEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMemberUpdate(GenericGuildMemberUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMessage(GenericGuildMessageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildMessageReaction(GenericGuildMessageReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildUpdate(GenericGuildUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericGuildVoice(GenericGuildVoiceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessage(GenericMessageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericMessageReaction(GenericMessageReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericPrivateMessage(GenericPrivateMessageEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericPrivateMessageReaction(GenericPrivateMessageReactionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRole(GenericRoleEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericRoleUpdate(GenericRoleUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericSelfUpdate(GenericSelfUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStoreChannel(GenericStoreChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericStoreChannelUpdate(GenericStoreChannelUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericTextChannel(GenericTextChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericTextChannelUpdate(GenericTextChannelUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUpdate(UpdateEvent<?, ?>) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUser(GenericUserEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericUserPresence(GenericUserPresenceEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericVoiceChannel(GenericVoiceChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGenericVoiceChannelUpdate(GenericVoiceChannelUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildAvailable(GuildAvailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildBan(GuildBanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildJoin(GuildJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildLeave(GuildLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberJoin(GuildMemberJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberLeave(GuildMemberLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleAdd(GuildMemberRoleAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberRoleRemove(GuildMemberRoleRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateBoostTime(GuildMemberUpdateBoostTimeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMemberUpdateNickname(GuildMemberUpdateNicknameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageDelete(GuildMessageDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageEmbed(GuildMessageEmbedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageReactionAdd(GuildMessageReactionAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageReactionRemove(GuildMessageReactionRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageReactionRemoveAll(GuildMessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageReceived(GuildMessageReceivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildMessageUpdate(GuildMessageUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildReady(GuildReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnavailable(GuildUnavailableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUnban(GuildUnbanEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkChannel(GuildUpdateAfkChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateAfkTimeout(GuildUpdateAfkTimeoutEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBanner(GuildUpdateBannerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostCount(GuildUpdateBoostCountEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateBoostTier(GuildUpdateBoostTierEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateDescription(GuildUpdateDescriptionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateExplicitContentLevel(GuildUpdateExplicitContentLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateFeatures(GuildUpdateFeaturesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateIcon(GuildUpdateIconEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxMembers(GuildUpdateMaxMembersEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMaxPresences(GuildUpdateMaxPresencesEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateMFALevel(GuildUpdateMFALevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateName(GuildUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateNotificationLevel(GuildUpdateNotificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateOwner(GuildUpdateOwnerEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateRegion(GuildUpdateRegionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSplash(GuildUpdateSplashEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateSystemChannel(GuildUpdateSystemChannelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVanityCode(GuildUpdateVanityCodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildUpdateVerificationLevel(GuildUpdateVerificationLevelEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceDeafen(GuildVoiceDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildDeafen(GuildVoiceGuildDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceGuildMute(GuildVoiceGuildMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceJoin(GuildVoiceJoinEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceLeave(GuildVoiceLeaveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceMove(GuildVoiceMoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceMute(GuildVoiceMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfDeafen(GuildVoiceSelfDeafenEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSelfMute(GuildVoiceSelfMuteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceSuppress(GuildVoiceSuppressEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onGuildVoiceUpdate(GuildVoiceUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onHttpRequest(HttpRequestEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- ONLINE - net.dv8tion.jda.api.OnlineStatus
-
Indicates that the user is currently online (green circle)
- OnlineStatus - Enum in net.dv8tion.jda.api
-
Represents the online presence of a
Member
. - ONLY_BOTS_ALLOWED - net.dv8tion.jda.api.requests.ErrorResponse
- onMessageBulkDelete(MessageBulkDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageDelete(MessageDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageEmbed(MessageEmbedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionAdd(MessageReactionAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemove(MessageReactionRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReactionRemoveAll(MessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageReceived(MessageReceivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onMessageUpdate(MessageUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPing(long) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when JDA send a heartbeat packet to Discord and Discord sends an acknowledgement.
- onPing(long) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onPrivateChannelCreate(PrivateChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateChannelDelete(PrivateChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageDelete(PrivateMessageDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageEmbed(PrivateMessageEmbedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageReactionAdd(PrivateMessageReactionAddEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageReactionRemove(PrivateMessageReactionRemoveEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageReceived(PrivateMessageReceivedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onPrivateMessageUpdate(PrivateMessageUpdateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRawGateway(RawGatewayEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onReady(ReadyEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onReconnect(ReconnectedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onResume(ResumedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleCreate(RoleCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleDelete(RoleDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateColor(RoleUpdateColorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateHoisted(RoleUpdateHoistedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateMentionable(RoleUpdateMentionableEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdateName(RoleUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePermissions(RoleUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onRoleUpdatePosition(RoleUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateAvatar(SelfUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateEmail(SelfUpdateEmailEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateMFA(SelfUpdateMFAEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateName(SelfUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSelfUpdateVerified(SelfUpdateVerifiedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onShutdown(ShutdownEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStatusChange(ConnectionStatus) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
Called when the status of the audio channel changes.
- onStatusChange(ConnectionStatus) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onStatusChange(StatusChangeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStoreChannelCreate(StoreChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStoreChannelDelete(StoreChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStoreChannelUpdateName(StoreChannelUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStoreChannelUpdatePermissions(StoreChannelUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onStoreChannelUpdatePosition(StoreChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onSuccess(T) - Method in class net.dv8tion.jda.api.requests.Request
- onTextChannelCreate(TextChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelDelete(TextChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdateName(TextChannelUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdateNSFW(TextChannelUpdateNSFWEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdateParent(TextChannelUpdateParentEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdatePermissions(TextChannelUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdatePosition(TextChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdateSlowmode(TextChannelUpdateSlowmodeEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onTextChannelUpdateTopic(TextChannelUpdateTopicEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUnavailableGuildJoined(UnavailableGuildJoinedEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityEnd(UserActivityEndEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserActivityStart(UserActivityStartEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserSpeaking(User, boolean) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, boolean) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onUserSpeaking(User, boolean, boolean) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, EnumSet<SpeakingMode>) - Method in interface net.dv8tion.jda.api.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, EnumSet<SpeakingMode>) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- onUserTyping(UserTypingEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateActivityOrder(UserUpdateActivityOrderEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateAvatar(UserUpdateAvatarEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateDiscriminator(UserUpdateDiscriminatorEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateName(UserUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onUserUpdateOnlineStatus(UserUpdateOnlineStatusEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelCreate(VoiceChannelCreateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelDelete(VoiceChannelDeleteEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdateBitrate(VoiceChannelUpdateBitrateEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdateName(VoiceChannelUpdateNameEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdateParent(VoiceChannelUpdateParentEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdatePermissions(VoiceChannelUpdatePermissionsEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdatePosition(VoiceChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceChannelUpdateUserLimit(VoiceChannelUpdateUserLimitEvent) - Method in class net.dv8tion.jda.api.hooks.ListenerAdapter
- onVoiceServerUpdate(VoiceDispatchInterceptor.VoiceServerUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_SERVER_UPDATE.
- onVoiceStateUpdate(VoiceDispatchInterceptor.VoiceStateUpdate) - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor
-
Handles the VOICE_STATE_UPDATE.
- openAudioConnection(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Starts the process to create an audio connection with a
VoiceChannel
or, if an audio connection is already open, JDA will move the connection to the provided VoiceChannel. - openPrivateChannel() - Method in interface net.dv8tion.jda.api.entities.User
-
Opens a
PrivateChannel
with this User. - opt(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves any type to the provided key.
- optArray() - Method in class net.dv8tion.jda.api.requests.Response
- optArray(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataArray to a key.
- optObject() - Method in class net.dv8tion.jda.api.requests.Response
- optObject(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Resolves a DataObject to a key.
- OPUS_CHANNEL_COUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
We want to use stereo.
- OPUS_FRAME_SIZE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
An opus frame size of 960 at 48000hz represents 20 milliseconds of audio.
- OPUS_FRAME_TIME_AMOUNT - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
This is 20 milliseconds.
- OPUS_SAMPLE_RATE - Static variable in class net.dv8tion.jda.api.audio.OpusPacket
-
(Hz) We want to use the highest of qualities! All the bandwidth!
- OpusPacket - Class in net.dv8tion.jda.api.audio
-
A raw OPUS packet received from Discord that can be used for lazy decoding.
- OpusPacket(AudioPacket, long, Decoder) - Constructor for class net.dv8tion.jda.api.audio.OpusPacket
- OrderAction<T,M extends OrderAction<T,M>> - Interface in net.dv8tion.jda.api.requests.restaction.order
-
Extension of
RestAction
- Type: Void that allows to modify the order of entities provided as anArrayList
. - OUTPUT_FORMAT - Static variable in interface net.dv8tion.jda.api.audio.AudioReceiveHandler
-
Audio Output Format used by JDA.
- override(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Whether all fields should be considered when editing a message
- OVERRIDE_ALLOW - net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw allowed permission bits
Similar to the value returned byPermissionOverride.getAllowedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_DENY - net.dv8tion.jda.api.audit.AuditLogKey
-
Modified raw denied permission bits
Similar to the value returned byPermissionOverride.getDeniedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_TYPE - net.dv8tion.jda.api.audit.AuditLogKey
-
The string type of this override.
P
- PaginationAction<T,M extends PaginationAction<T,M>> - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
RestAction
specification used to retrieve entities for paginated endpoints (before, after, limit). - PaginationAction.PaginationIterator<E> - Class in net.dv8tion.jda.api.requests.restaction.pagination
-
Iterator implementation for a
PaginationAction
. - PaginationIterator(Collection<E>, Supplier<List<E>>) - Constructor for class net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction.PaginationIterator
- parallelStream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Returns a possibly parallel
Stream
with this PaginationAction as its source. - parallelStream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a parallel
Stream
of all cached elements. - parallelStreamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.parallelStream()
which does not preserve order. - PARENT - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the parent field
- parseSnowflake(String) - Static method in class net.dv8tion.jda.api.utils.MiscUtil
- ParsingException - Exception in net.dv8tion.jda.api.exceptions
- ParsingException(Exception) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- ParsingException(String, Exception) - Constructor for exception net.dv8tion.jda.api.exceptions.ParsingException
- Party(String, long, long) - Constructor for class net.dv8tion.jda.api.entities.RichPresence.Party
- PASSWORD - Static variable in interface net.dv8tion.jda.api.managers.AccountManager
-
Used to reset the password field
- Permission - Enum in net.dv8tion.jda.api
-
Represents the bit offsets used by Discord for Permissions.
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the permission field
- PERMISSION - Static variable in interface net.dv8tion.jda.api.managers.RoleManager
-
Used to reset the permission field
- PermissionException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that the currently logged in account does not meet the specified
Permission
fromPermissionException.getPermission()
- PermissionException(String) - Constructor for exception net.dv8tion.jda.api.exceptions.PermissionException
-
Creates a new PermissionException instance
- PermissionOverride - Interface in net.dv8tion.jda.api.entities
- PermissionOverrideAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
AuditableRestAction
specifically designed to create aPermissionOverride
for aGuildChannel
. - PERMISSIONS - Static variable in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Used to reset all permissions to their original value
- PermOverrideManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
PermissionOverride
. - pin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to add the Message to the
MessageChannel's
pinned message list. - pinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to pin a message.
- pinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to pin a message.
- PLAY - net.dv8tion.jda.api.entities.ActivityFlag
- playing(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- PNG - net.dv8tion.jda.api.entities.Icon.IconType
-
PNG
- POSITION - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the position field
- Presence - Interface in net.dv8tion.jda.api.managers
-
The Presence associated with the provided JDA instance
- PRIORITY - net.dv8tion.jda.api.audio.SpeakingMode
- PRIORITY_SPEAKER - net.dv8tion.jda.api.Permission
- PRIVATE - net.dv8tion.jda.api.entities.ChannelType
- PrivateChannel - Interface in net.dv8tion.jda.api.entities
-
Represents the connection used for direct messaging.
- PrivateChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel.priv
-
Indicates that a
Private Channel
was created. - PrivateChannelCreateEvent(JDA, long, PrivateChannel) - Constructor for class net.dv8tion.jda.api.events.channel.priv.PrivateChannelCreateEvent
- PrivateChannelDeleteEvent - Class in net.dv8tion.jda.api.events.channel.priv
-
Indicates that a
Private Channel
was deleted. - PrivateChannelDeleteEvent(JDA, long, PrivateChannel) - Constructor for class net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
- PrivateMessageDeleteEvent - Class in net.dv8tion.jda.api.events.message.priv
-
Indicates that a Message was deleted in a
PrivateChannel
. - PrivateMessageDeleteEvent(JDA, long, long, PrivateChannel) - Constructor for class net.dv8tion.jda.api.events.message.priv.PrivateMessageDeleteEvent
- PrivateMessageEmbedEvent - Class in net.dv8tion.jda.api.events.message.priv
-
Indicates that a Message contains
Embeds
in aPrivateChannel
. - PrivateMessageEmbedEvent(JDA, long, long, PrivateChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.api.events.message.priv.PrivateMessageEmbedEvent
- PrivateMessageReactionAddEvent - Class in net.dv8tion.jda.api.events.message.priv.react
-
Indicates that a
MessageReaction
was added to a Message in a PrivateChannel. - PrivateMessageReactionAddEvent(JDA, long, User, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.priv.react.PrivateMessageReactionAddEvent
- PrivateMessageReactionRemoveEvent - Class in net.dv8tion.jda.api.events.message.priv.react
-
Indicates that a
MessageReaction
was removed from a Message in a PrivateChannel. - PrivateMessageReactionRemoveEvent(JDA, long, User, MessageReaction, long) - Constructor for class net.dv8tion.jda.api.events.message.priv.react.PrivateMessageReactionRemoveEvent
- PrivateMessageReceivedEvent - Class in net.dv8tion.jda.api.events.message.priv
-
Indicates that a Message was sent in a
PrivateChannel
. - PrivateMessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.priv.PrivateMessageReceivedEvent
- PrivateMessageUpdateEvent - Class in net.dv8tion.jda.api.events.message.priv
-
Indicates that a Message was edited in a
PrivateChannel
. - PrivateMessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.api.events.message.priv.PrivateMessageUpdateEvent
- Procedure<T> - Interface in net.dv8tion.jda.api.utils
- provide(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Provides an instance of the specified executor, or null
- provide20MsAudio() - Method in interface net.dv8tion.jda.api.audio.AudioSendHandler
-
If
AudioSendHandler.canProvide()
returns true JDA will call this method in an attempt to retrieve audio data from the handler. - Provider(String, String) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Provider
- prune(int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
This method will prune (kick) all members who were offline for at least days days.
- PRUNE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has pruned members for inactivity.
- purgeMessages(List<? extends Message>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessages(Message...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(long...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(String...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(List<String>) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- put(String, Object) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a new value for the provided key.
- putNull(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Upserts a null value for the provided key.
- putPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.GuildChannel
- putPermissionOverride(IPermissionHolder, long, long) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Adds an override for the specified
IPermissionHolder
with the provided raw bitmasks as allowed and denied permissions. - putPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Adds an override for the specified
IPermissionHolder
with the provided permission sets as allowed and denied permissions.
Q
- queue() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution.
- queueAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>, Consumer<? super Throwable>, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
. - quote(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing quote regions in the input and applies quote formatting to the entire string.
- QUOTE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote region such as
"> text here"
- QUOTE_BLOCK - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Quote block region such as
">>> text here"
- quoteBlock(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Applies quote block formatting to the entire string.
R
- RATE_LIMITED - net.dv8tion.jda.api.requests.CloseCode
- RateLimitedException - Exception in net.dv8tion.jda.api.exceptions
-
Indicates that we received a
429: Too Many Requests
response - RateLimitedException(String, long) - Constructor for exception net.dv8tion.jda.api.exceptions.RateLimitedException
- RateLimitedException(Route.CompiledRoute, long) - Constructor for exception net.dv8tion.jda.api.exceptions.RateLimitedException
- RawGatewayEvent - Class in net.dv8tion.jda.api.events
-
Wrapper for the raw dispatch event received from discord.
- RawGatewayEvent(JDA, long, DataObject) - Constructor for class net.dv8tion.jda.api.events.RawGatewayEvent
- REACTION_BLOCKED - net.dv8tion.jda.api.requests.ErrorResponse
- ReactionPaginationAction - Interface in net.dv8tion.jda.api.requests.restaction.pagination
-
PaginationAction
that paginates the reaction users endpoint. - ReadyEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA finished loading all entities.
- ReadyEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ReadyEvent
- reason(String) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Applies the specified reason as audit-log reason field.
- RECIPIENT_ADD - net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been added to the Group.
- RECIPIENT_REMOVE - net.dv8tion.jda.api.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been removed from the Group.
- reconnect(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.DirectAudioController
-
Requests to reconnect to the voice channel in the target guild.
- RECONNECT_QUEUED - net.dv8tion.jda.api.JDA.Status
-
JDA session has been added to
SessionController
and is awaiting to be dequeued for reconnecting. - ReconnectedEvent - Class in net.dv8tion.jda.api.events
-
Indicates if JDA successfully re-established its connection to the gateway.
- ReconnectedEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ReconnectedEvent
- Region - Enum in net.dv8tion.jda.api
-
Represents the Regions used for Audio connections.
- REGION - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the region field
- register(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- register(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - register(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - remove(int) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the value at the specified index.
- remove(Object) - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Removes the specified value.
- remove(String) - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Removes the value associated with the specified key.
- REMOVE - net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Remove any format tokens that are not escaped or within a special region.
- removeChannel(int) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the
ChannelData
at the specified index and returns the removed object. - removeChannel(GuildAction.ChannelData) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Removes the provided
ChannelData
from this GuildAction if present. - removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.JDA
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListener(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListener(Object...) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes the provided listener provider from the list of listener providers.
- removeEventListenerProvider(IntFunction<Object>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove a listener provider.
- removeEventListenerProviders(Collection<IntFunction<Object>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listener providers from the list of listener providers.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.JDABuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Collection<Object>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(IntFunction<Collection<Object>>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Remove listeners from shards by their id.
- removePermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Removes the
PermissionOverride
for the specifiedIPermissionHolder
. - removeReaction() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReaction(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using a unicode emoji.
- removeReaction(String, User) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using a unicode emoji.
- removeReaction(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
-
Removes a reaction from this Message using an
Emote
. - removeReaction(Emote, User) - Method in interface net.dv8tion.jda.api.entities.Message
- removeReaction(User) - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReactionById(long, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, String, User) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(long, Emote, User) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, String, User) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emote) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeReactionById(String, Emote, User) - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeRoleFromMember(long, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically removes the provided
Role
from the specified member by their user id. - removeRoleFromMember(String, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Atomically removes the provided
Role
from the specified member by their user id. - removeRoleFromMember(Member, Role) - Method in interface net.dv8tion.jda.api.entities.Guild
- removeSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by a JDA session when a shutdown has been requested.
- removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- replace(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces each substring that matches the target string with the specified replacement string.
- replaceFirst(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces the first substring that matches the target string with the specified replacement string.
- replaceLast(String, String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Replaces the last substring that matches the target string with the specified replacement string.
- ReplaceWith - Annotation Type in net.dv8tion.jda.annotations
-
Functionality annotated with ReplaceWith should be replaced immediately with the mentioned code fragment.
- Request<T> - Class in net.dv8tion.jda.api.requests
- Request(RestActionImpl<T>, Consumer<? super T>, Consumer<? super Throwable>, BooleanSupplier, boolean, RequestBody, Object, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.Request
- reset() - Method in interface net.dv8tion.jda.api.managers.Manager
-
Resets all fields for this Manager
- reset() - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Resets this MessageAction to empty state
MessageAction.isEmpty()
will result intrue
after this has been performed! - reset() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Shortcut for
resetAllow().resetDeny()
. - reset(long) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.Manager
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag patterns.
- resetAllow() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the allowed permissions to the current original value.
- resetCurrent() - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Resets the currently set thread-local reason, if present.
- resetDeny() - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Resets the denied permissions to the current original value.
- resolve(JDA, String) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - resolve(JDA, String, boolean) - Static method in interface net.dv8tion.jda.api.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - RESOURCES_OVERLOADED - net.dv8tion.jda.api.requests.ErrorResponse
- Response - Class in net.dv8tion.jda.api.requests
- Response(long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, int, String, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, long, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- Response(Response, Exception, Set<String>) - Constructor for class net.dv8tion.jda.api.requests.Response
- RestAction<T> - Interface in net.dv8tion.jda.api.requests
-
A class representing a terminal between the user and the discord API.
- restart() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts all shards, shutting old ones down first.
- restart(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- restart(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Restarts the shards with the given id only.
- RestFuture<T> - Class in net.dv8tion.jda.api.requests
- RestFuture(Throwable) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(RestActionImpl<T>, boolean, BooleanSupplier, RequestBody, Object, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- RestFuture(T) - Constructor for class net.dv8tion.jda.api.requests.RestFuture
- ResumedEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA successfully resumed its connection to the gateway.
- ResumedEvent(JDA, long) - Constructor for class net.dv8tion.jda.api.events.ResumedEvent
- retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves the
ApplicationInfo
for the application that owns the logged in Bot-Account. - retrieveApplicationInfo() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Used to access application details of this bot.
- retrieveAsIcon() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Retrieves the image of this attachment and provides an
Icon
equivalent. - retrieveAuditLogs() - Method in interface net.dv8tion.jda.api.entities.Guild
- retrieveBan(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the providedUser
If you wish to ban or unban a user, use eitherban(User, int)
orunban(User)
. - retrieveBanById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherGuild.ban(String, int)
ban(id, int)} orGuild.unban(String)
unban(id)}. - retrieveBanById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherban(id, int)
orunban(id)
. - retrieveBanList() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of the currently banned
Users
. - retrieveEmote(Emote) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmotes() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves an immutable list of emotes together with their respective creators.
- retrieveFuture(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent more recently than the most recently sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrieveInputStream() - Method in class net.dv8tion.jda.api.entities.Message.Attachment
-
Enqueues a request to retrieve the contents of this Attachment.
- retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Invites
for this guild. - retrieveInvites() - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Returns all invites for this channel.
- retrieveMember(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(long) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMemberById(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Load the member for the specified user.
- retrieveMembers() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Requests member chunks for this guild.
- retrieveMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - retrieveOwner() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Shortcut for
guild.retrieveMemberById(guild.getOwnerIdLong())
. - retrievePast(int) - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
Retrieves messages from Discord that were sent before the oldest sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrievePinnedMessages() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Retrieves a List of
Messages
that have been pinned in this channel. - retrievePrunableMemberCount(int) - Method in interface net.dv8tion.jda.api.entities.Guild
-
The method calculates the amount of Members that would be pruned if
Guild.prune(int)
was executed. - retrieveReactionUsers(String) - Method in interface net.dv8tion.jda.api.entities.Message
-
This obtains the
users
who reacted using the given unicode emoji. - retrieveReactionUsers(Emote) - Method in interface net.dv8tion.jda.api.entities.Message
- retrieveRegions() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
Shortcut forretrieveRegions(true)
This will include deprecated voice regions by default. - retrieveRegions(boolean) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves the available regions for this Guild
- retrieveUserById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(long) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUsers() - Method in class net.dv8tion.jda.api.entities.MessageReaction
-
Retrieves the
Users
that already reacted with this MessageReaction. - retrieveVanityUrl() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Deprecated.
- retrieveWebhookById(long) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhookById(String) - Method in interface net.dv8tion.jda.api.JDA
-
Retrieves a
Webhook
by its id. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.Guild
-
Retrieves all
Webhooks
for this Guild. - retrieveWebhooks() - Method in interface net.dv8tion.jda.api.entities.TextChannel
-
Retrieves the
Webhooks
attached to this TextChannel. - retryAfter - Variable in class net.dv8tion.jda.api.requests.Response
- reverseOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Reverses the
current order
by usingCollections.reverse(orderList)
- revokePermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - revokePermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - RICH - net.dv8tion.jda.api.entities.EmbedType
- RichPresence - Interface in net.dv8tion.jda.api.entities
-
Used to hold additional information about a users
Activity
relevant to Rich Presence. - RichPresence.Image - Class in net.dv8tion.jda.api.entities
-
Used to hold information on images within a Rich Presence profile
- RichPresence.Party - Class in net.dv8tion.jda.api.entities
-
Holds information on a player's party
- Role - Interface in net.dv8tion.jda.api.entities
-
Represents a
Guild
's Role. - ROLE - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withGuild.getRoleById(String)
- ROLE - net.dv8tion.jda.api.audit.TargetType
- ROLE - net.dv8tion.jda.api.entities.Message.MentionType
-
Represents a mention for a
Role
The first and only group matches the id of the mention. - ROLE_COLOR - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getColor()
value. - ROLE_CREATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Role
. - ROLE_DELETE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Role
. - ROLE_HOISTED - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isHoisted()
value. - ROLE_MENTIONABLE - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.isMentionable()
value. - ROLE_NAME - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getName()
value. - ROLE_NAME - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible name of the role if the target type is
TargetType.ROLE
- ROLE_PERMISSIONS - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Role.getPermissionsRaw()
value. - ROLE_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Role
. - RoleAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Extension of
RestAction
specifically designed to create aRole
. - RoleCreateEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was created. - RoleCreateEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleCreateEvent
- RoleData(long) - Constructor for class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- RoleDeleteEvent - Class in net.dv8tion.jda.api.events.role
-
Indicates that a
Role
was deleted. - RoleDeleteEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.api.events.role.RoleDeleteEvent
- RoleManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Role
. - RoleOrderAction - Interface in net.dv8tion.jda.api.requests.restaction.order
- ROLES - Static variable in interface net.dv8tion.jda.api.managers.EmoteManager
-
Used to reset the roles field
- RoleUpdateColorEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its color. - RoleUpdateColorEvent(JDA, long, Role, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateColorEvent
- RoleUpdateHoistedEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its hoist state. - RoleUpdateHoistedEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
- RoleUpdateMentionableEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its mentionable state. - RoleUpdateMentionableEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
- RoleUpdateNameEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its name. - RoleUpdateNameEvent(JDA, long, Role, String) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdateNameEvent
- RoleUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its permissions. - RoleUpdatePermissionsEvent(JDA, long, Role, long) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePermissionsEvent
- RoleUpdatePositionEvent - Class in net.dv8tion.jda.api.events.role.update
-
Indicates that a
Role
updated its position. - RoleUpdatePositionEvent(JDA, long, Role, int, int) - Constructor for class net.dv8tion.jda.api.events.role.update.RoleUpdatePositionEvent
- run(boolean) - Method in interface net.dv8tion.jda.api.utils.SessionController.SessionConnectNode
-
When called, establishes the session.
- runChecks() - Method in class net.dv8tion.jda.api.requests.Request
- RUSSIA - net.dv8tion.jda.api.Region
S
- sanitize(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string with default settings.
- sanitize(String, MarkdownSanitizer.SanitizationStrategy) - Static method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Sanitize string without ignoring anything.
- SECONDS_1800 - net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_300 - net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_3600 - net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_60 - net.dv8tion.jda.api.entities.Guild.Timeout
- SECONDS_900 - net.dv8tion.jda.api.entities.Guild.Timeout
- selectPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity at the specified index
This index is in correlation to thecurrent order
- selectPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Selects a new current entity based on the index of the specified entity in the
current order
This is a convenience function that usesOrderAction.selectPosition(int)
internally - SelfUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the avatar of the current user changed.
- SelfUpdateAvatarEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateAvatarEvent
- SelfUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the discriminator of the current user changed.
- SelfUpdateDiscriminatorEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent
- SelfUpdateEmailEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the email of the current user changed.
- SelfUpdateEmailEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateEmailEvent
- SelfUpdateMFAEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the mfa level of the current user changed.
- SelfUpdateMFAEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
- SelfUpdateMobileEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that you login to your discord account with a mobile device for the first time.
- SelfUpdateMobileEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateMobileEvent
- SelfUpdateNameEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the name of the current user changed.
- SelfUpdateNameEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateNameEvent
- SelfUpdateNitroEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the current user subscribed to nitro or the active nitro subscription ran out.
- SelfUpdateNitroEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateNitroEvent
- SelfUpdatePhoneNumberEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the phone number associated with your account changed.
- SelfUpdatePhoneNumberEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdatePhoneNumberEvent
- SelfUpdateVerifiedEvent - Class in net.dv8tion.jda.api.events.self
-
Indicates that the verification state of the current user changed.
- SelfUpdateVerifiedEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
- SelfUser - Interface in net.dv8tion.jda.api.entities
-
Represents the currently logged in account.
- sendFile(byte[], String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(InputStream, String, AttachmentOption...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendMessage(CharSequence) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a plain text message to this channel.
- sendMessage(Message) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a specified
Message
to this channel. - sendMessage(MessageEmbed) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a specified
MessageEmbed
as aMessage
to this channel. - sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends a formatted text message to this channel.
- sendTo(MessageChannel) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Creates a
MessageAction
with the current settings without building aMessage
instance first. - sendTyping() - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Sends the typing status to discord.
- SerializableData - Interface in net.dv8tion.jda.api.utils.data
-
Allows custom serialization for JSON payloads of an object.
- SERVER_ERROR - net.dv8tion.jda.api.requests.ErrorResponse
- SESSION_TIMEOUT - net.dv8tion.jda.api.requests.CloseCode
- SessionController - Interface in net.dv8tion.jda.api.utils
-
Controls states and behaviour of one or multiple
JDA
instances. - SessionController.SessionConnectNode - Interface in net.dv8tion.jda.api.utils
-
Represents a WebSocketClient request to start a session.
- SessionController.ShardedGateway - Class in net.dv8tion.jda.api.utils
-
POJO containing the gateway endpoint and recommended shard total for a shard manager.
- SessionControllerAdapter - Class in net.dv8tion.jda.api.utils
- SessionControllerAdapter() - Constructor for class net.dv8tion.jda.api.utils.SessionControllerAdapter
- setActivity(Activity) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
Activity
for this session. - setActivity(Activity) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivity(Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
Activity
for all shards. - setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setActivityProvider(IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Activity
for our session. - setActivityProvider(IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets provider that provider the
Activity
for all shards. - setAfkChannel(VoiceChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the AFK
VoiceChannel
of thisGuild
. - setAfkTimeout(Guild.Timeout) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setAllow(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using the bitwise representation of a set of
Permissions
. - setAllow(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a Collection of
Permissions
. - setAllow(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a set of
Permissions
. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAuthor(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Author of the embed.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Sets whether or not JDA should try to automatically reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether audio connections from this AudioManager should automatically reconnect or not.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setAvatar(Icon) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default avatar of the selected
Webhook
. - setAvatar(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Avatar for the custom Webhook User
- setAvatar(Icon, String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setBanner(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setBitrate(int) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the bitrate of the selected
VoiceChannel
. - setBitrate(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the bitrate for the new VoiceChannel
- setBitrate(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the bitrate for this channel.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
If enabled, JDA will separate the bulk delete event into individual delete events, but this isn't as efficient as handling a single event would be.
- setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPool(ExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setCallbackPoolProvider(ThreadPoolProvider<? extends ExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the
TextChannel
of the selectedWebhook
. - setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.managers.Manager
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
- setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.JDABuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setChunkingFilter(ChunkingFilter) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
The
ChunkingFilter
to filter which guilds should use member chunking. - setColor(int) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the raw RGB color value for the embed.
- setColor(int) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the rgb color of the selected
Role
. - setColor(Color) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Color of the embed.
- setColor(Color) - Method in interface net.dv8tion.jda.api.managers.RoleManager
- setColor(Color) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Color) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the color which the new role should be displayed with.
- setColor(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Color for the new role.
- setCompression(Compression) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setCompression(Compression) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the compression algorithm used with the gateway connection, this will decrease the amount of used bandwidth for the running bot instance for the cost of a few extra cycles for decompression.
- setConnectionListener(ConnectionListener) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
ConnectionListener
for this AudioManager. - setConnectTimeout(long) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the amount of time, in milliseconds, that will be used as the timeout when waiting for the audio connection to successfully connect.
- setContent(String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Sets the content of the resulting Message
This will replace already added content. - setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- setContextMap(ConcurrentMap<String, String>) - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
Called with the internal JDA
MDC
context map. - setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
MDC
mappings to use in JDA. - setContextMap(IntFunction<? extends ConcurrentMap<String, String>>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
MDC
mappings provider to use in JDA. - setCurrent(String) - Static method in class net.dv8tion.jda.api.audit.ThreadLocalReason
-
Sets the current reason that should be used for
AuditableRestAction
. - setDeafen(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice deafened in the guild.
- setDefaultFailure(Consumer<? super Throwable>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default failure callback used when none is provided in
RestAction.queue(Consumer, Consumer)
. - setDefaultNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Notification Level
of thisGuild
. - setDefaultSuccess(Consumer<Object>) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
The default success callback used when none is provided in
RestAction.queue(Consumer, Consumer)
orRestAction.queue(Consumer)
. - setDeny(long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using the bitwise representation of a set of
Permissions
. - setDeny(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a Collection of
Permissions
. - setDeny(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a set of
Permissions
. - setDescription(CharSequence) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Description of the embed.
- setDescription(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setDisabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Flags used to disable parts of the JDA cache to reduce the runtime memory footprint.
- setDisabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Flags used to disable parts of the JDA cache to reduce the runtime memory footprint.
- setEmail(String, String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the email for the currently logged in client account.
- setEmbed(MessageEmbed) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Adds a
MessageEmbed
to the Message. - setEnabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.api.JDABuilder
-
Flags used to enable selective parts of the JDA cache to reduce the runtime memory footprint.
- setEnabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Flags used to enable parts of the JDA cache to reduce the runtime memory footprint.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enables/Disables the use of a Shutdown hook to clean up JDA.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enables/Disables the use of a Shutdown hook to clean up the ShardManager and it's JDA instances.
- setEventManager(IEventManager) - Method in interface net.dv8tion.jda.api.JDA
-
Changes the internal EventManager.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.api.JDABuilder
-
Changes the internally used EventManager.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Deprecated.
- setEventManagerProvider(IntFunction<? extends IEventManager>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets a provider to change the internally used EventManager.
- setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Explicit Content Level
of thisGuild
. - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
ExplicitContentLevel
for the resultingGuild
- setFooter(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed without icon.
- setFooter(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Footer of the embed.
- setGame(Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Deprecated.
- setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGlobalRatelimit(long) - Method in interface net.dv8tion.jda.api.utils.SessionController
-
Called by the RateLimiter if the global rest ratelimit has changed.
- setGlobalRatelimit(long) - Method in class net.dv8tion.jda.api.utils.SessionControllerAdapter
- setGuildSubscriptionsEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Enable typing and presence update events.
- setGuildSubscriptionsEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Enable typing and presence update events.
- setHoisted(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the hoist state of the selected
Role
. - setHoisted(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is hoisted
- setHoisted(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether or not the new role should be hoisted
- setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
Builder
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
Builder
that will be used by JDA's requester. - setIcon(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setIcon(Icon) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setIdle(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets whether or not we should mark our session as afk
This value can be changed at any time in thePresence
from a JDA instance. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets whether this session should be marked as afk or not
- setIdle(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdle(boolean) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets whether all instances should be marked as afk or not
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets whether or not we should mark our sessions as afk
This value can be changed at any time usingDefaultShardManager#setIdleProvider(boolean)
. - setIdleProvider(IntFunction<Boolean>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that decides for all shards whether they should be marked as afk or not.
- setImage(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Image of the embed.
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setLargeThreshold(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Decides the total number of members at which a guild should start to use lazy loading.
- setListener(ConnectionListener) - Method in class net.dv8tion.jda.api.audio.hooks.ListenerProxy
- setMaxAge(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age in seconds for the invite.
- setMaxAge(Long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max age for the invite.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxUses(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets the max uses for the invite.
- setMentionable(boolean) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the mentionable state of the selected
Role
. - setMentionable(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is mentionable
- setMentionable(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets whether the new role should be mentionable by members of the parent
Guild
. - setMute(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Whether the user should be voice muted in the guild.
- setName(String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the username for the currently logged in account
- setName(String) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the name of the selected
GuildChannel
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Sets the name of the selected
Emote
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the name of this
Guild
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the name of the selected
Role
. - setName(String) - Method in interface net.dv8tion.jda.api.managers.WebhookManager
-
Sets the default name of the selected
Webhook
. - setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the name for the new GuildChannel
- setName(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the name for this Role
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the name for the resulting
Guild
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the name for new role (optional)
- setName(String) - Method in interface net.dv8tion.jda.api.requests.restaction.WebhookAction
-
Sets the Name for the custom Webhook User
- setName(String, String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the username for the currently logged in account
- setNickname(String) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the nickname of the user for the guild.
- setNonce(String) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Sets the nonce of the built message(s).
- setNotificationLevel(Guild.NotificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
NotificationLevel
for the resultingGuild
- setNSFW(boolean) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the nsfw flag of the selected
TextChannel
. - setNSFW(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the NSFW flag for the new TextChannel
- setNSFW(Boolean) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the whether this channel should be marked NSFW.
- setParent(Category) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the
Parent Category
of the selectedGuildChannel
. - setParent(Category) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the
Category
for the new GuildChannel - setPassContext(boolean) - Static method in interface net.dv8tion.jda.api.requests.RestAction
-
If enabled this will pass a
ContextException
as root-cause to all failure consumers. - setPassword(String, String) - Method in interface net.dv8tion.jda.api.managers.AccountManager
-
Sets the password for the currently logged in client account.
- setPermissionChecksEnabled(boolean) - Static method in interface net.dv8tion.jda.api.managers.Manager
-
Enables internal checks for missing permissions
When this is disabled the chances of hitting aErrorResponse.MISSING_PERMISSIONS
is increased significantly, otherwise JDA will check permissions and cancel the execution usingInsufficientPermissionException
. - setPermissions(long) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(long, long) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(long)
andPermissionOverrideAction.setDeny(long)
First sets the allow bits and then the deny bits. - setPermissions(Long) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>, Collection<Permission>) - Method in interface net.dv8tion.jda.api.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(java.util.Collection)
andPermissionOverrideAction.setDeny(java.util.Collection)
First sets the granted permissions and then the denied permissions. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Permission...) - Method in interface net.dv8tion.jda.api.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissionsRaw(Long) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the raw permission value for this Role
- setPosition(int) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the position of the selected
GuildChannel
. - setPosition(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the position where the new Channel should be inserted into.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the position for this channel.
- setPosition(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
-
Sets the position for this Role
- setPresence(Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Activity) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
andActivity
for all shards. - setPresence(OnlineStatus, Activity, boolean) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets all presence fields of this session.
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setPresenceProvider(IntFunction<OnlineStatus>, IntFunction<? extends Activity>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
andActivity
for all shards. - setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
provider that should be used in the JDA rate-limit handler. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setRawEventsEnabled(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether JDA should fire
RawGatewayEvent
for every discord event. - setReceivingHandler(AudioReceiveHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioReceiveHandler
that the manager will use to process audio data received from an audio connection. - setRegion(Region) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setRegion(Region) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
- setRelativeRateLimit(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether the rate-limit should be relative to the current time plus latency.
- setRelativeRateLimit(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the rate-limit should be relative to the current time plus latency.
- setRequestTimeoutRetry(boolean) - Method in interface net.dv8tion.jda.api.JDA
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.JDABuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequiredMFALevel(Guild.MFALevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setRoles(Collection<Role>) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRoles(Set<Role>) - Method in interface net.dv8tion.jda.api.managers.EmoteManager
-
Sets the restriction roles of the selected
Emote
. - setRoles(Role...) - Method in interface net.dv8tion.jda.api.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setSelfDeafened(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets whether connections from this AudioManager should be deafened.
- setSelfMuted(boolean) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Set this to
true
if the current connection should be displayed as muted, this will cause theAudioSendHandler
packages to not be ignored by Discord! - setSendingHandler(AudioSendHandler) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Sets the
AudioSendHandler
that the manager will use to provide audio data to an audio connection. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
SessionController
for this JDABuilder instance. - setSessionController(SessionController) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
SessionController
for the resulting ShardManager instance. - setShards(int...) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the list of shards the
DefaultShardManager
should contain. - setShards(int, int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShards(Collection<Integer>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShardsTotal(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
This will set the total amount of shards the
DefaultShardManager
should use. - setSlowmode(int) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the slowmode of the selected
TextChannel
. - setSlowmode(int) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the slowmode value, which limits the amount of time that individual users must wait between sending messages in the new TextChannel.
- setSpeakingDelay(int) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
Configures the delay between the last provided frame and removing the speaking indicator.
- setSpeakingMode(Collection<SpeakingMode>) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSpeakingMode(SpeakingMode...) - Method in interface net.dv8tion.jda.api.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSplash(Icon) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.managers.Presence
-
Sets the
OnlineStatus
for this session - setStatus(OnlineStatus) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the
OnlineStatus
for all shards. - setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatusProvider(IntFunction<OnlineStatus>) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
for all shards. - setSystemChannel(TextChannel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the system
TextChannel
of thisGuild
. - setTemporary(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether the invite should only grant temporary membership.
- setThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
ThreadFactory
that will be used by the internal executor of the ShardManager. - setThumbnail(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Thumbnail of the embed.
- setTimestamp(TemporalAccessor) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Timestamp of the embed.
- setTitle(String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setTitle(String, String) - Method in class net.dv8tion.jda.api.EmbedBuilder
-
Sets the Title of the embed.
- setToken(String) - Method in class net.dv8tion.jda.api.JDABuilder
- setToken(String) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the token that will be used by the
ShardManager
instance to log in whenbuild()
is called. - setTopic(String) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the topic of the selected
TextChannel
. - setTopic(String) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the topic for the new TextChannel
- setTopic(String) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the topic for this channel.
- setTTS(boolean) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Makes the created Message a TTS message.
- setUnique(Boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.InviteAction
-
Sets whether discord should reuse a similar invite.
- setUserlimit(Integer) - Method in interface net.dv8tion.jda.api.requests.restaction.ChannelAction
-
Sets the userlimit for the new VoiceChannel
- setUserlimit(Integer) - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
-
Sets the userlimit for this channel.
- setUserLimit(int) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Sets the user-limit of the selected
VoiceChannel
. - setUseShutdownNow(boolean) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Whether the
ShardManager
should useJDA#shutdownNow()
instead ofJDA#shutdown()
to shutdown it's shards. - setVanityCode(String) - Method in interface net.dv8tion.jda.api.managers.GuildManager
- setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.managers.GuildManager
-
Sets the
Verification Level
of thisGuild
. - setVerificationLevel(Guild.VerificationLevel) - Method in interface net.dv8tion.jda.api.requests.restaction.GuildAction
-
Sets the
VerificationLevel
for the resultingGuild
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.JDABuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setVoiceDispatchInterceptor(VoiceDispatchInterceptor) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Configures a custom voice dispatch handler which handles audio connections.
- setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.JDABuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - ShardCacheView - Interface in net.dv8tion.jda.api.utils.cache
-
Read-only view on internal ShardManager cache of JDA instances.
- ShardedGateway(String, int) - Constructor for class net.dv8tion.jda.api.utils.SessionController.ShardedGateway
-
Creates a new GatewayBot instance with the provided properties
- ShardInfo(int, int) - Constructor for class net.dv8tion.jda.api.JDA.ShardInfo
- SHARDING_REQUIRED - net.dv8tion.jda.api.requests.CloseCode
- ShardManager - Interface in net.dv8tion.jda.api.sharding
-
This class acts as a manager for multiple shards.
- SHIELD - net.dv8tion.jda.api.utils.WidgetUtil.BannerType
- shouldQueue() - Method in class net.dv8tion.jda.api.requests.Request
- shouldReconnect() - Method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
- shouldShutdownAutomatically(int) - Method in interface net.dv8tion.jda.api.sharding.ThreadPoolProvider
-
Whether the previously provided executor should be shutdown by
JDA.shutdown()
. - shuffleOrder() - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Shuffles the
current order
by usingCollections.shuffle(orderList)
- shutdown() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- shutdown() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the destruction of this instance and should be used to perform all necessary cleanup and shutdown operations needed to free resources.
- shutdown() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance, closing all its connections.
- shutdown() - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown() - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down all JDA shards, closing all their connections.
- shutdown(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- shutdown(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Shuts down the shard with the given id only.
- SHUTDOWN - net.dv8tion.jda.api.JDA.Status
-
JDA has finished shutting down and this instance can no longer be used to communicate with the Discord servers.
- ShutdownEvent - Class in net.dv8tion.jda.api.events
-
Indicates that JDA has fully disconnected from Discord and will not attempt to reconnect again.
- ShutdownEvent(JDA, OffsetDateTime, int) - Constructor for class net.dv8tion.jda.api.events.ShutdownEvent
- shutdownNow() - Method in interface net.dv8tion.jda.api.JDA
-
Shuts down this JDA instance instantly, closing all its connections.
- SHUTTING_DOWN - net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Indicates that JDA was shutdown and no further connections should be established
- SHUTTING_DOWN - net.dv8tion.jda.api.JDA.Status
-
JDA has received a shutdown request or has been disconnected from Discord and reconnect is disabled, thus, JDA is in the process of shutting down
- SimpleCacheView(Class<T>, Function<T, String>) - Constructor for class net.dv8tion.jda.api.utils.cache.CacheView.SimpleCacheView
- SINGAPORE - net.dv8tion.jda.api.Region
- SINGLE - Static variable in class net.dv8tion.jda.api.JDA.ShardInfo
-
Default sharding config with one shard
- size() - Method in class net.dv8tion.jda.api.entities.MessageHistory
-
The amount of retrieved
Messages
by this MessageHistory. - size() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
The current size of this cache
This is along
as it may be a projected view of multiple caches (SeeCacheView.all(java.util.function.Supplier)
) - skipTo(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Skips past the specified ID for successive requests.
- SLOWMODE - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the rate-limit per user field
- SnowflakeCacheView<T extends ISnowflake> - Interface in net.dv8tion.jda.api.utils.cache
-
CacheView
implementation specifically to viewISnowflake
implementations. - SortedSnowflakeCacheView<T extends Comparable<? super T> & ISnowflake> - Interface in net.dv8tion.jda.api.utils.cache
-
Specialized
CacheView
for entities that occur in a specified order. - sortOrder(Comparator<T>) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Sorts the
current order
based on the specifiedComparator
. - SOUNDSHARE - net.dv8tion.jda.api.audio.SpeakingMode
- SOUTH_AFRICA - net.dv8tion.jda.api.Region
- SPACE - Static variable in interface net.dv8tion.jda.api.MessageBuilder.SplitPolicy
-
Splits on space chars
` `
. - SpeakingMode - Enum in net.dv8tion.jda.api.audio
-
Flags representing the speaking modes used by discord users.
- SPECTATE - net.dv8tion.jda.api.entities.ActivityFlag
- SPECTATE - net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
The
MessageActivity
type used for inviting people to spectate a game. - SPLASH - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the splash field
- SPLASH_URL - Static variable in interface net.dv8tion.jda.api.entities.Guild
-
Template for
Guild.getSplashUrl()
. - spliterator() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
- spoiler(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing spoiler regions in the input and applies spoiler formatting to the entire string.
- SPOILER - net.dv8tion.jda.api.utils.AttachmentOption
-
Marks an image attachment as a spoiler by prefixing the name with
SPOILER_
- SPOILER - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Spoiler region such as "||Hello||"
- start() - Method in class net.dv8tion.jda.api.audio.factory.DefaultSendSystem
- start() - Method in interface net.dv8tion.jda.api.audio.factory.IAudioSendSystem
-
This represents the start of the loop, similar to
Thread.start()
, and after a call to this method JDA assumes that the instance will be sending UDP audio packets in a loop. - start(int) - Method in class net.dv8tion.jda.api.sharding.DefaultShardManager
- start(int) - Method in interface net.dv8tion.jda.api.sharding.ShardManager
-
Adds a new shard with the given id to this ShardManager and starts it.
- StatusChangeEvent - Class in net.dv8tion.jda.api.events
-
Indicates that our
Status
changed. - StatusChangeEvent(JDA, JDA.Status, JDA.Status) - Constructor for class net.dv8tion.jda.api.events.StatusChangeEvent
- STORE - net.dv8tion.jda.api.entities.ChannelType
-
A
StoreChannel
, Guild-Only. - StoreChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Store GuildChannel.
- StoreChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel.store
-
Indicates that a
StoreChannel
has been created. - StoreChannelCreateEvent(JDA, long, StoreChannel) - Constructor for class net.dv8tion.jda.api.events.channel.store.StoreChannelCreateEvent
- StoreChannelDeleteEvent - Class in net.dv8tion.jda.api.events.channel.store
-
Indicates that a
StoreChannel
has been deleted. - StoreChannelDeleteEvent(JDA, long, StoreChannel) - Constructor for class net.dv8tion.jda.api.events.channel.store.StoreChannelDeleteEvent
- StoreChannelUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.store.update
-
Indicates that a
StoreChannel
's name changed. - StoreChannelUpdateNameEvent(JDA, long, StoreChannel, String) - Constructor for class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdateNameEvent
- StoreChannelUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.channel.store.update
-
Indicates that a
StoreChannel
's permission overrides changed. - StoreChannelUpdatePermissionsEvent(JDA, long, StoreChannel, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent
- StoreChannelUpdatePositionEvent - Class in net.dv8tion.jda.api.events.channel.store.update
-
Indicates that a
StoreChannel
's position changed. - StoreChannelUpdatePositionEvent(JDA, long, StoreChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePositionEvent
- stream() - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
A sequential
Stream
with this PaginationAction as its source. - stream() - Method in interface net.dv8tion.jda.api.utils.cache.CacheView
-
Creates a
Stream
of all cached elements. - streaming(String, String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name and url.
- STREAMING - net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
is a stream
This type is displayed as "Streaming" in the discord client. - STREAMING_URL - Static variable in interface net.dv8tion.jda.api.entities.Activity
-
The Pattern used for
Activity.isValidStreamingUrl(String)
- streamUnordered() - Method in interface net.dv8tion.jda.api.utils.cache.SortedSnowflakeCacheView
-
Behavior similar to
CacheView.stream()
which does not preserve order. - strike(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing strike regions in the input and applies strike formatting to the entire string.
- STRIKE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Strikethrough region such as "~~Hello~~"
- STRIKETHROUGH - net.dv8tion.jda.api.MessageBuilder.Formatting
- STRING - net.dv8tion.jda.api.utils.data.DataType
- stripMentions(Guild) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes all mentions and replaces them with the closest looking textual representation.
- stripMentions(Guild, Message.MentionType...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes all mentions of the specified types and replaces them with the closest looking textual representation.
- stripMentions(JDA) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes all mentions and replaces them with the closest looking textual representation.
- stripMentions(JDA, Message.MentionType...) - Method in class net.dv8tion.jda.api.MessageBuilder
-
Removes all mentions of the specified types and replaces them with the closest looking textual representation.
- submit() - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submit(boolean) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Submits a Request for execution and provides a
CompletableFuture
representing its completion task. - submitAfter(long, TimeUnit) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - submitAfter(long, TimeUnit, ScheduledExecutorService) - Method in interface net.dv8tion.jda.api.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - SubscribeEvent - Annotation Type in net.dv8tion.jda.api.hooks
-
Annotation used by the
AnnotatedEventManager
this is only picked up if the event manager implementation has been set to use theAnnotatedEventManager
viaJDABuilder.setEventManager(IEventManager)
- swapPosition(int) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the entity located at the specified position.
- swapPosition(T) - Method in interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the specified entity.
- SYDNEY - net.dv8tion.jda.api.Region
- sync() - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with its parent (Category
). - sync(GuildChannel) - Method in interface net.dv8tion.jda.api.managers.ChannelManager
-
Syncs all
PermissionOverrides
of this GuildChannel with the given (GuildChannel
). - SYNC - net.dv8tion.jda.api.entities.ActivityFlag
- SYSTEM_CHANNEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the system channel field
T
- takeAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeRemainingAsync(int) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeUntilAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeUntilAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements until the specified condition is met.
- takeWhileAsync(int, Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- takeWhileAsync(Predicate<? super T>) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
-
Retrieves elements while the specified condition is met.
- TargetType - Enum in net.dv8tion.jda.api.audit
-
TargetType for an
ActionType
This describes what kind of Discord entity is being targeted by an auditable action! - TeamMember - Interface in net.dv8tion.jda.api.entities
-
Member of a
ApplicationTeam
. - TeamMember.MembershipState - Enum in net.dv8tion.jda.api.entities
-
The membership state on the team.
- TEXT - net.dv8tion.jda.api.entities.ChannelType
-
A
TextChannel
, Guild-Only. - TEXT_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length the description and footer of an embed can have
- TextChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Text GuildChannel.
- TextChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel.text
-
Indicates that a
TextChannel
has been created. - TextChannelCreateEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.channel.text.TextChannelCreateEvent
- TextChannelDeleteEvent - Class in net.dv8tion.jda.api.events.channel.text
-
Indicates that a
TextChannel
has been deleted. - TextChannelDeleteEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.api.events.channel.text.TextChannelDeleteEvent
- TextChannelUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's name changed. - TextChannelUpdateNameEvent(JDA, long, TextChannel, String) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNameEvent
- TextChannelUpdateNSFWEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's NSFW status changed. - TextChannelUpdateNSFWEvent(JDA, long, TextChannel, boolean) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateNSFWEvent
- TextChannelUpdateParentEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's parent changed. - TextChannelUpdateParentEvent(JDA, long, TextChannel, Category) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateParentEvent
- TextChannelUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's permission overrides changed. - TextChannelUpdatePermissionsEvent(JDA, long, TextChannel, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
- TextChannelUpdatePositionEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's position changed. - TextChannelUpdatePositionEvent(JDA, long, TextChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePositionEvent
- TextChannelUpdateSlowmodeEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's slowmode changed. - TextChannelUpdateSlowmodeEvent(JDA, long, TextChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateSlowmodeEvent
- TextChannelUpdateTopicEvent - Class in net.dv8tion.jda.api.events.channel.text.update
-
Indicates that a
TextChannel
's topic changed. - TextChannelUpdateTopicEvent(JDA, long, TextChannel, String) - Constructor for class net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdateTopicEvent
- ThreadLocalReason - Class in net.dv8tion.jda.api.audit
-
Thread-Local audit-log reason used automatically by
AuditableRestAction
instances when no other reason was set. - ThreadLocalReason.Closable - Class in net.dv8tion.jda.api.audit
-
Allows to use try-with-resources blocks for setting reasons
- ThreadPoolProvider<T extends ExecutorService> - Interface in net.dv8tion.jda.api.sharding
-
Called by
DefaultShardManager
when building a JDA instance. - Thumbnail(String, String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.Thumbnail
- TIER_1 - net.dv8tion.jda.api.entities.Guild.BoostTier
-
The first tier.
- TIER_2 - net.dv8tion.jda.api.entities.Guild.BoostTier
-
The second tier.
- TIER_3 - net.dv8tion.jda.api.entities.Guild.BoostTier
-
The third tier.
- TIMESTAMP_OFFSET - Static variable in class net.dv8tion.jda.api.utils.TimeUtil
- Timestamps(long, long) - Constructor for class net.dv8tion.jda.api.entities.Activity.Timestamps
- TimeUtil - Class in net.dv8tion.jda.api.utils
- TimeUtil() - Constructor for class net.dv8tion.jda.api.utils.TimeUtil
- TITLE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed title can have
- toData() - Method in class net.dv8tion.jda.api.entities.MessageEmbed
-
Creates a new
DataObject
used for sending. - toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- toData() - Method in class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
- toData() - Method in interface net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceUpdate
-
The raw JSON object that was parsed from this update
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.ChannelData
- toData() - Method in class net.dv8tion.jda.api.requests.restaction.GuildAction.RoleData
- toData() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toData() - Method in interface net.dv8tion.jda.api.utils.data.SerializableData
-
Serialized
DataObject
for this object. - toList() - Method in class net.dv8tion.jda.api.utils.data.DataArray
-
Converts this DataArray to a
List
. - toMap() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Converts this DataObject to a
Map
- TOO_MANY_REACTIONS - net.dv8tion.jda.api.requests.ErrorResponse
- TOPIC - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the topic field
- toString() - Method in class net.dv8tion.jda.api.audit.AuditLogChange
- toString() - Method in class net.dv8tion.jda.api.audit.AuditLogEntry
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogKey
- toString() - Method in enum net.dv8tion.jda.api.audit.AuditLogOption
- toString() - Method in class net.dv8tion.jda.api.entities.Activity.Emoji
- toString() - Method in class net.dv8tion.jda.api.entities.Activity.Timestamps
- toString() - Method in class net.dv8tion.jda.api.entities.Guild.Ban
- toString() - Method in class net.dv8tion.jda.api.entities.MessageReaction.ReactionEmote
- toString() - Method in class net.dv8tion.jda.api.entities.MessageReaction
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Image
- toString() - Method in class net.dv8tion.jda.api.entities.RichPresence.Party
- toString() - Method in class net.dv8tion.jda.api.events.channel.category.update.GenericCategoryUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.channel.store.update.GenericStoreChannelUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.channel.text.update.GenericTextChannelUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.emote.update.GenericEmoteUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.GatewayPingEvent
- toString() - Method in class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.role.update.GenericRoleUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.self.GenericSelfUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.events.StatusChangeEvent
- toString() - Method in class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
- toString() - Method in class net.dv8tion.jda.api.JDA.ShardInfo
- toString() - Method in enum net.dv8tion.jda.api.Region
- toString() - Method in enum net.dv8tion.jda.api.requests.CloseCode
- toString() - Method in class net.dv8tion.jda.api.requests.Response
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataArray
- toString() - Method in class net.dv8tion.jda.api.utils.data.DataObject
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.Member
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
- toString() - Method in class net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceState
- transferOwnership(Member) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Transfers the Guild ownership to the specified
Member
Only available if the currently logged in account is the owner of this Guild - tts(boolean) - Method in interface net.dv8tion.jda.api.requests.restaction.MessageAction
-
Enable/Disable Text-To-Speech for the resulting message.
- TWO_FACTOR_AUTH - net.dv8tion.jda.api.entities.Guild.MFALevel
- type(ActionType) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
ActionType
- TYPE - net.dv8tion.jda.api.audit.AuditLogKey
-
Entity type (like channel type or webhook type)
- TYPE - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible option indicating the type of an entity.
U
- UNAUTHORIZED - net.dv8tion.jda.api.requests.ErrorResponse
- UnavailableGuildJoinedEvent - Class in net.dv8tion.jda.api.events.guild
-
Indicates that you joined a
Guild
that is not yet available. - UnavailableGuildJoinedEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
- unban(String) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Unbans the a user specified by the userId from this Guild.
- unban(User) - Method in interface net.dv8tion.jda.api.entities.Guild
-
Unbans the specified
User
from this Guild. - UNBAN - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has unbanned a user.
- underline(String) - Static method in class net.dv8tion.jda.api.utils.MarkdownUtil
-
Escapes already existing underline regions in the input and applies underline formatting to the entire string.
- UNDERLINE - net.dv8tion.jda.api.MessageBuilder.Formatting
- UNDERLINE - Static variable in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Underline region such as "__Hello__"
- UnifiedMemberCacheView - Interface in net.dv8tion.jda.api.utils.cache
- UNKNOWN - net.dv8tion.jda.api.audit.ActionType
- UNKNOWN - net.dv8tion.jda.api.audit.TargetType
- UNKNOWN - net.dv8tion.jda.api.entities.ChannelType
-
Unknown Discord channel type.
- UNKNOWN - net.dv8tion.jda.api.entities.ClientType
-
Placeholder for a new type that is not yet supported here
- UNKNOWN - net.dv8tion.jda.api.entities.EmbedType
- UNKNOWN - net.dv8tion.jda.api.entities.Guild.BoostTier
-
Placeholder for future tiers.
- UNKNOWN - net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
- UNKNOWN - net.dv8tion.jda.api.entities.Guild.MFALevel
- UNKNOWN - net.dv8tion.jda.api.entities.Guild.NotificationLevel
- UNKNOWN - net.dv8tion.jda.api.entities.Guild.VerificationLevel
- UNKNOWN - net.dv8tion.jda.api.entities.Icon.IconType
-
Placeholder for unsupported IconTypes
- UNKNOWN - net.dv8tion.jda.api.entities.Invite.InviteType
- UNKNOWN - net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Represents any unknown or unsupported
MessageActivity
types. - UNKNOWN - net.dv8tion.jda.api.entities.MessageType
-
Unknown MessageType.
- UNKNOWN - net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Placeholder for future states
- UNKNOWN - net.dv8tion.jda.api.entities.WebhookType
-
Placeholder for unsupported types
- UNKNOWN - net.dv8tion.jda.api.OnlineStatus
-
Placeholder for possible future online status values that are not listed here yet.
- UNKNOWN - net.dv8tion.jda.api.Permission
- UNKNOWN - net.dv8tion.jda.api.Region
- UNKNOWN - net.dv8tion.jda.api.utils.data.DataType
- UNKNOWN_ACCOUNT - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_APPLICATION - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_BAN - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_CHANNEL - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_EMOJI - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ERROR - net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_GUILD - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INTEGRATION - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_INVITE - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MEMBER - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_MESSAGE - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_OPCODE - net.dv8tion.jda.api.requests.CloseCode
- UNKNOWN_OVERRIDE - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_PROVIDER - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_ROLE - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_TOKEN - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_USER - net.dv8tion.jda.api.requests.ErrorResponse
- UNKNOWN_WEBHOOK - net.dv8tion.jda.api.requests.ErrorResponse
- unpin() - Method in interface net.dv8tion.jda.api.entities.Message
-
Used to remove the Message from the
MessageChannel's
pinned message list. - unpinMessageById(long) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to unpin a message.
- unpinMessageById(String) - Method in interface net.dv8tion.jda.api.entities.MessageChannel
-
Used to unpin a message.
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.AnnotatedEventManager
- unregister(Object) - Method in interface net.dv8tion.jda.api.hooks.IEventManager
-
Removes the specified listener
- unregister(Object) - Method in class net.dv8tion.jda.api.hooks.InterfacedEventManager
- UpdateEvent<E,T> - Interface in net.dv8tion.jda.api.events
-
Indicates that a value of an entity was updated
- upsertPermissionOverride(IPermissionHolder) - Method in interface net.dv8tion.jda.api.entities.GuildChannel
-
Creates a new override or updates an existing one.
- URL_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length any URL can have inside an embed
- URL_PATTERN - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- US_CENTRAL - net.dv8tion.jda.api.Region
- US_EAST - net.dv8tion.jda.api.Region
- US_SOUTH - net.dv8tion.jda.api.Region
- US_WEST - net.dv8tion.jda.api.Region
- user(long) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(String) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(User) - Method in interface net.dv8tion.jda.api.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
. - User - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord User.
- USER - net.dv8tion.jda.api.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withJDA.getUserById(String)
- USER - net.dv8tion.jda.api.entities.Message.MentionType
- USER_NOT_CONNECTED - net.dv8tion.jda.api.requests.ErrorResponse
- USER_TAG - Static variable in interface net.dv8tion.jda.api.entities.User
-
Compiled pattern for a Discord Tag:
(.{2,32})#(\d{4})
- UserActivityEndEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityEndEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityEndEvent
- UserActivityStartEvent - Class in net.dv8tion.jda.api.events.user
- UserActivityStartEvent(JDA, long, Member, Activity) - Constructor for class net.dv8tion.jda.api.events.user.UserActivityStartEvent
- UserAudio - Class in net.dv8tion.jda.api.audio
-
Represents a packet of User specific audio.
- UserAudio(User, short[]) - Constructor for class net.dv8tion.jda.api.audio.UserAudio
- USERLIMIT - Static variable in interface net.dv8tion.jda.api.managers.ChannelManager
-
Used to reset the userlimit field
- UserTypingEvent - Class in net.dv8tion.jda.api.events.user
-
Indicates that a
User
started typing. - UserTypingEvent(JDA, long, User, MessageChannel, OffsetDateTime) - Constructor for class net.dv8tion.jda.api.events.user.UserTypingEvent
- UserUpdateActivityOrderEvent - Class in net.dv8tion.jda.api.events.user.update
- UserUpdateActivityOrderEvent(JDAImpl, long, List<Activity>, Member) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateActivityOrderEvent
- UserUpdateAvatarEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the Avatar of a
User
changed. - UserUpdateAvatarEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateAvatarEvent
- UserUpdateDiscriminatorEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the discriminator of a
User
changed. - UserUpdateDiscriminatorEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateDiscriminatorEvent
- UserUpdateNameEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the username of a
User
changed. - UserUpdateNameEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent
- UserUpdateOnlineStatusEvent - Class in net.dv8tion.jda.api.events.user.update
-
Indicates that the
OnlineStatus
of aUser
changed. - UserUpdateOnlineStatusEvent(JDA, long, Member, OnlineStatus) - Constructor for class net.dv8tion.jda.api.events.user.update.UserUpdateOnlineStatusEvent
- useSharding(int, int) - Method in class net.dv8tion.jda.api.JDABuilder
-
This will enable sharding mode for JDA.
V
- value() - Method in annotation type net.dv8tion.jda.annotations.DeprecatedSince
- value() - Method in annotation type net.dv8tion.jda.annotations.ReplaceWith
- VALUE_MAX_LENGTH - Static variable in class net.dv8tion.jda.api.entities.MessageEmbed
-
The maximum length an embed field value can have
- valueOf(String) - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.MessageBuilder.Formatting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Permission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.Region
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.AttachmentOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.dv8tion.jda.api.AccountType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.hooks.ConnectionStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audio.SpeakingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.ActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.AuditLogOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.audit.TargetType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Activity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ActivityFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ChannelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.ClientType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.EmbedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.BoostTier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.ExplicitContentLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.MFALevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.NotificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.Timeout
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Guild.VerificationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Icon.IconType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Invite.InviteType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.Message.MentionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageActivity.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.TeamMember.MembershipState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.entities.WebhookType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.JDA.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.MessageBuilder.Formatting
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.OnlineStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Permission
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.Region
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.CloseCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.requests.ErrorResponse
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.AttachmentOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.cache.CacheFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.Compression
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class net.dv8tion.jda.api.utils.data.DataObject
-
Collection
of all values in this DataObject. - values() - Static method in enum net.dv8tion.jda.api.utils.data.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.MarkdownSanitizer.SanitizationStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.BannerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.api.utils.WidgetUtil.WidgetTheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VANITY_URL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the vanity code field
- VERIFICATION_ERROR - net.dv8tion.jda.api.requests.ErrorResponse
- VERIFICATION_LEVEL - Static variable in interface net.dv8tion.jda.api.managers.GuildManager
-
Used to reset the verification level field
- VerificationLevelException - Exception in net.dv8tion.jda.api.exceptions
- VerificationLevelException(Guild.VerificationLevel) - Constructor for exception net.dv8tion.jda.api.exceptions.VerificationLevelException
- VERSION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_BUILD - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MAJOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_MINOR - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERSION_REVISION - Static variable in class net.dv8tion.jda.api.JDAInfo
- VERY_HIGH - net.dv8tion.jda.api.entities.Guild.VerificationLevel
- VIDEO - net.dv8tion.jda.api.entities.EmbedType
- VideoInfo(String, int, int) - Constructor for class net.dv8tion.jda.api.entities.MessageEmbed.VideoInfo
- VIEW_AUDIT_LOGS - net.dv8tion.jda.api.Permission
- VIEW_CHANNEL - net.dv8tion.jda.api.Permission
- VIP_AMSTERDAM - net.dv8tion.jda.api.Region
- VIP_BRAZIL - net.dv8tion.jda.api.Region
- VIP_EU_CENTRAL - net.dv8tion.jda.api.Region
- VIP_EU_WEST - net.dv8tion.jda.api.Region
- VIP_FRANKFURT - net.dv8tion.jda.api.Region
- VIP_JAPAN - net.dv8tion.jda.api.Region
- VIP_LONDON - net.dv8tion.jda.api.Region
- VIP_SINGAPORE - net.dv8tion.jda.api.Region
- VIP_SOUTH_AFRICA - net.dv8tion.jda.api.Region
- VIP_SYDNEY - net.dv8tion.jda.api.Region
- VIP_US_CENTRAL - net.dv8tion.jda.api.Region
- VIP_US_EAST - net.dv8tion.jda.api.Region
- VIP_US_SOUTH - net.dv8tion.jda.api.Region
- VIP_US_WEST - net.dv8tion.jda.api.Region
- VOICE - net.dv8tion.jda.api.audio.SpeakingMode
- VOICE - net.dv8tion.jda.api.entities.ChannelType
-
A
VoiceChannel
, Guild-Only. - VOICE_CONNECT - net.dv8tion.jda.api.Permission
- VOICE_DEAF_OTHERS - net.dv8tion.jda.api.Permission
- VOICE_MOVE_OTHERS - net.dv8tion.jda.api.Permission
- VOICE_MUTE_OTHERS - net.dv8tion.jda.api.Permission
- VOICE_SPEAK - net.dv8tion.jda.api.Permission
- VOICE_STATE - net.dv8tion.jda.api.utils.cache.CacheFlag
-
Enables cache for
Member.getVoiceState()
This will always be cached for self member. - VOICE_STREAM - net.dv8tion.jda.api.Permission
- VOICE_USE_VAD - net.dv8tion.jda.api.Permission
- VoiceChannel - Interface in net.dv8tion.jda.api.entities
-
Represents a Discord Voice GuildChannel.
- VoiceChannelCreateEvent - Class in net.dv8tion.jda.api.events.channel.voice
-
Indicates that a
VoiceChannel
was created. - VoiceChannelCreateEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.channel.voice.VoiceChannelCreateEvent
- VoiceChannelDeleteEvent - Class in net.dv8tion.jda.api.events.channel.voice
-
Indicates that a
VoiceChannel
was deleted. - VoiceChannelDeleteEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.api.events.channel.voice.VoiceChannelDeleteEvent
- VoiceChannelUpdateBitrateEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's bitrate changed. - VoiceChannelUpdateBitrateEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- VoiceChannelUpdateNameEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's name changed. - VoiceChannelUpdateNameEvent(JDA, long, VoiceChannel, String) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateNameEvent
- VoiceChannelUpdateParentEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's parent changed. - VoiceChannelUpdateParentEvent(JDA, long, VoiceChannel, Category) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateParentEvent
- VoiceChannelUpdatePermissionsEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's permission overrides changed. - VoiceChannelUpdatePermissionsEvent(JDA, long, VoiceChannel, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
- VoiceChannelUpdatePositionEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's position changed. - VoiceChannelUpdatePositionEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- VoiceChannelUpdateUserLimitEvent - Class in net.dv8tion.jda.api.events.channel.voice.update
-
Indicates that a
VoiceChannel
's user limit changed. - VoiceChannelUpdateUserLimitEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- VoiceDispatchInterceptor - Interface in net.dv8tion.jda.api.hooks
-
Interceptor used to handle critical voice dispatches.
- VoiceDispatchInterceptor.VoiceServerUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice Server Update
- VoiceDispatchInterceptor.VoiceStateUpdate - Class in net.dv8tion.jda.api.hooks
-
Wrapper for a Voice State Update
- VoiceDispatchInterceptor.VoiceUpdate - Interface in net.dv8tion.jda.api.hooks
-
Abstraction for all relevant voice updates
- VoiceServerUpdate(Guild, String, String, String, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceServerUpdate
- VoiceStateUpdate(VoiceChannel, GuildVoiceState, DataObject) - Constructor for class net.dv8tion.jda.api.hooks.VoiceDispatchInterceptor.VoiceStateUpdate
W
- WAITING_TO_RECONNECT - net.dv8tion.jda.api.JDA.Status
-
When trying to reconnect to Discord JDA encountered an issue, most likely related to a lack of internet connection, and is waiting to try reconnecting again.
- wasHoisted() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateHoistedEvent
-
Whether the role was hoisted
- wasMentionable() - Method in class net.dv8tion.jda.api.events.role.update.RoleUpdateMentionableEvent
-
Whether the role was mentionable
- wasMfaEnabled() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMFAEvent
-
Whether MFA was previously enabled or not
- wasMobile() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateMobileEvent
-
The old mobile status.
- wasNitro() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateNitroEvent
-
Whether or not a nitro subscription used to be active before.
- wasVerified() - Method in class net.dv8tion.jda.api.events.self.SelfUpdateVerifiedEvent
-
Whether the account was verified
- watching(String) - Static method in interface net.dv8tion.jda.api.entities.Activity
-
Creates a new Activity instance with the specified name.
- WATCHING - net.dv8tion.jda.api.entities.Activity.ActivityType
-
Used to indicate that the
Activity
should display asWatching...
in the official client. - WEB - net.dv8tion.jda.api.entities.ClientType
-
Discord from the browser (or bot)
- Webhook - Interface in net.dv8tion.jda.api.entities
-
An object representing Webhooks in Discord
- WEBHOOK - net.dv8tion.jda.api.audit.TargetType
- WEBHOOK_CHANNEL - net.dv8tion.jda.api.audit.AuditLogKey
- WEBHOOK_CREATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has created a
Webhook
. - WEBHOOK_ICON - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getDefaultUser()
's avatar hash of a Webhook. - WEBHOOK_NAME - net.dv8tion.jda.api.audit.AuditLogKey
-
Change of the
Webhook.getName()
value. - WEBHOOK_REMOVE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has deleted a
Webhook
. - WEBHOOK_UPDATE - net.dv8tion.jda.api.audit.ActionType
-
An Administrator has updated a
Webhook
. - WebhookAction - Interface in net.dv8tion.jda.api.requests.restaction
-
Webhook
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createWebhooks
. - WebhookManager - Interface in net.dv8tion.jda.api.managers
-
Manager providing functionality to update one or more fields for a
Webhook
. - WebhookType - Enum in net.dv8tion.jda.api.entities
- WEBP - net.dv8tion.jda.api.entities.Icon.IconType
-
WEBP
- WIDGET_HTML - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_PNG - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WIDGET_URL - Static variable in class net.dv8tion.jda.api.utils.WidgetUtil
- WidgetUtil - Class in net.dv8tion.jda.api.utils
-
The WidgetUtil is a class for interacting with various facets of Discord's guild widgets
- WidgetUtil() - Constructor for class net.dv8tion.jda.api.utils.WidgetUtil
- WidgetUtil.BannerType - Enum in net.dv8tion.jda.api.utils
-
Represents the available banner types
Each of these has a different appearance: - WidgetUtil.Widget - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.Member - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.VoiceChannel - Class in net.dv8tion.jda.api.utils
- WidgetUtil.Widget.VoiceState - Class in net.dv8tion.jda.api.utils
- WidgetUtil.WidgetTheme - Enum in net.dv8tion.jda.api.utils
-
Represents the color scheme of the widget
These color themes match Discord's dark and light themes - withIgnored(int) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Specific regions to ignore.
- withStrategy(MarkdownSanitizer.SanitizationStrategy) - Method in class net.dv8tion.jda.api.utils.MarkdownSanitizer
-
Switches the used
MarkdownSanitizer.SanitizationStrategy
.
Z
- ZERO_WIDTH_SPACE - Static variable in class net.dv8tion.jda.api.EmbedBuilder
- ZLIB - net.dv8tion.jda.api.utils.Compression
-
Use ZLIB transport compression
All Classes All Packages