A B C D E F G H I J K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept() - Method in interface net.dv8tion.jda.client.entities.IncomingFriendRequest
- accept(T) - Method in interface net.dv8tion.jda.core.utils.IOConsumer
- AccountManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for the logged in account.
- AccountManager(SelfUser) - Constructor for class net.dv8tion.jda.core.managers.AccountManager
-
Creates a new AccountManager instance
- AccountType - Enum in net.dv8tion.jda.core
-
Represents the type of account that is logged in.
- AccountTypeException - Exception in net.dv8tion.jda.core.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.core.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- AccountTypeException(AccountType, String) - Constructor for exception net.dv8tion.jda.core.exceptions.AccountTypeException
-
Creates a new AccountTypeException instance
- ActionType - Enum in net.dv8tion.jda.core.audit
- ActivityFlag - Enum in net.dv8tion.jda.core.entities
-
Enum representing the flags in a
RichPresence
- addBlankField(boolean) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Adds a blank (empty) Field to the embed.
- addChannel(GuildAction.ChannelData) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Adds a
Channel
to the resulting Guild. - addEmbeds(Collection<MessageEmbed>) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided
MessageEmbeds
to this builder. - addEmbeds(MessageEmbed...) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided
MessageEmbeds
to this builder. - addEventListener(Object...) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- addEventListener(Object...) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Adds all provided listeners to the event-listeners that will be used to handle events.
- addEventListener(Object...) - Method in interface net.dv8tion.jda.core.JDA
-
Adds all provided listeners to the event-listeners that will be used to handle events.
- addEventListener(Object...) - Method in class net.dv8tion.jda.core.JDABuilder
-
Adds all provided listeners to the list of listeners that will be used to populate the
JDA
object. - addEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.bot.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.bot.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.bot.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.bot.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.bot.sharding.DefaultShardManager
- addEventListeners(IntFunction<Object>) - Method in interface net.dv8tion.jda.bot.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.core.EmbedBuilder
-
Adds a Field to the embed.
- addField(MessageEmbed.Field) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Copies the provided Field into a new Field for this builder.
- addFile(byte[], String) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Adds the provided byte[] as file data.
- addFile(File) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Adds the provided
File
as file data. - addFile(File) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided file to the resulting message.
- addFile(File, String) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Adds the provided
File
as file data. - addFile(InputStream, String) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Adds the provided
InputStream
as file data. - addFile(String, byte[]) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided file to the resulting message.
- addFile(String, File) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided file to the resulting message.
- addFile(String, InputStream) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Adds the provided file to the resulting message.
- addMember(String, long) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Adds the user represented by the provided id to this guild.
- addMember(String, String) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Adds the user represented by the provided id to this guild.
- addMember(String, User) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Adds the provided user to this guild.
- addPermissionOverride(IPermissionHolder, long, long) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new Channel. - addPermissionOverride(IPermissionHolder, Collection<Permission>, Collection<Permission>) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Adds a new Role or Member
PermissionOverride
for the new Channel. - addPermissionOverride(GuildAction.RoleData, long, long) - Method in class net.dv8tion.jda.core.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.core.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.core.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addPermissions(Permission...) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Adds the provided permissions to the Role
- addReaction(String) - Method in interface net.dv8tion.jda.core.entities.Message
-
Adds a reaction to this Message using a UTF8 emoji.
- addReaction(Emote) - Method in interface net.dv8tion.jda.core.entities.Message
-
Adds a reaction to this Message using an
Emote
. - addReactionById(long, String) - Method in interface net.dv8tion.jda.core.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.core.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.core.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.core.entities.MessageChannel
-
Attempts to react to a message represented by the specified
messageId
in this MessageChannel. - addRolesToMember(Member, Collection<Role>) - Method in class net.dv8tion.jda.core.managers.GuildController
- addRolesToMember(Member, Role...) - Method in class net.dv8tion.jda.core.managers.GuildController
- addSingleRoleToMember(Member, Role) - Method in class net.dv8tion.jda.core.managers.GuildController
- addWebhooks(Collection<WebhookClient>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Adds the specified
WebhookClients
to this cluster's list of receivers. - addWebhooks(WebhookClient...) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Adds the specified
WebhookClients
to this cluster's list of receivers. - ADMINISTRATOR - net.dv8tion.jda.core.Permission
- AFK_CHANNEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the afk channel field
- AFK_TIMEOUT - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the afk timeout field
- all(Collection<? extends CacheView<E>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
CacheView
for all provided CacheView implementations. - all(Supplier<Stream<CacheView<E>>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
CacheView
for all provided CacheView implementations. - ALL - net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
- ALL_CHANNEL_PERMISSIONS - Static variable in enum net.dv8tion.jda.core.Permission
-
All permissions that apply to a channel
- ALL_GUILD_PERMISSIONS - Static variable in enum net.dv8tion.jda.core.Permission
-
All Guild specific permissions which are only available to roles
- ALL_MESSAGES - net.dv8tion.jda.core.entities.Guild.NotificationLevel
- ALL_PERMISSIONS - Static variable in enum net.dv8tion.jda.core.Permission
-
Represents a raw set of all permissions
- ALL_TEXT_PERMISSIONS - Static variable in enum net.dv8tion.jda.core.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.core.Permission
-
All voice channel specific permissions which are only available in voice channel permission overrides
- allMembers(Collection<MemberCacheView>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
UnifiedMemberCacheView
for all provided MemberCacheView implementations. - allMembers(Supplier<Stream<MemberCacheView>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
UnifiedMemberCacheView
for all provided MemberCacheView implementations. - allOf(Collection<F>) - Static method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns a new CompletableFuture that is completed when all of the given Futures complete.
- allOf(RequestFuture<?>...) - Static method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns a new CompletableFuture that is completed when all of the given RequestFutures complete.
- allow - Variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- ALLOWED - Static variable in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Used to reset the granted field
- allShards(Collection<ShardCacheView>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allShards(Supplier<Stream<ShardCacheView>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
ShardCacheView
for all provided ShardCacheView implementations. - allSnowflakes(Collection<SnowflakeCacheView<E>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - allSnowflakes(Supplier<Stream<SnowflakeCacheView<E>>>) - Static method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a combined
SnowflakeCacheView
for all provided SnowflakeCacheView implementations. - ALREADY_AUTHENTICATED - net.dv8tion.jda.core.audio.VoiceCode.Close
- ALREADY_AUTHENTICATED - net.dv8tion.jda.core.requests.CloseCode
- AMSTERDAM - net.dv8tion.jda.core.Region
- AnnotatedEventManager - Class in net.dv8tion.jda.core.hooks
-
Implementation for
IEventManager
which checks forSubscribeEvent
annotations on both static and member methods. - AnnotatedEventManager() - Constructor for class net.dv8tion.jda.core.hooks.AnnotatedEventManager
- anyOf(Collection<F>) - Static method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns a new CompletableFuture that is completed when any of the given Futures complete, with the same result.
- anyOf(RequestFuture<?>...) - Static method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns a new CompletableFuture that is completed when any of the given RequestFutures complete, with the same result.
- ANYWHERE - Static variable in interface net.dv8tion.jda.core.MessageBuilder.SplitPolicy
-
Splits exactly after 2000 chars.
- append(char) - Method in class net.dv8tion.jda.core.MessageBuilder
- append(char) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
- append(CharSequence) - Method in class net.dv8tion.jda.core.MessageBuilder
- append(CharSequence) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
- append(CharSequence, int, int) - Method in class net.dv8tion.jda.core.MessageBuilder
- append(CharSequence, int, int) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
- append(CharSequence, MessageBuilder.Formatting...) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Appends a String using the specified chat
Formatting(s)
. - append(Object) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Appends the string representation of an object to the Message.
- append(String) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Appends to the currently set content of the resulting message.
- append(IMentionable) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Appends a mention to the Message.
- appendCodeBlock(CharSequence, CharSequence) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Appends a code-block to the Message.
- appendDescription(CharSequence) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Appends to the description of the embed.
- appendFormat(String, Object...) - Method in class net.dv8tion.jda.core.MessageBuilder
-
This method is an extended form of
String.format(String, Object...)
. - appendFormat(String, Object...) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Applies the result of
String.format(String, Object...)
as content. - appendSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Called by
WebSocketClient
when a WebSocket should be started. - appendSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- appendTo(Formatter, int, int, boolean, String) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Can be used to append a String to a formatter.
- Application - Interface in net.dv8tion.jda.client.entities
-
Represents a Discord Application from its owning client point of view
- Application.Bot - Interface in net.dv8tion.jda.client.entities
-
Represents a Bot assigned to an Application To change its Username, login to JDA and use the
AccountManager
. - ApplicationAction - Class in net.dv8tion.jda.client.requests.restaction
-
Extension of
RestAction
specifically designed to create aApplication
. - ApplicationAction(JDAImpl, String) - Constructor for class net.dv8tion.jda.client.requests.restaction.ApplicationAction
- ApplicationInfo - Interface in net.dv8tion.jda.bot.entities
-
Represents a Discord Application from its bot's point of view.
- ApplicationManager - Class in net.dv8tion.jda.client.managers
-
Manager providing functionality to update one or more fields for an
Application
. - ApplicationManager(ApplicationImpl) - Constructor for class net.dv8tion.jda.client.managers.ApplicationManager
- apply(Message) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Applies the sendable information of the provided
Message
to this MessageAction settings. - apply(T) - Method in interface net.dv8tion.jda.core.utils.IOFunction
- asBot() - Method in interface net.dv8tion.jda.core.JDA
-
Used to access Bot specific functions like OAuth information.
- asClient() - Method in interface net.dv8tion.jda.core.JDA
-
Used to access Client specific functions like Groups, Calls, and Friends.
- asList() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- asList() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- asList() - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates an immutable snapshot of the current cache state.
- asRichPresence() - Method in class net.dv8tion.jda.core.entities.Game
-
RichPresence
representation of this Game. - asRichPresence() - Method in class net.dv8tion.jda.core.entities.RichPresence
- asSet() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- asSet() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- asSet() - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates an immutable snapshot of the current cache state.
- Attachment(long, String, String, String, int, int, int, JDAImpl) - Constructor for class net.dv8tion.jda.core.entities.Message.Attachment
- ATTEMPTING_TO_RECONNECT - net.dv8tion.jda.core.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.core.JDAInfo
- AUDIO_REGION_CHANGE - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that the audio connection was closed due to the
Region
of the audio connection being changed. - AudioChannel - Interface in net.dv8tion.jda.core.entities
-
Represents a channel that is able to transmit and receive audio.
- AudioEncryption - Enum in net.dv8tion.jda.core.audio
- AudioManager - Interface in net.dv8tion.jda.core.managers
-
AudioManager deals with creating, managing and severing audio connections to
VoiceChannels
. - AudioNatives - Class in net.dv8tion.jda.core.audio
-
Controller used by JDA to ensure the native binaries for opus en-/decoding are available.
- AudioReceiveHandler - Interface in net.dv8tion.jda.core.audio
-
Interface used to receive audio from Discord through JDA.
- AudioSendHandler - Interface in net.dv8tion.jda.core.audio
-
Interface used to send audio to Discord through JDA.
- AuditableRestAction<T> - Class in net.dv8tion.jda.core.requests.restaction
-
Extension of RestAction to allow setting a reason, only available to accounts of
AccountType.BOT
- AuditableRestAction(JDA, Route.CompiledRoute) - Constructor for class net.dv8tion.jda.core.requests.restaction.AuditableRestAction
- AuditableRestAction(JDA, Route.CompiledRoute, RequestBody) - Constructor for class net.dv8tion.jda.core.requests.restaction.AuditableRestAction
- AuditableRestAction(JDA, Route.CompiledRoute, JSONObject) - Constructor for class net.dv8tion.jda.core.requests.restaction.AuditableRestAction
- AuditableRestAction.EmptyRestAction<T> - Class in net.dv8tion.jda.core.requests.restaction
-
Specialized form of
AuditableRestAction
that is used to provide information that has already been retrieved or generated so that another request does not need to be made to Discord. - AuditLogChange - Class in net.dv8tion.jda.core.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.core.audit.AuditLogChange
- AuditLogEntry - Class in net.dv8tion.jda.core.audit
-
Single entry for an
AuditLogPaginationAction
. - AuditLogEntry(ActionType, long, long, GuildImpl, UserImpl, WebhookImpl, String, Map<String, AuditLogChange>, Map<String, Object>) - Constructor for class net.dv8tion.jda.core.audit.AuditLogEntry
- AuditLogKey - Enum in net.dv8tion.jda.core.audit
-
Enum of possible/expected keys that can be provided to
AuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey
. - AuditLogOption - Enum in net.dv8tion.jda.core.audit
-
Enum constants for possible options
Providing detailed description of possible occasions and expected types. - AuditLogPaginationAction - Class in net.dv8tion.jda.core.requests.restaction.pagination
-
PaginationAction
that paginates the endpointRoute.Guilds.GET_AUDIT_LOGS
. - AuditLogPaginationAction(Guild) - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
- AUTHENTICATION_FAILED - net.dv8tion.jda.core.audio.VoiceCode.Close
- AUTHENTICATION_FAILED - net.dv8tion.jda.core.requests.CloseCode
- AuthorInfo(String, String, String, String) - Constructor for class net.dv8tion.jda.core.entities.MessageEmbed.AuthorInfo
- AuthorizedApplication - Interface in net.dv8tion.jda.client.entities
-
Represents a Discord Application from the point of view of a client having authorized it.
- AVATAR - Static variable in class net.dv8tion.jda.core.managers.AccountManager
-
Used to reset the avatar field
- AVATAR - Static variable in class net.dv8tion.jda.core.managers.WebhookManager
-
Used to reset the avatar field
- AWAITING_LOGIN_CONFIRMATION - net.dv8tion.jda.core.JDA.Status
-
JDA has sent authentication to discord and is awaiting confirmation
- awaitReady() - Method in interface net.dv8tion.jda.core.JDA
-
This method will block until JDA has reached the status
JDA.Status.CONNECTED
. - awaitStatus(JDA.Status) - Method in interface net.dv8tion.jda.core.JDA
-
This method will block until JDA has reached the specified connection status.
B
- ban(String, int) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans the a user specified by the userId and deletes messages sent by the user based on the amount of delDays.
- ban(String, int, String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans the a user specified by the userId and deletes messages sent by the user based on the amount of delDays.
- ban(Member, int) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans a
Member
and deletes messages sent by the user based on the amount of delDays. - ban(Member, int, String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans a
Member
and deletes messages sent by the user based on the amount of delDays. - ban(User, int) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans a
Member
and deletes messages sent by the user based on the amount of delDays. - ban(User, int, String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Bans a
User
and deletes messages sent by the user based on the amount of delDays. - Ban(User, String) - Constructor for class net.dv8tion.jda.core.entities.Guild.Ban
- BAN - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has banned a user.
- BAN_MEMBERS - net.dv8tion.jda.core.Permission
- BANNER1 - net.dv8tion.jda.core.utils.WidgetUtil.BannerType
- BANNER2 - net.dv8tion.jda.core.utils.WidgetUtil.BannerType
- BANNER3 - net.dv8tion.jda.core.utils.WidgetUtil.BannerType
- BANNER4 - net.dv8tion.jda.core.utils.WidgetUtil.BannerType
- BITRATE - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the bitrate field
- BLOCK - net.dv8tion.jda.core.MessageBuilder.Formatting
- BLOCKED - net.dv8tion.jda.client.entities.RelationshipType
- BlockedUser - Interface in net.dv8tion.jda.client.entities
- BOLD - net.dv8tion.jda.core.MessageBuilder.Formatting
- BOT - net.dv8tion.jda.core.AccountType
-
An OAuth2 Bot which was created by an application
- BOTS_NOT_ALLOWED - net.dv8tion.jda.core.requests.ErrorResponse
- BRAZIL - net.dv8tion.jda.core.Region
- broadcast(byte[], String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
byte[]
data as an attachment to all registeredWebhookClients
. - broadcast(File) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
File
to all registeredWebhookClients
. - broadcast(File, String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
File
to all registeredWebhookClients
. - broadcast(InputStream, String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
InputStream
as an attachment to all registeredWebhookClients
. - broadcast(String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided text message to all registered
WebhookClients
. - broadcast(Collection<MessageEmbed>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
MessageEmbeds
to all registeredWebhookClients
. - broadcast(Message) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
Message
to all registeredWebhookClients
. - broadcast(MessageEmbed[]) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
MessageEmbeds
to all registeredWebhookClients
. - broadcast(MessageEmbed, MessageEmbed...) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
MessageEmbeds
to all registeredWebhookClients
. - broadcast(WebhookMessage) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
WebhookMessage
to all registeredWebhookClients
. - build() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Builds a new
ShardManager
instance and uses the provided token to start the login process. - build() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Returns a
MessageEmbed
that has been checked as being valid for sending. - build() - Method in class net.dv8tion.jda.core.JDABuilder
-
Builds a new
JDA
instance and uses the provided token to start the login process. - build() - Method in class net.dv8tion.jda.core.MessageBuilder
-
Creates a
Message
object from this MessageBuilder - build() - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Builds a new
WebhookClient
instance with the current state of this builder. - build() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Builds a
WebhookMessage
instance with the current state of this builder. - buildAll(MessageBuilder.SplitPolicy...) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Creates a
Queue
ofMessage
objects from this MessageBuilder. - buildAsync() - Method in class net.dv8tion.jda.core.JDABuilder
-
Deprecated.Use
JDABuilder.build()
instead - buildBlocking() - Method in class net.dv8tion.jda.core.JDABuilder
-
Deprecated.Use
JDABuilder.build()
andJDA.awaitReady()
instead - buildBlocking(JDA.Status) - Method in class net.dv8tion.jda.core.JDABuilder
-
Deprecated.Use
JDABuilder.build()
andJDA.awaitStatus(Status)
instead - buildWebhook(long, String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Creates new
WebhookClients
and adds them to this cluster. - buildWebhooks(Collection<Webhook>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Creates new
WebhookClients
and adds them to this cluster. - buildWebhooks(Webhook...) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Creates new
WebhookClients
and adds them to this cluster.
C
- cache(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Whether already retrieved entities should be stored within the internal cache.
- CacheConsumer - Interface in net.dv8tion.jda.core.utils
- CacheFlag - Enum in net.dv8tion.jda.core.utils.cache
-
Flags used to enable cache services for JDA
- cacheSize() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
The current amount of cached entities for this PaginationAction
- CacheView<T> - Interface in net.dv8tion.jda.core.utils.cache
-
Read-only view on internal JDA cache of items.
- CacheView.SimpleCacheView<T> - Class in net.dv8tion.jda.core.utils.cache
-
Basic implementation of
CacheView
interface. - Call - Interface in net.dv8tion.jda.client.entities
- CALL - net.dv8tion.jda.core.entities.MessageType
-
Specialized message used for Groups as a System-Message showing that a Call was started.
- CallableChannel - Interface in net.dv8tion.jda.client.entities
- CallCreateEvent - Class in net.dv8tion.jda.client.events.call
- CallCreateEvent(JDA, long, Call) - Constructor for class net.dv8tion.jda.client.events.call.CallCreateEvent
- CallDeleteEvent - Class in net.dv8tion.jda.client.events.call
- CallDeleteEvent(JDA, long, Call) - Constructor for class net.dv8tion.jda.client.events.call.CallDeleteEvent
- CallUpdateRegionEvent - Class in net.dv8tion.jda.client.events.call.update
- CallUpdateRegionEvent(JDA, long, Call, Region) - Constructor for class net.dv8tion.jda.client.events.call.update.CallUpdateRegionEvent
- CallUpdateRingingUsersEvent - Class in net.dv8tion.jda.client.events.call.update
- CallUpdateRingingUsersEvent(JDA, long, Call, List<CallUser>, List<CallUser>) - Constructor for class net.dv8tion.jda.client.events.call.update.CallUpdateRingingUsersEvent
- CallUser - Interface in net.dv8tion.jda.client.entities
- CallVoiceJoinEvent - Class in net.dv8tion.jda.client.events.call.voice
- CallVoiceJoinEvent(JDA, long, CallUser) - Constructor for class net.dv8tion.jda.client.events.call.voice.CallVoiceJoinEvent
- CallVoiceLeaveEvent - Class in net.dv8tion.jda.client.events.call.voice
- CallVoiceLeaveEvent(JDA, long, CallUser) - Constructor for class net.dv8tion.jda.client.events.call.voice.CallVoiceLeaveEvent
- CallVoiceSelfDeafenEvent - Class in net.dv8tion.jda.client.events.call.voice
- CallVoiceSelfDeafenEvent(JDA, long, CallUser) - Constructor for class net.dv8tion.jda.client.events.call.voice.CallVoiceSelfDeafenEvent
- CallVoiceSelfMuteEvent - Class in net.dv8tion.jda.client.events.call.voice
- CallVoiceSelfMuteEvent(JDA, long, CallUser) - Constructor for class net.dv8tion.jda.client.events.call.voice.CallVoiceSelfMuteEvent
- CallVoiceState - Interface in net.dv8tion.jda.client.entities
- cancel() - Method in interface net.dv8tion.jda.client.entities.OutgoingFriendRequest
- cancel(boolean) - Method in class net.dv8tion.jda.core.requests.RestFuture
- canInteract(Emote) - Method in interface net.dv8tion.jda.core.entities.Member
-
Whether this Member can interact with the provided
Emote
(use in a message) - canInteract(Member) - Method in interface net.dv8tion.jda.core.entities.Emote
-
Whether the specified Member can interact with this Emote
- canInteract(Member) - Method in interface net.dv8tion.jda.core.entities.Member
-
Whether this Member can interact with the provided Member (kick/ban/etc.)
- canInteract(Member, Emote) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- canInteract(Member, Member) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
-
Checks if one given Member can interact with a 2nd given Member - in a permission sense (kick/ban/modify perms).
- canInteract(Member, Role) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
-
Checks if a given Member can interact with a given Role - in a permission sense (kick/ban/modify perms).
- canInteract(Role) - Method in interface net.dv8tion.jda.core.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.core.entities.Role
-
Whether this Role can interact with the specified Role.
- canInteract(Role, Role) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
-
Checks if one given Role can interact with a 2nd given Role - in a permission sense (kick/ban/modify perms).
- canInteract(User, Emote, MessageChannel) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- canInteract(User, Emote, MessageChannel, boolean) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- canInteract(User, MessageChannel) - Method in interface net.dv8tion.jda.core.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.core.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.core.requests.ErrorResponse
- CANNOT_SEND_TO_USER - net.dv8tion.jda.core.requests.ErrorResponse
- canProvide() - Method in interface net.dv8tion.jda.core.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.core.entities.Emote
-
Whether this Emote has an attached roles list.
- canReceiveCombined() - Method in interface net.dv8tion.jda.core.audio.AudioReceiveHandler
-
If this method returns true, then JDA will generate combined audio data and provide it to the handler.
- canReceiveUser() - Method in interface net.dv8tion.jda.core.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.core.entities.TextChannel
-
Whether we can send messages in this channel.
- canTalk(Member) - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
Whether the specified
Member
can send messages in this channel. - Category - Interface in net.dv8tion.jda.core.entities
-
Represents a channel category in the official Discord API.
- CATEGORY - net.dv8tion.jda.core.entities.ChannelType
-
A
Category
, Guild-Only. - CategoryCreateEvent - Class in net.dv8tion.jda.core.events.channel.category
-
Indicates that a
Category
was created. - CategoryCreateEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.core.events.channel.category.CategoryCreateEvent
- CategoryDeleteEvent - Class in net.dv8tion.jda.core.events.channel.category
-
Indicates that a
Category
was deleted. - CategoryDeleteEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.core.events.channel.category.CategoryDeleteEvent
- CategoryOrderAction<T extends Channel> - Class in net.dv8tion.jda.core.requests.restaction.order
-
An extension of
ChannelOrderAction
with similar functionality, but constrained to the bounds of a singleCategory
. - CategoryOrderAction(Category, ChannelType) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.CategoryOrderAction
-
Creates a new CategoryOrderAction for the specified
Category
- CategoryUpdateNameEvent - Class in net.dv8tion.jda.core.events.channel.category.update
-
Indicates that the name of a
Category
was updated. - CategoryUpdateNameEvent(JDA, long, Category, String) - Constructor for class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdateNameEvent
- CategoryUpdatePermissionsEvent - Class in net.dv8tion.jda.core.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.core.events.channel.category.update.CategoryUpdatePermissionsEvent
- CategoryUpdatePositionEvent - Class in net.dv8tion.jda.core.events.channel.category.update
-
Indicates that the position of a
Category
was updated. - CategoryUpdatePositionEvent(JDA, long, Category, int) - Constructor for class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePositionEvent
- Channel - Interface in net.dv8tion.jda.core.entities
-
Represents a
Guild
channel. - CHANNEL - net.dv8tion.jda.core.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.core.audit.TargetType
- CHANNEL - net.dv8tion.jda.core.entities.Message.MentionType
-
Represents a mention for a
TextChannel
- CHANNEL - Static variable in class net.dv8tion.jda.core.managers.WebhookManager
-
Used to reset the channel field
- CHANNEL_BITRATE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
VoiceChannel.getBitrate()
value. - CHANNEL_CREATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator created a
Channel
- CHANNEL_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator deleted a
Channel
. - CHANNEL_ICON_CHANGE - net.dv8tion.jda.core.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.core.audit.AuditLogKey
-
Change of the
Channel.getName()
value. - CHANNEL_NAME_CHANGE - net.dv8tion.jda.core.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.core.audit.AuditLogKey
-
Change of the
TextChannel.isNSFW()
value. - CHANNEL_OVERRIDE_CREATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator created a
PermissionOverride
. - CHANNEL_OVERRIDE_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator deleted a
PermissionOverride
. - CHANNEL_OVERRIDE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator updated
PermissionOverride
information. - CHANNEL_OVERRIDES - net.dv8tion.jda.core.audit.AuditLogKey
-
The overrides for this channel.
- CHANNEL_PARENT - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Channel.getParent()
value. - CHANNEL_PINNED_ADD - net.dv8tion.jda.core.entities.MessageType
-
Specialized message used in MessageChannels as a System-Message to announce new pins
- CHANNEL_SLOWMODE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
TextChannel.getSlowmode()
value. - CHANNEL_TOPIC - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
TextChannel.getTopic()
value. - CHANNEL_TYPE - net.dv8tion.jda.core.audit.AuditLogKey
-
The integer type of this channel.
- CHANNEL_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator updated
Channel
information. - CHANNEL_USER_LIMIT - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
VoiceChannel.getUserLimit()
value. - ChannelAction - Class in net.dv8tion.jda.core.requests.restaction
-
Extension of
RestAction
specifically designed to create aChannel
. - ChannelAction(Route.CompiledRoute, String, Guild, ChannelType) - Constructor for class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Creates a new ChannelAction instance
- ChannelData(ChannelType, String) - Constructor for class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
- ChannelManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for a
Guild Channel
. - ChannelManager(Channel) - Constructor for class net.dv8tion.jda.core.managers.ChannelManager
-
Creates a new ChannelManager instance
- ChannelOrderAction<T extends Channel> - Class in net.dv8tion.jda.core.requests.restaction.order
- ChannelOrderAction(Guild, ChannelType) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.ChannelOrderAction
-
Creates a new ChannelOrderAction instance
- ChannelOrderAction(Guild, ChannelType, Collection<T>) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.ChannelOrderAction
- ChannelType - Enum in net.dv8tion.jda.core.entities
-
Enum used to differentiate between the different types of Discord channels.
- check(AccountType, AccountType) - Static method in exception net.dv8tion.jda.core.exceptions.AccountTypeException
- checkPermission(Channel, Member, Permission...) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- checkPermission(Member, Permission...) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- checkVerification() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Checks if the current Verification-level of this guild allows JDA to send messages to it.
- clear() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- clear() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Resets this builder to default state.
- clear() - Method in class net.dv8tion.jda.core.MessageBuilder
-
Clears the current builder.
- clear(long) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clear(Permission...) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Clears the provided
Permissions
bits from the selectedPermissionOverride
. - clearFields() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Clears all fields from the embed, such as those created with the
EmbedBuilder(MessageEmbed)
constructor or via theaddField
methods. - clearFiles() - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Clears all previously added files
And closesFileInputStreams
generated byMessageAction.addFile(File, String)
. - clearFiles(BiConsumer<String, InputStream>) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Clears all previously added files
- clearFiles(Consumer<InputStream>) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Clears all previously added files
TheMessageAction.clearFiles(BiConsumer)
version provides the resource name for more selective operations. - clearOverridesAdded() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Clears the overrides added via
ChannelManager.putPermissionOverride(IPermissionHolder, Collection, Collection)
. - clearOverridesRemoved() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Clears the overrides removed via
ChannelManager.removePermissionOverride(IPermissionHolder)
. - clearReactions() - Method in interface net.dv8tion.jda.core.entities.Message
-
Removes all reactions from this Message.
- clearReactionsById(long) - Method in interface net.dv8tion.jda.core.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.core.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.core.AccountType
-
A User-Account which can be used via the official Discord Client
- closable(String) - Static method in class net.dv8tion.jda.core.audit.ThreadLocalReason
-
Creates a new
ThreadLocalReason.Closable
instance. - Closable(String) - Constructor for class net.dv8tion.jda.core.audit.ThreadLocalReason.Closable
- close() - Method in class net.dv8tion.jda.core.audit.ThreadLocalReason.Closable
- close() - Method in interface net.dv8tion.jda.core.entities.PrivateChannel
-
Closes a PrivateChannel.
- close() - Method in class net.dv8tion.jda.webhook.WebhookClient
- close() - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Closes all registered
WebhookClients
and removes the from this cluster! - closeAudioConnection() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Close down the current audio connection of this
Guild
and disconnects from theVoiceChannel
. - CloseCode - Enum in net.dv8tion.jda.core.requests
-
Constants representing
WebSocketClient
close codes with association to an explaining message. - closeIf(Predicate<WebhookClient>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Closes all
WebhookClients
that meet the specified filter. - CLOUD_FLARE_LOAD - net.dv8tion.jda.core.requests.CloseCode
- CODE_GRANT - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the code grant field
- collect(Collector<? super T, A, R>) - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Collects all cached entities into a single Collection using the provided
Collector
. - COLOR - Static variable in class net.dv8tion.jda.core.managers.RoleManager
-
Used to reset the color field
- CombinedAudio - Class in net.dv8tion.jda.core.audio
-
Represents a packet of combined audio data from 0 to n Users.
- CombinedAudio(List<User>, short[]) - Constructor for class net.dv8tion.jda.core.audio.CombinedAudio
- complete() - Method in class net.dv8tion.jda.core.requests.RestAction
-
Blocks the current Thread and awaits the completion of an
RestAction.submit()
request. - complete(boolean) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Blocks the current Thread and awaits the completion of an
RestAction.submit()
request. - complete(boolean) - Method in class net.dv8tion.jda.core.requests.RestAction.EmptyRestAction
- completeAfter(long, TimeUnit) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Blocks the current Thread for the specified delay and calls
RestAction.complete()
when delay has been reached. - CONNECT - net.dv8tion.jda.core.audio.ConnectionStage
- CONNECTED - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
The audio connection has been successfully setup and is ready for use.
- CONNECTED - net.dv8tion.jda.core.JDA.Status
-
JDA has finished loading everything, is receiving information from Discord and is firing events.
- CONNECTING_ATTEMPTING_UDP_DISCOVERY - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
JDA successfully authenticated the audio websocket and it now attempting UDP discovery.
- CONNECTING_AWAITING_AUTHENTICATION - net.dv8tion.jda.core.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.core.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.core.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.core.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.core.JDA.Status
-
JDA is currently attempting to connect it's websocket to Discord.
- ConnectionListener - Interface in net.dv8tion.jda.core.audio.hooks
-
Used to monitor an audio connection, ping, and speaking users.
- ConnectionRequest - Class in net.dv8tion.jda.core.audio
- ConnectionRequest(Guild) - Constructor for class net.dv8tion.jda.core.audio.ConnectionRequest
- ConnectionRequest(VoiceChannel, ConnectionStage) - Constructor for class net.dv8tion.jda.core.audio.ConnectionRequest
- ConnectionStage - Enum in net.dv8tion.jda.core.audio
- ConnectionStatus - Enum in net.dv8tion.jda.core.audio.hooks
-
Represents the connection status of an audio connection.
- content(String) - Method in class net.dv8tion.jda.core.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.core.exceptions
-
Used to pass a context to async exception handling for debugging purposes.
- ContextException() - Constructor for exception net.dv8tion.jda.core.exceptions.ContextException
- COUNT - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible detail for
ActionType.MESSAGE_DELETE
describing the amount of deleted messages. - create(ErrorResponse, Response) - Static method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
- CREATE_INSTANT_INVITE - net.dv8tion.jda.core.Permission
- createApplication(String) - Method in interface net.dv8tion.jda.client.JDAClient
-
Creates a new
Application
for this user account with the given name. - createBot() - Method in interface net.dv8tion.jda.client.entities.Application
-
Creates a new Bot for this Application.
- createCategory(String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Creates a new
Category
in this Guild. - createCopy() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Creates a copy of the specified
Channel
. - createCopy() - Method in interface net.dv8tion.jda.core.entities.Role
- createCopy(Guild) - Method in interface net.dv8tion.jda.core.entities.Channel
- createCopy(Guild) - Method in interface net.dv8tion.jda.core.entities.Role
- createCopyOfChannel(Channel) - Method in class net.dv8tion.jda.core.managers.GuildController
- createCopyOfRole(Role) - Method in class net.dv8tion.jda.core.managers.GuildController
- createEmote(String, Icon, Role...) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Creates a new
Emote
in this Guild. - createGuild(String) - Method in interface net.dv8tion.jda.core.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.core.entities.Channel
-
Creates a new
InviteAction
which can be used to create a newInvite
. - createPermissionOverride(Member) - Method in interface net.dv8tion.jda.core.entities.Channel
-
Creates a
PermissionOverride
for the specifiedMember
in this Channel. - createPermissionOverride(Role) - Method in interface net.dv8tion.jda.core.entities.Channel
-
Creates a
PermissionOverride
for the specifiedRole
in this Channel. - createRequestBody(MediaType, InputStream) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Creates a new request body that transmits the provided
InputStream
. - createRole() - Method in class net.dv8tion.jda.core.managers.GuildController
-
Creates a new
Role
in this Guild. - createSendSystem(IPacketProvider) - Method in class net.dv8tion.jda.core.audio.factory.DefaultSendFactory
- createSendSystem(IPacketProvider) - Method in interface net.dv8tion.jda.core.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.core.entities.Category
-
Creates a new
TextChannel
with this Category as parent. - createTextChannel(String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Creates a new
TextChannel
in this Guild. - createVoiceChannel(String) - Method in interface net.dv8tion.jda.core.entities.Category
-
Creates a new
VoiceChannel
with this Category as parent. - createVoiceChannel(String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Creates a new
VoiceChannel
in this Guild. - createWebhook(String) - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
Creates a new
Webhook
.
D
- DARK - net.dv8tion.jda.core.utils.WidgetUtil.WidgetTheme
- DECODE_ERROR - net.dv8tion.jda.core.requests.CloseCode
- DEFAULT - net.dv8tion.jda.core.entities.Game.GameType
-
The GameType used to represent a normal
Game
status. - DEFAULT - net.dv8tion.jda.core.entities.MessageType
-
The normal text messages received when a user or bot sends a Message.
- DEFAULT_COLOR_RAW - Static variable in interface net.dv8tion.jda.core.entities.Role
-
Used to keep consistency between color values used in the API
- DEFAULT_CONNECTION_TIMEOUT - Static variable in interface net.dv8tion.jda.core.managers.AudioManager
- DEFAULT_FAILURE - Static variable in class net.dv8tion.jda.core.requests.RestAction
- DEFAULT_HTTP_BUILDER - Static variable in class net.dv8tion.jda.webhook.WebhookClientBuilder
- DEFAULT_SUCCESS - Static variable in class net.dv8tion.jda.core.requests.RestAction
- DEFAULT_THREAD_FACTORY - Static variable in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- DefaultSendFactory - Class in net.dv8tion.jda.core.audio.factory
-
The default implementation of the
IAudioSendFactory
. - DefaultSendFactory() - Constructor for class net.dv8tion.jda.core.audio.factory.DefaultSendFactory
- DefaultSendSystem - Class in net.dv8tion.jda.core.audio.factory
-
The default implementation of the
IAudioSendSystem
. - DefaultSendSystem(IPacketProvider) - Constructor for class net.dv8tion.jda.core.audio.factory.DefaultSendSystem
- DefaultShardManager - Class in net.dv8tion.jda.bot.sharding
-
JDA's default
ShardManager
implementation. - DefaultShardManagerBuilder - Class in net.dv8tion.jda.bot.sharding
-
Used to create new instances of JDA's default
ShardManager
implementation. - DefaultShardManagerBuilder() - Constructor for class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Creates a completely empty DefaultShardManagerBuilder.
- DefaultWebhookThreadFactory() - Constructor for class net.dv8tion.jda.webhook.WebhookClientBuilder.DefaultWebhookThreadFactory
- delete() - Method in interface net.dv8tion.jda.client.entities.Application
-
Deletes this Application and its assigned Bot (if present).
- delete() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
Removes the authorization from this application.
- delete() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Deletes this Channel.
- delete() - Method in interface net.dv8tion.jda.core.entities.Emote
-
Deletes this Emote.
- delete() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Used to completely delete a Guild.
- delete() - Method in interface net.dv8tion.jda.core.entities.Invite
-
Deletes this invite.
- delete() - Method in interface net.dv8tion.jda.core.entities.Message
-
Deletes this Message from Discord.
- delete() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
Deletes this PermissionOverride.
- delete() - Method in interface net.dv8tion.jda.core.entities.Role
-
Deletes this Role.
- delete() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
Deletes this Webhook.
- delete(String) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Used to completely delete a guild.
- DELETE - net.dv8tion.jda.core.requests.Method
- DELETE_MEMBER_DAYS - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the period of inactivity for that prune. - deleteMessageById(long) - Method in interface net.dv8tion.jda.core.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.core.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.core.entities.TextChannel
-
Bulk deletes a list of messages.
- deleteMessagesByIds(Collection<String>) - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
Bulk deletes a list of messages.
- deleteWebhookById(String) - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
Deletes a
Webhook
attached to this channel by theid
specified. - DENIED - Static variable in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Used to reset the denied field
- deny - Variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- deny(long) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Denies the provided
Permissions
bits from the selectedPermissionOverride
. - deny(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - deny(Permission...) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Denies the provided
Permissions
from the selectedPermissionOverride
. - DeprecatedSince - Annotation Type in net.dv8tion.jda.annotations
-
In combination with
Deprecated
specifies when this feature was marked as deprecated. - DESCRIPTION - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the description field
- DISCONNECT - net.dv8tion.jda.core.audio.ConnectionStage
- DISCONNECTED - net.dv8tion.jda.core.audio.VoiceCode.Close
- DISCONNECTED - net.dv8tion.jda.core.JDA.Status
-
JDA's main websocket has been disconnected.
- DISCONNECTED_AUTHENTICATION_FAILURE - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that our token was not valid.
- DISCONNECTED_CHANNEL_DELETED - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that the channel which the audio connection was connected to was deleted, thus the connection was severed.
- DISCONNECTED_LOST_PERMISSION - net.dv8tion.jda.core.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.core.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.core.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.core.events
-
Indicates that JDA has been disconnected from the remote server.
- DisconnectEvent(JDA, WebSocketFrame, WebSocketFrame, boolean, OffsetDateTime) - Constructor for class net.dv8tion.jda.core.events.DisconnectEvent
- DISCORD_EPOCH - Static variable in class net.dv8tion.jda.core.utils.MiscUtil
- DISCORD_REST_VERSION - Static variable in class net.dv8tion.jda.core.JDAInfo
- DISPATCH - Static variable in class net.dv8tion.jda.core.WebSocketCode
- DO_NOT_DISTURB - net.dv8tion.jda.core.OnlineStatus
- doesBotRequireCodeGrant() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Whether the bot requires code grant to invite or not.
- doesBotRequireCodeGrant() - Method in interface net.dv8tion.jda.client.entities.Application
-
Whether the bot requires code grant to invite or not.
- download(File) - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
Downloads this attachment to given File
E
- editMessage(CharSequence) - Method in interface net.dv8tion.jda.core.entities.Message
-
Edits this Message's content to the provided String.
- editMessage(Message) - Method in interface net.dv8tion.jda.core.entities.Message
-
Edits this Message's content to the provided
Message
. - editMessage(MessageEmbed) - Method in interface net.dv8tion.jda.core.entities.Message
-
Edits this Message's content to the provided
MessageEmbed
. - editMessageById(long, CharSequence) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(long, MessageEmbed) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, CharSequence) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageById(String, MessageEmbed) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.core.entities.Message
-
Edits this Message's content to the provided format.
- editMessageFormatById(long, String, Object...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- editMessageFormatById(String, String, Object...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to edit a message by its id in this MessageChannel.
- EMAIL - Static variable in class net.dv8tion.jda.core.managers.AccountManager
-
Used to reset the email field
- embed(MessageEmbed) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Sets the
MessageEmbed
that should be used for this Message. - EMBED_DISABLED - net.dv8tion.jda.core.requests.ErrorResponse
- EMBED_MAX_LENGTH_BOT - Static variable in class net.dv8tion.jda.core.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.core.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.core
-
Builder system used to build
MessageEmbeds
. - EmbedBuilder() - Constructor for class net.dv8tion.jda.core.EmbedBuilder
-
Creates an EmbedBuilder to be used to creates an embed to send.
- EmbedBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.core.EmbedBuilder
- EmbedBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.core.EmbedBuilder
-
Creates an EmbedBuilder using fields in an existing embed.
- embeds(Collection<MessageEmbed>) - Static method in class net.dv8tion.jda.webhook.WebhookMessage
-
Creates a new WebhookMessage instance with the provided
MessageEmbeds
- embeds(MessageEmbed, MessageEmbed...) - Static method in class net.dv8tion.jda.webhook.WebhookMessage
-
Creates a new WebhookMessage instance with the provided
MessageEmbeds
- EmbedType - Enum in net.dv8tion.jda.core.entities
-
Represents the embedded resource type.
- Emote - Interface in net.dv8tion.jda.core.entities
-
Represents a Custom Emote.
- EMOTE - net.dv8tion.jda.core.audit.TargetType
- EMOTE - net.dv8tion.jda.core.entities.Message.MentionType
-
Represents a mention for a
Emote
- EMOTE - net.dv8tion.jda.core.utils.cache.CacheFlag
-
Enables cache for
Guild.getEmoteCache()
- EMOTE_CREATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator created an
Emote
. - EMOTE_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator deleted an
Emote
. - EMOTE_NAME - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Emote.getName()
value. - EMOTE_ROLES_ADD - net.dv8tion.jda.core.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.core.audit.AuditLogKey
-
Roles remove from
Emote.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- EMOTE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator updated an
Emote
. - EmoteAddedEvent - Class in net.dv8tion.jda.core.events.emote
- EmoteAddedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.core.events.emote.EmoteAddedEvent
- EmoteManager - Class in net.dv8tion.jda.client.managers
-
Manager providing functionality to update one or more fields for an
Emote
. - EmoteManager(EmoteImpl) - Constructor for class net.dv8tion.jda.client.managers.EmoteManager
-
Creates a new EmoteManager instance
- EmoteRemovedEvent - Class in net.dv8tion.jda.core.events.emote
-
Indicates that an
Emote
was removed from a Guild. - EmoteRemovedEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.core.events.emote.EmoteRemovedEvent
- EmoteUpdateNameEvent - Class in net.dv8tion.jda.core.events.emote.update
-
Indicates that the name of an
Emote
changed. - EmoteUpdateNameEvent(JDA, long, Emote, String) - Constructor for class net.dv8tion.jda.core.events.emote.update.EmoteUpdateNameEvent
- EmoteUpdateRolesEvent - Class in net.dv8tion.jda.core.events.emote.update
-
Indicates that the role whitelist for an
Emote
changed. - EmoteUpdateRolesEvent(JDA, long, Emote, List<Role>) - Constructor for class net.dv8tion.jda.core.events.emote.update.EmoteUpdateRolesEvent
- EMPTY_MESSAGE - net.dv8tion.jda.core.requests.ErrorResponse
- EMPTY_PERMISSIONS - Static variable in enum net.dv8tion.jda.core.Permission
-
Empty array of Permission enum, useful for optimized use in
Collection.toArray(Object[])
. - EmptyRestAction(JDA) - Constructor for class net.dv8tion.jda.core.requests.restaction.AuditableRestAction.EmptyRestAction
- EmptyRestAction(JDA, T) - Constructor for class net.dv8tion.jda.core.requests.restaction.AuditableRestAction.EmptyRestAction
- EmptyRestAction(JDA, T) - Constructor for class net.dv8tion.jda.core.requests.RestAction.EmptyRestAction
- encodeUTF8(String) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
URL-Encodes the given String to UTF-8 after form-data specifications (space -> +)
- ensureOpus() - Static method in class net.dv8tion.jda.core.audio.AudioNatives
-
Checks whether the opus binary was loaded, if not it will be initialized here.
- equals(Object) - Method in class net.dv8tion.jda.core.audit.AuditLogChange
- equals(Object) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
- equals(Object) - Method in class net.dv8tion.jda.core.entities.Game
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.AuthorInfo
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Field
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Footer
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.ImageInfo
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Provider
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Thumbnail
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageEmbed.VideoInfo
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageReaction
- equals(Object) - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- equals(Object) - Method in class net.dv8tion.jda.core.entities.RichPresence
- equals(Object) - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
- equals(Object) - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
- equals(Object) - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
- equals(Object) - Method in class net.dv8tion.jda.core.JDA.ShardInfo
- equals(Object) - Method in class net.dv8tion.jda.core.utils.cache.UpstreamReference
- equals(Object) - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
- equals(Object) - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
- equals(Object) - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
- equals(Object) - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
- ERROR_CANNOT_RESUME - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that the audio WebSocket was unable to resume an active session.
- ERROR_CONNECTION_TIMEOUT - net.dv8tion.jda.core.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.core.audio.hooks.ConnectionStatus
-
Indicates that the connection was lost, either via UDP socket problems or the audio Websocket disconnecting.
- ERROR_UDP_UNABLE_TO_CONNECT - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that the UDP setup failed.
- ERROR_UNSUPPORTED_ENCRYPTION_MODES - net.dv8tion.jda.core.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.core.audio.hooks.ConnectionStatus
-
Indicates that the audio Websocket was unable to connect to discord.
- ErrorResponse - Enum in net.dv8tion.jda.core.requests
- ErrorResponseException - Exception in net.dv8tion.jda.core.exceptions
-
Indicates an unhandled error that is returned by Discord API Request using
RestAction
It holds anErrorResponse
- EU_CENTRAL - net.dv8tion.jda.core.Region
- EU_WEST - net.dv8tion.jda.core.Region
- Event - Class in net.dv8tion.jda.core.events
-
Top-level event type
All events JDA fires are derived from this class. - Event(JDA) - Constructor for class net.dv8tion.jda.core.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.core.events.Event
-
Creates a new Event from the given JDA instance
- EventListener - Interface in net.dv8tion.jda.core.hooks
-
JDA pushes
Events
to the registered EventListeners. - EVERYONE - net.dv8tion.jda.core.entities.Message.MentionType
-
Represents a mention for all users in a server, literal
@everyone
. - ExceptionEvent - Class in net.dv8tion.jda.core.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.core.events.ExceptionEvent
- execute(long, JSONObject) - Method in interface net.dv8tion.jda.core.utils.CacheConsumer
- execute(T) - Method in interface net.dv8tion.jda.core.utils.Procedure
- expand() - Method in interface net.dv8tion.jda.core.entities.Invite
-
Tries to retrieve a new expanded
Invite
with more info. - EXPLICIT_CONTENT_LEVEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the explicit content level field
F
- FAILED_TO_LOGIN - net.dv8tion.jda.core.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.core.entities.MessageEmbed.Field
- files(String, Object, Object...) - Static method in class net.dv8tion.jda.webhook.WebhookMessage
-
Constructs a message around pairs of (Name, Data).
- files(Map<String, ?>) - Static method in class net.dv8tion.jda.webhook.WebhookMessage
-
Constructs a message around pairs of (Name, Data).
- finalizeData() - Method in class net.dv8tion.jda.core.requests.restaction.WebhookAction
- Footer(String, String, String) - Constructor for class net.dv8tion.jda.core.entities.MessageEmbed.Footer
- forEachAsync(Procedure<T>) - Method in class net.dv8tion.jda.core.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<T>, Consumer<Throwable>) - Method in class net.dv8tion.jda.core.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<T>) - Method in class net.dv8tion.jda.core.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<T>) - Method in class net.dv8tion.jda.core.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<T>, Consumer<Throwable>) - Method in class net.dv8tion.jda.core.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. - formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.core.entities.IMentionable
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
- formatTo(Formatter, int, int, int) - Method in interface net.dv8tion.jda.core.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.core.Region
- Friend - Interface in net.dv8tion.jda.client.entities
- FRIEND - net.dv8tion.jda.client.entities.RelationshipType
- FriendAddedEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendAddedEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendAddedEvent
- FriendRemovedEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendRemovedEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendRemovedEvent
- FriendRequestCanceledEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendRequestCanceledEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendRequestCanceledEvent
- FriendRequestIgnoredEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendRequestIgnoredEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendRequestIgnoredEvent
- FriendRequestReceivedEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendRequestReceivedEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendRequestReceivedEvent
- FriendRequestSentEvent - Class in net.dv8tion.jda.client.events.relationship
- FriendRequestSentEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.FriendRequestSentEvent
- from(byte[]) - Static method in class net.dv8tion.jda.core.entities.Icon
-
Creates an
Icon
with the specified image data. - from(int) - Static method in enum net.dv8tion.jda.core.audio.VoiceCode.Close
- from(int) - Static method in enum net.dv8tion.jda.core.audit.ActionType
- from(int) - Static method in enum net.dv8tion.jda.core.requests.CloseCode
-
Retrieves the CloseCode representation for the specified integer close code
- from(File) - Static method in class net.dv8tion.jda.core.entities.Icon
-
Creates an
Icon
with the specifiedFile
. - from(InputStream) - Static method in class net.dv8tion.jda.core.entities.Icon
-
Creates an
Icon
with the specifiedInputStream
. - from(Message) - Static method in class net.dv8tion.jda.webhook.WebhookMessage
-
Creates a new WebhookMessage instance with the provided
Message
as layout for copying. - fromCode(int) - Static method in enum net.dv8tion.jda.core.requests.ErrorResponse
- fromId(int) - Static method in enum net.dv8tion.jda.core.entities.ChannelType
-
Static accessor for retrieving a channel type based on its Discord id key.
- fromId(int) - Static method in enum net.dv8tion.jda.core.entities.MessageType
-
Used to retrieve a MessageType based on the Discord id key.
- fromJSON(JSONObject) - Static method in enum net.dv8tion.jda.core.requests.ErrorResponse
- fromKey(int) - Static method in enum net.dv8tion.jda.client.entities.RelationshipType
- fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Game.GameType
-
Gets the GameType related to the provided key.
- fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
- fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Guild.MFALevel
-
Used to retrieve a
MFALevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Guild.NotificationLevel
-
Used to retrieve a
NotificationLevel
based on the Discord id key. - fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Guild.Timeout
-
Retrieves the
Timeout
based on the amount of seconds requested. - fromKey(int) - Static method in enum net.dv8tion.jda.core.entities.Guild.VerificationLevel
-
Used to retrieve a
VerificationLevel
based on the Discord id key. - fromKey(String) - Static method in enum net.dv8tion.jda.core.entities.EmbedType
-
Attempts to find the EmbedType from the provided key.
- fromKey(String) - Static method in enum net.dv8tion.jda.core.OnlineStatus
-
Will get the
OnlineStatus
from the provided key. - fromKey(String) - Static method in enum net.dv8tion.jda.core.Region
-
Retrieves the
Region
based on the provided key.
G
- Game - Class in net.dv8tion.jda.core.entities
-
Represents a Discord
Game
. - GAME - net.dv8tion.jda.core.utils.cache.CacheFlag
-
Enables cache for
Member.getGame()
- Game.GameType - Enum in net.dv8tion.jda.core.entities
-
The type game being played, differentiating between a game and stream types.
- GenericCallEvent - Class in net.dv8tion.jda.client.events.call
- GenericCallEvent(JDA, long, Call) - Constructor for class net.dv8tion.jda.client.events.call.GenericCallEvent
- GenericCallUpdateEvent - Class in net.dv8tion.jda.client.events.call.update
- GenericCallUpdateEvent(JDA, long, Call) - Constructor for class net.dv8tion.jda.client.events.call.update.GenericCallUpdateEvent
- GenericCallVoiceEvent - Class in net.dv8tion.jda.client.events.call.voice
- GenericCallVoiceEvent(JDA, long, CallUser) - Constructor for class net.dv8tion.jda.client.events.call.voice.GenericCallVoiceEvent
- GenericCategoryEvent - Class in net.dv8tion.jda.core.events.channel.category
-
Indicates that a
Category
was created/deleted/updated. - GenericCategoryEvent(JDA, long, Category) - Constructor for class net.dv8tion.jda.core.events.channel.category.GenericCategoryEvent
- GenericCategoryUpdateEvent<T> - Class in net.dv8tion.jda.core.events.channel.category.update
-
Indicates that a
Category
was updated. - GenericCategoryUpdateEvent(JDA, long, Category, T, T, String) - Constructor for class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- GenericEmoteEvent - Class in net.dv8tion.jda.core.events.emote
-
Indicates that an
Emote
was created/removed/updated. - GenericEmoteEvent(JDA, long, Emote) - Constructor for class net.dv8tion.jda.core.events.emote.GenericEmoteEvent
- GenericEmoteUpdateEvent<T> - Class in net.dv8tion.jda.core.events.emote.update
-
Indicates that an
Emote
was updated. - GenericEmoteUpdateEvent(JDA, long, Emote, T, T, String) - Constructor for class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- GenericGroupEvent - Class in net.dv8tion.jda.client.events.group
- GenericGroupEvent(JDA, long, Group) - Constructor for class net.dv8tion.jda.client.events.group.GenericGroupEvent
- GenericGroupMessageEvent - Class in net.dv8tion.jda.client.events.message.group
- GenericGroupMessageEvent(JDA, long, long, Group) - Constructor for class net.dv8tion.jda.client.events.message.group.GenericGroupMessageEvent
- GenericGroupMessageReactionEvent - Class in net.dv8tion.jda.client.events.message.group.react
- GenericGroupMessageReactionEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.client.events.message.group.react.GenericGroupMessageReactionEvent
- GenericGroupUpdateEvent - Class in net.dv8tion.jda.client.events.group.update
- GenericGroupUpdateEvent(JDA, long, Group) - Constructor for class net.dv8tion.jda.client.events.group.update.GenericGroupUpdateEvent
- GenericGuildEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that a
Guild
event is fired. - GenericGuildEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GenericGuildEvent
- GenericGuildMemberEvent - Class in net.dv8tion.jda.core.events.guild.member
-
Indicates that a
Guild
member event is fired. - GenericGuildMemberEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.member.GenericGuildMemberEvent
- GenericGuildMessageEvent - Class in net.dv8tion.jda.core.events.message.guild
-
Indicates that a
Message
event is fired from aTextChannel
. - GenericGuildMessageEvent(JDA, long, long, TextChannel) - Constructor for class net.dv8tion.jda.core.events.message.guild.GenericGuildMessageEvent
- GenericGuildMessageReactionEvent - Class in net.dv8tion.jda.core.events.message.guild.react
-
Indicates that a
MessageReaction
was added or removed in a TextChannel. - GenericGuildMessageReactionEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.guild.react.GenericGuildMessageReactionEvent
- GenericGuildUpdateEvent<T> - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that a
Guild
was updated. - GenericGuildUpdateEvent(JDA, long, Guild, T, T, String) - Constructor for class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- GenericGuildVoiceEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Guild
voice event is fired. - GenericGuildVoiceEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
- GenericMessageEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a
Message
was created/deleted/changed. - GenericMessageEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.core.events.message.GenericMessageEvent
- GenericMessageReactionEvent - Class in net.dv8tion.jda.core.events.message.react
-
Indicates that a MessageReaction was added/removed.
- GenericMessageReactionEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.react.GenericMessageReactionEvent
- GenericPrivateMessageEvent - Class in net.dv8tion.jda.core.events.message.priv
-
Indicates that a
Message
event is fired from aPrivateChannel
. - GenericPrivateMessageEvent(JDA, long, long, PrivateChannel) - Constructor for class net.dv8tion.jda.core.events.message.priv.GenericPrivateMessageEvent
- GenericPrivateMessageReactionEvent - Class in net.dv8tion.jda.core.events.message.priv.react
-
Indicates that a
MessageReaction
was added or removed. - GenericPrivateMessageReactionEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.priv.react.GenericPrivateMessageReactionEvent
- GenericRelationshipAddEvent - Class in net.dv8tion.jda.client.events.relationship
- GenericRelationshipAddEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.GenericRelationshipAddEvent
- GenericRelationshipEvent - Class in net.dv8tion.jda.client.events.relationship
- GenericRelationshipEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
- GenericRelationshipRemoveEvent - Class in net.dv8tion.jda.client.events.relationship
- GenericRelationshipRemoveEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.GenericRelationshipRemoveEvent
- GenericRoleEvent - Class in net.dv8tion.jda.core.events.role
-
Indicates that a
Role
was created/deleted/changed. - GenericRoleEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.core.events.role.GenericRoleEvent
- GenericRoleUpdateEvent<T> - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
was updated. - GenericRoleUpdateEvent(JDA, long, Role, T, T, String) - Constructor for class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- GenericSelfUpdateEvent<T> - Class in net.dv8tion.jda.core.events.self
-
Indicates that a
SelfUser
changed or started an activity. - GenericSelfUpdateEvent(JDA, long, T, T, String) - Constructor for class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- GenericTextChannelEvent - Class in net.dv8tion.jda.core.events.channel.text
-
Indicates that a
TextChannel
event was fired. - GenericTextChannelEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.core.events.channel.text.GenericTextChannelEvent
- GenericTextChannelUpdateEvent<T> - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
was updated. - GenericTextChannelUpdateEvent(JDA, long, TextChannel, T, T, String) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- GenericUserEvent - Class in net.dv8tion.jda.core.events.user
-
Indicates that a
User
changed or started an activity. - GenericUserEvent(JDA, long, User) - Constructor for class net.dv8tion.jda.core.events.user.GenericUserEvent
- GenericUserPresenceEvent<T> - Class in net.dv8tion.jda.core.events.user.update
-
Indicates that the presence of a
User
has changed. - GenericUserPresenceEvent(JDA, long, User, Guild, T, T, String) - Constructor for class net.dv8tion.jda.core.events.user.update.GenericUserPresenceEvent
- GenericUserUpdateEvent<T> - Class in net.dv8tion.jda.core.events.user.update
- GenericUserUpdateEvent(JDA, long, User, T, T, String) - Constructor for class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- GenericVoiceChannelEvent - Class in net.dv8tion.jda.core.events.channel.voice
-
Indicates that a
VoiceChannel
event was fired. - GenericVoiceChannelEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.channel.voice.GenericVoiceChannelEvent
- GenericVoiceChannelUpdateEvent<T> - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
updated. - GenericVoiceChannelUpdateEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- get() - Method in class net.dv8tion.jda.core.utils.cache.UpstreamReference
- GET - net.dv8tion.jda.core.requests.Method
- getAccessToken() - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
The access token
- getAccountType() - Method in interface net.dv8tion.jda.core.JDA
-
The
AccountType
of the currently logged in account. - getAfkChannel() - Method in interface net.dv8tion.jda.core.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.core.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. - getAllCallUsers() - Method in interface net.dv8tion.jda.client.entities.Call
- getAllow() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
The currently set of allowed permission bits.
- getAllowed() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
An unmodifiable list of all
Permissions
that are specifically allowed by this override. - getAllowedFileSize() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
Returns the maximum size for files that can be uploaded with this account.
- getAllowedPermissions() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Immutable list of
Permissions
that would be granted by the PermissionOverride that is created by this action. - getAllowedRaw() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions allowed by this override.
- getApplication() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
The Application for this Bot
- getApplication() - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
The
Application
that will be modified by this Manager instance - getApplicationById(String) - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves a specific
Application
owned by this user account. - getApplicationId() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
The ID for the responsible application.
- getApplicationIdLong() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
The ID for the responsible application.
- getApplicationInfo() - Method in interface net.dv8tion.jda.bot.JDABot
-
Retrieves the
ApplicationInfo
for the application that owns the logged in Bot-Account. - getApplicationInfo() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Used to access Bot specific functions like OAuth information.
- getApplications() - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves all
Applications
owned by this user account. - getAsIcon() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
- getAsMention() - Method in interface net.dv8tion.jda.core.entities.Emote
- getAsMention() - Method in interface net.dv8tion.jda.core.entities.IMentionable
-
Retrieve a Mention for this Entity.
- getAsMention() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
- getAttachments() - Method in interface net.dv8tion.jda.core.entities.Message
-
An unmodifiable list of
Attachments
that are attached to this message. - getAudioChannel() - Method in interface net.dv8tion.jda.core.entities.VoiceState
-
The possibly-null
AudioChannel
for this VoiceState - getAudioData(double) - Method in class net.dv8tion.jda.core.audio.CombinedAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioData(double) - Method in class net.dv8tion.jda.core.audio.UserAudio
-
Provides 20 Milliseconds of combined audio data in 48KHz 16bit stereo signed BigEndian PCM.
- getAudioManager() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The
AudioManager
that represents the audio connection for this Guild. - getAudioManagerCache() - Method in interface net.dv8tion.jda.core.JDA
-
CacheView
of all cachedAudioManagers
created for this JDA instance. - getAudioManagers() - Method in interface net.dv8tion.jda.core.JDA
-
Immutable list of all created
AudioManagers
for this JDA instance! - getAuditLogs() - Method in interface net.dv8tion.jda.core.entities.Guild
- getAuthId() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The authorization id for this application.
- getAuthor() - Method in class net.dv8tion.jda.client.events.message.group.GroupMessageReceivedEvent
- getAuthor() - Method in class net.dv8tion.jda.client.events.message.group.GroupMessageUpdateEvent
- getAuthor() - Method in interface net.dv8tion.jda.core.entities.Message
-
The author of this Message
- getAuthor() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The information on the creator of the embedded content.
- getAuthor() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent
-
The Author of the Message received as
User
object. - getAuthor() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageUpdateEvent
-
The author of this message
- getAuthor() - Method in class net.dv8tion.jda.core.events.message.MessageReceivedEvent
-
The Author of the Message received as
User
object. - getAuthor() - Method in class net.dv8tion.jda.core.events.message.MessageUpdateEvent
-
The author of the Message.
- getAuthor() - Method in class net.dv8tion.jda.core.events.message.priv.PrivateMessageReceivedEvent
-
The author for this message
- getAuthor() - Method in class net.dv8tion.jda.core.events.message.priv.PrivateMessageUpdateEvent
-
The author of this message
- getAuthorizedApplicationById(String) - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves a specific
AuthorizedApplication
authorized by this user account. - getAuthorizedApplications() - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves all
AuthorizedApplications
authorized by this user account. - getAvatarId() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
The avatar id of this Bot
- getAvatarId() - Method in interface net.dv8tion.jda.core.entities.User
-
The Discord Id for this user's avatar image.
- getAvatarId() - Method in class net.dv8tion.jda.core.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.client.entities.Application.Bot
-
The avatar-url of this Bot
- getAvatarUrl() - Method in interface net.dv8tion.jda.core.entities.User
-
The URL for the user's avatar image.
- getAvatarUrl() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the avatar url of the member, or null if they do not have an avatar set.
- getAveragePing() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
The average time in milliseconds between all shards that discord took to respond to our last heartbeat.
- getBan(User) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a
Ban
of the providedUser
If you wish to ban or unban a user, use eitherGuildController.ban(User, int)
orGuildController.unban(User)
. - getBanById(long) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherGuildController.ban(String, int)
GuildController.ban(id, int)} orGuildController.unban(String)
GuildController.unban(id)}. - getBanById(String) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a
Ban
of the provided ID
If you wish to ban or unban a user, use eitherGuildController.ban(id, int)
orGuildController.unban(id)
. - getBanList() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves an unmodifiable list of the currently banned
Users
. - getBitrate() - Method in interface net.dv8tion.jda.core.entities.VoiceChannel
-
The audio bitrate of the voice audio that is transmitted in this channel.
- getBlockedUser() - Method in class net.dv8tion.jda.client.events.relationship.UserBlockedEvent
- getBot() - Method in interface net.dv8tion.jda.client.entities.Application
-
The Bot assigned to this Application
- getCached() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
The currently cached entities of recent execution tasks.
- getCall() - Method in interface net.dv8tion.jda.client.entities.CallUser
- getCall() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getCall() - Method in class net.dv8tion.jda.client.events.call.GenericCallEvent
- getCallableChannel() - Method in interface net.dv8tion.jda.client.entities.Call
- getCallableChannel() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getCallUser() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getCallUser() - Method in class net.dv8tion.jda.client.events.call.voice.GenericCallVoiceEvent
- getCallUserHistory() - Method in interface net.dv8tion.jda.client.entities.Call
- getCategories() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets all
Categories
visible to the currently logged in account. - getCategories() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets all
Categories
in thisGuild
. - getCategories() - Method in interface net.dv8tion.jda.core.JDA
-
Gets all
Categories
visible to the currently logged in account. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets a list of all
Categories
that have the same name as the one provided. - getCategoriesByName(String, boolean) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Gets a list of all
Categories
that have the same name as the one provided. - getCategory() - Method in interface net.dv8tion.jda.core.entities.Message
-
The
Category
this message was sent in. - getCategory() - Method in class net.dv8tion.jda.core.events.channel.category.GenericCategoryEvent
-
The responsible
Category
- getCategory() - Method in class net.dv8tion.jda.core.requests.restaction.order.CategoryOrderAction
-
Gets the
Category
controlled by this CategoryOrderAction. - getCategoryById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(long) - Method in interface net.dv8tion.jda.core.JDA
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets the
Category
that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets the
Category
from this guild that matches the provided id. - getCategoryById(String) - Method in interface net.dv8tion.jda.core.JDA
-
Gets the
Category
that matches the provided id. - getCategoryCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedCategories
visible to this ShardManager instance. - getCategoryCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedCategories
of this Guild. - getCategoryCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedCategories
visible to this JDA session. - getCause() - Method in class net.dv8tion.jda.core.events.ExceptionEvent
-
The cause Throwable for this event
- getCause() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
- getCFRays() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getChangeByKey(String) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChangeByKey(AuditLogKey) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Shortcut to
lookup!getChanges()
.get(key)
This lookup is case-insensitive! - getChangedMembers() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePermissionsEvent
-
Filtered list of affected
Members
- getChangedMembers() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
List of affected
Members
- getChangedMembers() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
List of affected
Members
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePermissionsEvent
-
List of all affected
IPermissionHolders
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
The affected
IPermissionHolders
- getChangedPermissionHolders() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
The affected
IPermissionHolders
- getChangedRoles() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePermissionsEvent
-
Filtered list of affected
Roles
- getChangedRoles() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePermissionsEvent
-
List of affected
Roles
- getChangedRoles() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
List of affected
Roles
- getChanges() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Key-Value
Map
containing allAuditLogChanges
made in this entry. - getChangesForKeys(AuditLogKey...) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Filters all changes by the specified keys
- getChannel() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns the current
VoiceChannel
that theMember
is in. - getChannel() - Method in interface net.dv8tion.jda.core.entities.Invite
-
An
Invite.Channel
object containing information about this invite's origin channel. - getChannel() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
MessageChannel
that this message was sent in. - getChannel() - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Returns the
MessageChannel
that this MessageHistory is related to. - getChannel() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The
MessageChannel
this Reaction was used in. - getChannel() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
The
Channel
that thisPermissionOverride
affects. - getChannel() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The
TextChannel
instance this Webhook is attached to. - getChannel() - Method in class net.dv8tion.jda.core.events.channel.priv.PrivateChannelCreateEvent
-
The
PrivateChannel
- getChannel() - Method in class net.dv8tion.jda.core.events.channel.priv.PrivateChannelDeleteEvent
-
The
PrivateChannel
- getChannel() - Method in class net.dv8tion.jda.core.events.channel.text.GenericTextChannelEvent
-
The
TextChannel
- getChannel() - Method in class net.dv8tion.jda.core.events.channel.voice.GenericVoiceChannelEvent
-
The
VoiceChannel
- getChannel() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
MessageChannel
for this Message - getChannel() - Method in class net.dv8tion.jda.core.events.message.guild.GenericGuildMessageEvent
-
The
TextChannel
for this message - getChannel() - Method in class net.dv8tion.jda.core.events.message.MessageBulkDeleteEvent
-
The
TextChannel
where the messages have been deleted - getChannel() - Method in class net.dv8tion.jda.core.events.message.priv.GenericPrivateMessageEvent
-
The
PrivateChannel
for the message - getChannel() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
The channel where the typing was started
- getChannel() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
The
Channel
that will be modified by this Manager instance - getChannel() - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
The
Channel
this Manager'sPermissionOverride
is in. - getChannel() - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
The
TextChannel
this Manager'sWebhook
is in. - getChannel() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.MessagePaginationAction
-
The targeted
MessageChannel
- getChannel() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Gets the channel the member is in
- getChannel(int) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Gets the
ChannelData
of the specified index. - getChannel(JDA) - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- getChannelId() - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- getChannelJoined() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceJoinEvent
-
The
VoiceChannel
that was joined - getChannelJoined() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceMoveEvent
-
The
VoiceChannel
that theMember
is moved to - getChannelLeft() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceUpdateEvent
-
The
VoiceChannel
that theMember
is moved from - getChannels() - Method in interface net.dv8tion.jda.core.entities.Category
- getChannels() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Populated list of
channels
for this guild. - getChannels(boolean) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Populated list of
channels
for this guild. - getChannelType() - Method in interface net.dv8tion.jda.core.entities.Message
-
Gets the
ChannelType
that this message was received from. - getChannelType() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The
ChannelType
this Reaction was used in. - getChannelType() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
ChannelType
for this message - getChannelType() - Method in class net.dv8tion.jda.core.requests.restaction.order.ChannelOrderAction
-
The
ChannelType
of all channels that are ordered by this ChannelOrderAction - getClientCloseFrame() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
The close frame we sent to discord
- getCloseCode() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
Possibly-null
CloseCode
representing the meaning for this DisconnectEvent - getCloseCode() - Method in class net.dv8tion.jda.core.events.ShutdownEvent
-
Possibly-null
CloseCode
representing the meaning for this ShutdownEvent. - getCloudflareRays() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
Contains all
cf-ray
headers that JDA received in this session. - getCloudflareRays() - Method in interface net.dv8tion.jda.core.JDA
-
Contains all
cf-ray
headers that JDA received in this session. - getCode() - Method in enum net.dv8tion.jda.core.audio.VoiceCode.Close
- getCode() - Method in interface net.dv8tion.jda.core.entities.Invite
-
The invite code
- getCode() - Method in class net.dv8tion.jda.core.events.ShutdownEvent
-
The server close code that was in the disconnect close frame of this JDA instance.
- getCode() - Method in enum net.dv8tion.jda.core.requests.CloseCode
-
The integer code in the form of
4xxx
/1xxx
- getCode() - Method in enum net.dv8tion.jda.core.requests.ErrorResponse
- getColor() - Method in interface net.dv8tion.jda.core.entities.Member
-
The
Color
of this Member's name in a Guild. - getColor() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The color of the stripe on the side of the embed.
- getColor() - Method in interface net.dv8tion.jda.core.entities.Role
-
The color this
Role
is displayed in. - getColorRaw() - Method in interface net.dv8tion.jda.core.entities.Member
-
The raw RGB value for the color of this member.
- getColorRaw() - Method in class net.dv8tion.jda.core.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.core.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.core.audio.factory.IPacketProvider
-
Provides the current channel that this connection is transmitting to.
- getConnectedChannel() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
The
VoiceChannel
that JDA currently has an audio connection to. - getConnectedUsers() - Method in interface net.dv8tion.jda.client.entities.Call
- getConnectionListener() - Method in interface net.dv8tion.jda.core.managers.AudioManager
- getConnectionStatus() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
The current
ConnectionStatus
. - getConnectTimeout() - Method in interface net.dv8tion.jda.core.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.core.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.core.entities.Message
-
The raw textual content of this message.
- getContentStripped() - Method in interface net.dv8tion.jda.core.entities.Message
-
Gets the textual content of this message using
Message.getContentDisplay()
and then strips it of all markdown characters like *, **, __, ~~ that provide text formatting. - getController() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns the
GuildController
for this Guild. - getCount() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The amount of users that already reacted with this Reaction
This is not updated, it is afinal int
per Reaction instance - getCreationTime() - Method in interface net.dv8tion.jda.core.entities.Invite
-
Returns creation date of this invite.
- getCreationTime() - Method in interface net.dv8tion.jda.core.entities.ISnowflake
-
The time this entity was created.
- getCreationTime(long) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getCreationTime(ISnowflake) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Gets the creation-time of a JDA-entity by doing the reverse snowflake algorithm on its id.
- getCurrent() - Static method in class net.dv8tion.jda.core.audit.ThreadLocalReason
-
The current reason that should be used for
AuditableRestAction
. - getCurrentCall() - Method in interface net.dv8tion.jda.client.entities.CallableChannel
- getCurrentOrder() - Method in class net.dv8tion.jda.core.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.core.utils.MiscUtil
-
Returns a prettier String-representation of a OffsetDateTime object
- getDefaultAvatarId() - Method in interface net.dv8tion.jda.core.entities.User
-
The Discord Id for this user's default avatar image.
- getDefaultAvatarId() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the asset id of the member's default avatar
- getDefaultAvatarUrl() - Method in interface net.dv8tion.jda.core.entities.User
-
The URL for the for the user's default avatar image.
- getDefaultAvatarUrl() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the url of the member's default avatar
- getDefaultChannel() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The default
TextChannel
for aGuild
. - getDefaultChannel() - Method in interface net.dv8tion.jda.core.entities.Member
-
The default
TextChannel
for aMember
. - getDefaultNotificationLevel() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns the default message Notification-Level of this Guild.
- getDefaultUser() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The default User for this Webhook.
- getDenied() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
An unmodifiable list of all
Permissions
that are denied by this override. - getDeniedPermissions() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Immutable list of
Permissions
that would be denied by the PermissionOverride that is created by this action. - getDeniedRaw() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions denied by this override.
- getDeny() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
The currently set of denied permission bits.
- getDescription() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The description of the bot's application.
- getDescription() - Method in interface net.dv8tion.jda.client.entities.Application
-
The description of the application.
- getDescription() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The description of the application.
- getDescription() - Method in enum net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
-
Description of this level in the official Discord Client (as of 5th May, 2017)
- getDescription() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The description of the embedded resource.
- getDescriptionBuilder() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
The
StringBuilder
used to build the description for the embed. - getDetails() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
What the player is currently doing
Example: "Competitive - Captain's Mode", "In Queue", "Unranked PvP" - getDisconnectTime() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
Time at which we noticed the disconnection
- getDiscordTimestamp(long) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Converts the provided epoch millisecond timestamp to a Discord Snowflake.
- getDiscriminator() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
The discriminator of this Bot
- getDiscriminator() - Method in interface net.dv8tion.jda.core.entities.User
-
The discriminator of theUser
. - getDiscriminator() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the discriminator of the member
- getEditedTime() - Method in interface net.dv8tion.jda.core.entities.Message
-
Provides the
OffsetDateTime
defining when this Message was last edited. - getEffectiveAvatarUrl() - Method in interface net.dv8tion.jda.core.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.core.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.core.entities.Member
-
Retrieves the Name displayed in the official Discord Client.
- getEffectiveName() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the visible name of the member.
- getEffectivePermission(Channel, Member) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getEffectivePermission(Channel, Role) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getEffectivePermission(Member) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getElapsedTime(TemporalUnit) - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Calculates the elapsed time from
RichPresence.Timestamps.getStartTime()
to now in terms of the specified unit. - getElementById(int) - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- getElementById(int) - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- getElementById(int) - Method in interface net.dv8tion.jda.bot.utils.cache.ShardCacheView
-
Retrieves the JDA instance represented by the provided shard ID.
- getElementById(long) - Method in interface net.dv8tion.jda.core.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(long) - Method in interface net.dv8tion.jda.core.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.bot.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.core.utils.cache.MemberCacheView
-
Retrieves the member represented by the provided ID.
- getElementById(String) - Method in interface net.dv8tion.jda.core.utils.cache.SnowflakeCacheView
-
Retrieves the entity represented by the provided ID.
- getElementsById(long) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsById(String) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Retrieves all member represented by the provided ID.
- getElementsByName(String) - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByName(String, boolean) - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- getElementsByName(String, boolean) - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- getElementsByName(String, boolean) - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates an immutable list of all elements matching the given name.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.core.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.core.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByNickname(String, boolean) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given nickname.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.core.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.core.utils.cache.MemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsByUsername(String, boolean) - Method in interface net.dv8tion.jda.core.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members matching the given username.
- getElementsWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.core.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.core.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.core.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.core.utils.cache.UnifiedMemberCacheView
-
Creates an immutable list of all members that hold all of the provided roles.
- getEmail() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
Used to get the email of the currently logged in account.
- getEmbeds() - Method in interface net.dv8tion.jda.core.entities.Message
-
An unmodifiable list of
MessageEmbeds
that are part of this Message. - getEmoji() - Method in enum net.dv8tion.jda.core.Region
-
The unicode flag representative of this Region.
- getEmote() - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
The target
Emote
that will be modified by this Manager - getEmote() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
-
The instance of
Emote
for the Reaction instance. - getEmote() - Method in class net.dv8tion.jda.core.events.emote.GenericEmoteEvent
-
The responsible
Emote
for this event - getEmoteById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(long) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteById(String) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Retrieves an emote matching the specified
id
if one is available in our cache. - getEmoteCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this ShardManager instance. - getEmoteCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
SnowflakeCacheView
of all cachedEmotes
of this Guild. - getEmoteCache() - Method in interface net.dv8tion.jda.core.JDA
-
Unified
SnowflakeCacheView
of all cachedEmotes
visible to this JDA session. - getEmotes() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
A collection of all to us known emotes (managed/restricted included).
- getEmotes() - Method in interface net.dv8tion.jda.core.entities.Guild
- getEmotes() - Method in interface net.dv8tion.jda.core.entities.Message
-
All
Emotes
used in this Message. - getEmotes() - Method in interface net.dv8tion.jda.core.JDA
-
A collection of all to us known emotes (managed/restricted included).
- getEmotesByName(String, boolean) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable list of all
Emotes
that have the same name as the one provided. - getEmotesByName(String, boolean) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
An unmodifiable list of all
Emotes
that have the same name as the one provided. - getEncoding() - Method in class net.dv8tion.jda.core.entities.Icon
-
The base64 encoded data for this Icon
- getEnd() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Epoch second timestamp of match end, or
0
of unset. - getEndTime() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getEntity() - Method in class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- getEntity() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
- getEntity() - Method in interface net.dv8tion.jda.core.events.UpdateEvent
-
The affected entity
- getEntity() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- getEntityType() - Method in interface net.dv8tion.jda.core.events.UpdateEvent
-
Class representation of the affected entity, useful when dealing with refection.
- getErrorCode() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
-
The discord error code for this error response.
- getErrorResponse() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
-
The
ErrorResponse
corresponding for the received error response from Discord - getEventManager() - Method in interface net.dv8tion.jda.core.JDA
-
The EventManager used by this JDA instance.
- getExplicitContentLevel() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The level of content filtering enabled in this Guild.
- getExplicitPermission(Channel, Member) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getExplicitPermission(Channel, Role) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getExplicitPermission(Member) - Static method in class net.dv8tion.jda.core.utils.PermissionUtil
- getFeatures() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The Features of the
Guild
. - getFeatures() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
The Features of the
Guild
. - getFields() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Modifiable list of
MessageEmbed
Fields that the builder will use forEmbedBuilder.build()
. - getFields() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The fields in a message embed.
- getFileAmount() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
The amount of files added to this WebhookMessageBuilder instance
- getFileName() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The file name of the Attachment when it was first uploaded.
- getFirst() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
The first cached entity retrieved by this PaginationAction instance
- getFlags() - Method in interface net.dv8tion.jda.client.entities.Application
-
The flags for this application.
- getFlags() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Flags for this presence
- getFlags(int) - Static method in enum net.dv8tion.jda.core.entities.ActivityFlag
-
Maps the ActivityFlags based on the provided bitmask.
- getFlagSet() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Flags for this presence in an enum set
- getFooter() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The footer (bottom) of the embedded content.
- getFriend() - Method in class net.dv8tion.jda.client.events.relationship.FriendAddedEvent
- getFriend() - Method in class net.dv8tion.jda.client.events.relationship.FriendRemovedEvent
- getFriend() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserPresenceEvent
-
Possibly-null friend who changed their presence.
- getFriend(Member) - Method in interface net.dv8tion.jda.client.JDAClient
- getFriend(User) - Method in interface net.dv8tion.jda.client.JDAClient
- getFriendById(long) - Method in interface net.dv8tion.jda.client.JDAClient
- getFriendById(String) - Method in interface net.dv8tion.jda.client.JDAClient
- getFriendRequest() - Method in class net.dv8tion.jda.client.events.relationship.FriendRequestCanceledEvent
- getFriendRequest() - Method in class net.dv8tion.jda.client.events.relationship.FriendRequestIgnoredEvent
- getFriendRequest() - Method in class net.dv8tion.jda.client.events.relationship.FriendRequestReceivedEvent
- getFriendRequest() - Method in class net.dv8tion.jda.client.events.relationship.FriendRequestSentEvent
- getFriends() - Method in interface net.dv8tion.jda.client.entities.Group
- getFriends() - Method in interface net.dv8tion.jda.client.JDAClient
- getFriendsByName(String, boolean) - Method in interface net.dv8tion.jda.client.JDAClient
- getFromOffset(int) - Static method in enum net.dv8tion.jda.core.Permission
-
Gets the first
Permission
relating to the provided offset. - getGame() - Method in interface net.dv8tion.jda.client.entities.Friend
- getGame() - Method in interface net.dv8tion.jda.core.entities.Member
-
The game that the user is currently playing.
- getGame() - Method in interface net.dv8tion.jda.core.managers.Presence
-
The current Game for this session.
- getGame() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
The game that the member is currently playing.
- getGateway(JDA) - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Called by
WebSocketClient
when a new session starts (Connecting, Reconnecting). - getGateway(JDA) - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- getGatewayBot(JDA) - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Called by
DefaultShardManager
when a new shards is starting. - getGatewayBot(JDA) - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- getGlobalRatelimit() - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Provides the cross-session global REST ratelimit it received through
SessionController.setGlobalRatelimit(long)
. - getGlobalRatelimit() - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- getGroup() - Method in interface net.dv8tion.jda.client.entities.Call
- getGroup() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getGroup() - Method in class net.dv8tion.jda.client.events.call.GenericCallEvent
- getGroup() - Method in class net.dv8tion.jda.client.events.group.GenericGroupEvent
- getGroup() - Method in interface net.dv8tion.jda.core.entities.Invite
-
An
Invite.Group
object containing information about this invite's origin group. - getGroup() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
Group
that this message was sent in. - getGroup() - Method in class net.dv8tion.jda.core.entities.MessageReaction
- getGroup() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
Group
the Message was received in. - getGroup() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
Group
in which this users started typing, ornull
if this was not in a Group. - getGroupById(long) - Method in interface net.dv8tion.jda.client.JDAClient
- getGroupById(String) - Method in interface net.dv8tion.jda.client.JDAClient
- getGroupCache() - Method in interface net.dv8tion.jda.client.JDAClient
- getGroups() - Method in interface net.dv8tion.jda.client.JDAClient
- getGroupsByName(String, boolean) - Method in interface net.dv8tion.jda.client.JDAClient
- getGuild() - Method in class net.dv8tion.jda.client.managers.EmoteManager
- getGuild() - Method in class net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction
-
The current target
Guild
for this MentionPaginationAction. - getGuild() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The
Guild
this audit-log entry refers to - getGuild() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Returns the
Guild
that this Channel is part of. - getGuild() - Method in interface net.dv8tion.jda.core.entities.Emote
-
The
Guild
this emote is attached to. - getGuild() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
- getGuild() - Method in interface net.dv8tion.jda.core.entities.Invite
-
An
Invite.Guild
object containing information about this invite's origin guild. - getGuild() - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
The Guild to which this PermissionHolder is related
- getGuild() - Method in interface net.dv8tion.jda.core.entities.Member
-
The Guild in which this Member is represented.
- getGuild() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
Guild
that this message was sent in. - getGuild() - Method in class net.dv8tion.jda.core.entities.MessageReaction
- getGuild() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
- getGuild() - Method in interface net.dv8tion.jda.core.entities.Role
-
Returns the
Guild
this Role exists in - getGuild() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The
Guild
instance for this Webhook. - getGuild() - Method in class net.dv8tion.jda.core.events.channel.category.GenericCategoryEvent
- getGuild() - Method in class net.dv8tion.jda.core.events.channel.text.GenericTextChannelEvent
- getGuild() - Method in class net.dv8tion.jda.core.events.channel.voice.GenericVoiceChannelEvent
- getGuild() - Method in class net.dv8tion.jda.core.events.emote.GenericEmoteEvent
-
The
Guild
where the emote came from - getGuild() - Method in class net.dv8tion.jda.core.events.guild.GenericGuildEvent
-
The
Guild
- getGuild() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
Guild
the Message was received in. - getGuild() - Method in class net.dv8tion.jda.core.events.message.MessageBulkDeleteEvent
-
The
Guild
where the messages were deleted. - getGuild() - Method in class net.dv8tion.jda.core.events.role.GenericRoleEvent
-
The guild of the role
- getGuild() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserPresenceEvent
-
Possibly-null guild in which the presence has changed.
- getGuild() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
Guild
in which this users started typing, ornull
if this was not in a Guild. - getGuild() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Gets the
Guild
instance that this AudioManager is used for. - getGuild() - Method in class net.dv8tion.jda.core.managers.ChannelManager
- getGuild() - Method in class net.dv8tion.jda.core.managers.GuildController
-
The underlying
Guild
instance - getGuild() - Method in class net.dv8tion.jda.core.managers.GuildManager
-
The
Guild
object of this Manager. - getGuild() - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
- getGuild() - Method in class net.dv8tion.jda.core.managers.RoleManager
- getGuild() - Method in class net.dv8tion.jda.core.managers.WebhookManager
- getGuild() - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
The
Guild
to which the user will be added. - getGuild() - Method in class net.dv8tion.jda.core.requests.restaction.order.ChannelOrderAction
-
The
Guild
which holds the channels fromOrderAction.getCurrentOrder()
- getGuild() - Method in class net.dv8tion.jda.core.requests.restaction.order.RoleOrderAction
-
The
Guild
which holds the roles fromOrderAction.getCurrentOrder()
- getGuild() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
-
The current target
Guild
for this AuditLogPaginationAction. - getGuildAvailableCount() - Method in class net.dv8tion.jda.core.events.ReadyEvent
-
Number of available guilds for this session.
- getGuildById(long) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- getGuildById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(long) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
Guild
which has the same id as the one provided. - getGuildById(String) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
Guild
which has the same id as the one provided. - getGuildCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedGuilds
visible to this ShardManager instance. - getGuildCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedGuilds
visible to this JDA session. - getGuildId() - Method in class net.dv8tion.jda.core.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildIdLong() - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- getGuildIdLong() - Method in class net.dv8tion.jda.core.events.guild.UnavailableGuildJoinedEvent
-
The ID of the guild
- getGuildPositions() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- getGuilds() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable List of all
Guilds
that the logged account is connected to. - getGuilds() - Method in interface net.dv8tion.jda.core.JDA
-
An unmodifiable List of all
Guilds
that the logged account is connected to. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable list of all
Guilds
that have the same name as the one provided. - getGuildsByName(String, boolean) - Method in interface net.dv8tion.jda.core.JDA
-
An unmodifiable list of all
Guilds
that have the same name as the one provided. - getGuildTotalCount() - Method in class net.dv8tion.jda.core.events.ReadyEvent
-
Sum of both
ReadyEvent.getGuildAvailableCount()
andReadyEvent.getGuildUnavailableCount()
. - getGuildUnavailableCount() - Method in class net.dv8tion.jda.core.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. - getHeight() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The height of the Attachment if this Attachment is an image.
- getHeight() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.ImageInfo
-
The height of the image.
- getHeight() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Thumbnail
-
The height of the thumbnail image.
- getHeight() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.VideoInfo
-
The height of the video.
- getHistory() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Creates a new
MessageHistory
object for each call of this method. - getHistoryAfter(long, int) - Method in interface net.dv8tion.jda.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.entities.MessageChannel
-
Uses the provided
Message
as a marker and retrieves messages around the marker. - getHistoryBefore(long, int) - Method in interface net.dv8tion.jda.core.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.core.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.core.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.core.entities.MessageChannel
-
Uses the provided message as a marker and retrieves messages sent before the marker.
- getIconId() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The icon id of the bot's application.
- getIconId() - Method in interface net.dv8tion.jda.client.entities.Application
-
The icon id of the application.
- getIconId() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The icon id of this Application.
- getIconId() - Method in interface net.dv8tion.jda.client.entities.Group
- getIconId() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The Discord hash-id of the
Guild
icon image. - getIconId() - Method in interface net.dv8tion.jda.core.entities.Invite.Group
-
The icon id of this group or
null
if the group has no icon. - getIconId() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
The icon id of this guild.
- getIconUrl() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The icon-url of the bot's application.
- getIconUrl() - Method in interface net.dv8tion.jda.client.entities.Application
-
The icon-url of the application.
- getIconUrl() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The icon-url of this Application.
- getIconUrl() - Method in interface net.dv8tion.jda.client.entities.Group
- getIconUrl() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The URL of the
Guild
icon image. - getIconUrl() - Method in interface net.dv8tion.jda.core.entities.Invite.Group
-
The icon url of this group or
null
if the group has no icon. - getIconUrl() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
The icon url of this guild.
- getIconUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.AuthorInfo
-
The url of the author's icon.
- getIconUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Footer
-
The url of the footer's icon.
- getId() - Method in enum net.dv8tion.jda.core.entities.ChannelType
-
The Discord id key used to represent the channel type.
- getId() - Method in interface net.dv8tion.jda.core.entities.ISnowflake
-
The Snowflake id of this entity.
- getId() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- getId() - Method in enum net.dv8tion.jda.core.entities.MessageType
-
The Discord id key used to reference the MessageType.
- getId() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
-
ID for this party, relevant to the game.
- getId() - Method in class net.dv8tion.jda.core.events.channel.category.GenericCategoryEvent
-
The snowflake ID for the responsible
Category
- getId() - Method in class net.dv8tion.jda.webhook.WebhookClient
-
The snowflake id of the target Webhook
- getIdentifier() - Method in interface net.dv8tion.jda.core.audio.factory.IPacketProvider
-
Provides a unique String identifier for the connection.
- getIdLong() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
- getIdLong() - Method in interface net.dv8tion.jda.core.entities.ISnowflake
-
The Snowflake id of this entity.
- getIdLong() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
- getIdLong() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- getIdLong() - Method in class net.dv8tion.jda.core.events.channel.category.GenericCategoryEvent
-
The snowflake ID for the responsible
Category
- getIdLong() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
- getIdLong() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
- getIdLong() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
- getIdLong() - Method in class net.dv8tion.jda.webhook.WebhookClient
-
The snowflake id of the target Webhook
- getImage() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The information about the image in the message embed
- getImageUrl() - Method in interface net.dv8tion.jda.core.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.core.entities.PermissionOverride
-
An unmodifiable list of all
Permission
that are unaffected by this override. - getInherited() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
The currently set of inherited permission bits.
- getInheritedPermissions() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Immutable list of
Permissions
that would be inherited from other permission holders. - getInheritRaw() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
This is the raw binary representation (as a base 10 long) of the permissions not affected by this override.
- getInputStream() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
Creates a copy of the
InputStream
that is created using anOkHttpClient
. - getInviteCode() - Method in class net.dv8tion.jda.core.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.core.entities.Invite
-
The user who created this invite.
- getInvites() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Returns all invites for this channel.
- getInvites() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves all
Invites
for this guild. - getInvites() - Method in interface net.dv8tion.jda.core.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.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(long, Permission...) - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Collection<Permission>) - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Collection<Permission>) - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Permission...) - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(String, Permission...) - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.bot.JDABot
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getInviteUrl(Collection<Permission>) - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Creates a OAuth invite-link used to invite the bot.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.bot.JDABot
-
Creates an authorization invite url for the currently logged in Bot-Account.
- getInviteUrl(Permission...) - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
Creates a OAuth invite-link used to invite the bot.
- getIterableHistory() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
A
PaginationAction
implementation that allows toiterate
over recentMessages
of this MessageChannel. - getJDA() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The
JDA
instance of this ApplicationInfo (the one logged into this application's bot account). - getJDA() - Method in interface net.dv8tion.jda.bot.JDABot
-
Returns the
JDA
instance of this JDABot - getJDA() - Method in interface net.dv8tion.jda.client.entities.Application
-
The
JDA
instance of this Application (the one owning this application). - getJDA() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The
JDA
instance of this AuthorizedApplication (the one owning this authorisation). - getJDA() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- getJDA() - Method in interface net.dv8tion.jda.client.JDAClient
- getJDA() - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
The
JDA
instance of this Manager - getJDA() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The corresponding JDA instance of the referring Guild
- getJDA() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Returns the
JDA
instance of this Channel - getJDA() - Method in interface net.dv8tion.jda.core.entities.Emote
-
The
JDA
instance of this Emote - getJDA() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns the
JDA
instance of this Guild - getJDA() - Method in interface net.dv8tion.jda.core.entities.Invite
-
The
JDA
instance used to create this Invite - getJDA() - Method in interface net.dv8tion.jda.core.entities.Member
-
The JDA instance.
- getJDA() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The corresponding JDA instance for this Attachment
- getJDA() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
JDA
instance related to this Message. - getJDA() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Returns the
JDA
instance of this MessageChannel - getJDA() - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
The corresponding JDA instance for this MessageHistory
- getJDA() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The JDA instance of this Reaction
- getJDA() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
-
The current JDA instance for the Reaction
- getJDA() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
The
JDA
instance that thisPermissionOverride
is related to. - getJDA() - Method in interface net.dv8tion.jda.core.entities.PrivateChannel
-
Returns the
JDA
instance of this PrivateChannel - getJDA() - Method in interface net.dv8tion.jda.core.entities.Role
-
Returns the
JDA
instance of this Role - getJDA() - Method in interface net.dv8tion.jda.core.entities.User
-
Returns the
JDA
instance of this User - getJDA() - Method in interface net.dv8tion.jda.core.entities.VoiceState
-
Returns the
JDA
instance of this VoiceState - getJDA() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The JDA instance of this Webhook.
- getJDA() - Method in class net.dv8tion.jda.core.events.Event
-
The current JDA instance corresponding to this Event
- getJDA() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Gets the
JDA
instance that this AudioManager is a part of. - getJDA() - Method in class net.dv8tion.jda.core.managers.GuildController
-
The
JDA
instance of this GuildController - getJDA() - Method in interface net.dv8tion.jda.core.managers.Presence
-
The JDA instance of this Presence
- getJDA() - Method in class net.dv8tion.jda.core.requests.RestAction
-
The current JDA instance
- getJDA() - Method in interface net.dv8tion.jda.core.utils.SessionController.SessionConnectNode
-
The
JDA
instance for this request - getJoinDate() - Method in interface net.dv8tion.jda.core.entities.Member
-
The
Time
this Member joined the Guild. - getJumpUrl() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the jump-to URL for the received message.
- getKey() - Method in enum net.dv8tion.jda.client.entities.RelationshipType
- getKey() - Method in enum net.dv8tion.jda.core.audio.AudioEncryption
- getKey() - Method in enum net.dv8tion.jda.core.audit.ActionType
-
The raw key used to identify types within the api.
- getKey() - Method in class net.dv8tion.jda.core.audit.AuditLogChange
-
The key which defines the field that was updated by this change
- getKey() - Method in enum net.dv8tion.jda.core.audit.AuditLogKey
- getKey() - Method in enum net.dv8tion.jda.core.audit.AuditLogOption
-
Key used in
AuditLogEntry.getOptionByName(String)
- getKey() - Method in enum net.dv8tion.jda.core.entities.Game.GameType
-
The Discord defined id key for this GameType.
- getKey() - Method in enum net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
-
The key for this level
- getKey() - Method in enum net.dv8tion.jda.core.entities.Guild.MFALevel
-
The Discord id key used to represent this MFALevel.
- getKey() - Method in enum net.dv8tion.jda.core.entities.Guild.NotificationLevel
-
The Discord id key used to represent this NotificationLevel.
- getKey() - Method in enum net.dv8tion.jda.core.entities.Guild.VerificationLevel
-
The Discord id key for this Verification Level.
- getKey() - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
-
The key for this image, used for
RichPresence.Image.getUrl()
- getKey() - Method in enum net.dv8tion.jda.core.OnlineStatus
-
The valid API key for this OnlineStatus
- getKey() - Method in enum net.dv8tion.jda.core.Region
-
The Region key as defined by Discord.
- getLargeImage() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Information on the large image displayed in the profile view
- getLast() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
The most recent entity retrieved by this PaginationAction instance
- getLatestMessageId() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLatestMessageIdLong() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
The id for the most recent message sent in this current MessageChannel.
- getLength() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The total amount of characters that is displayed when this embed is displayed by the Discord client.
- getLimit() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
The currently used limit.
- getLocale() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- getManager() - Method in interface net.dv8tion.jda.client.entities.Application
-
Returns the
ApplicationManager
for this Application. - getManager() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Returns the
ChannelManager
for this Channel. - getManager() - Method in interface net.dv8tion.jda.core.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.core.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.core.entities.PermissionOverride
-
Returns the
PermOverrideManager
for this PermissionOverride. - getManager() - Method in interface net.dv8tion.jda.core.entities.Role
-
The
RoleManager
for this Role. - getManager() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
The
AccountManager
for the currently logged in account. - getManager() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The
WebhookManager
for this Webhook. - getMap() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- getMax() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
-
The maximum size of this party, or
0
if unset - getMaxAge() - Method in interface net.dv8tion.jda.core.entities.Invite
-
The max age of this invite in seconds.
- getMaxAsLong() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
-
The maximum size of this party, or
0
if unset - getMaxLimit() - Method in class net.dv8tion.jda.core.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. - getMaxReconnectDelay() - Method in interface net.dv8tion.jda.core.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.core.entities.Invite
-
The max uses of this invite.
- getMeaning() - Method in enum net.dv8tion.jda.core.audio.VoiceCode.Close
- getMeaning() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
-
The meaning for this error.
- getMeaning() - Method in enum net.dv8tion.jda.core.requests.CloseCode
-
The message which further explains the reason for this close code's occurrence
- getMeaning() - Method in enum net.dv8tion.jda.core.requests.ErrorResponse
- getMember() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns the
Member
corresponding to this GuildVoiceState instance (Backreference) - getMember() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the author of this Message as a
member
. - getMember() - Method in interface net.dv8tion.jda.core.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.core.events.guild.member.GenericGuildMemberEvent
-
The
Member
instance - getMember() - Method in class net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
-
The affected
Member
- getMember() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent
-
The Author of the Message received as
Member
object. - getMember() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageUpdateEvent
-
The
Member
instance of the author - getMember() - Method in class net.dv8tion.jda.core.events.message.guild.react.GenericGuildMessageReactionEvent
-
The
Member
instance for the reacting user - getMember() - Method in class net.dv8tion.jda.core.events.message.MessageReceivedEvent
-
The Author of the Message received as
Member
object. - getMember() - Method in class net.dv8tion.jda.core.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.core.events.message.react.GenericMessageReactionEvent
-
The
Member
instance for the reacting user ornull
if the reaction was not in a guild. - getMember() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserPresenceEvent
-
Possibly-null member who changed their presence.
- getMember() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
Member
instance for the User, or null if this was not in a Guild. - getMember() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
- getMember(User) - Method in interface net.dv8tion.jda.core.entities.Guild
- getMemberById(long) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(long) - Method in class net.dv8tion.jda.core.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.core.entities.Guild
-
Gets a
Member
object via the id of the user. - getMemberById(String) - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
-
Gets a member with the given ID, or null if the member is not found
- getMemberCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
MemberCacheView
for all cachedMembers
of this Guild. - getMemberCount() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
Returns the approximate count of total members in the guild.
- getMemberPermissionOverrides() - Method in interface net.dv8tion.jda.core.entities.Channel
- getMembers() - Method in interface net.dv8tion.jda.core.entities.Channel
-
A List of all
Members
that are in this Channel ForTextChannels
, this returns all Members with thePermission.MESSAGE_READ
Permission. - getMembers() - Method in interface net.dv8tion.jda.core.entities.Guild
-
A list of all
Members
in this Guild. - getMembers() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
-
Gets a list of online members in the guild
- getMembers() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
-
Gets a list of all members in the channel
- getMembersByEffectiveName(String, boolean) - Method in interface net.dv8tion.jda.core.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.core.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.core.entities.Guild
-
Gets a list of all
Members
who have the same nickname as the one provided. - getMembersWithRoles(Collection<Role>) - Method in interface net.dv8tion.jda.core.entities.Guild
- getMembersWithRoles(Role...) - Method in interface net.dv8tion.jda.core.entities.Guild
- getMentionedChannels() - Method in interface net.dv8tion.jda.core.entities.Message
-
A immutable list of all mentioned
TextChannels
. - getMentionedMembers() - Method in interface net.dv8tion.jda.core.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.core.entities.Message
-
Creates an immutable list of
Members
representing the users ofMessage.getMentionedUsers()
in the specifiedGuild
. - getMentionedRoles() - Method in interface net.dv8tion.jda.core.entities.Message
-
A immutable list of all mentioned
Roles
. - getMentionedUsers() - Method in interface net.dv8tion.jda.core.entities.Message
-
An immutable list of all mentioned
Users
. - getMentions(Message.MentionType...) - Method in interface net.dv8tion.jda.core.entities.Message
-
Combines all instances of
IMentionable
filtered by the specifiedMentionType
values. - getMessage() - Method in class net.dv8tion.jda.client.events.message.group.GroupMessageReceivedEvent
- getMessage() - Method in class net.dv8tion.jda.client.events.message.group.GroupMessageUpdateEvent
- getMessage() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent
-
The received
Message
object. - getMessage() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageUpdateEvent
-
The
Message
- getMessage() - Method in class net.dv8tion.jda.core.events.message.MessageReceivedEvent
-
The received
Message
object. - getMessage() - Method in class net.dv8tion.jda.core.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.core.events.message.priv.PrivateMessageReceivedEvent
-
The
Message
- getMessage() - Method in class net.dv8tion.jda.core.events.message.priv.PrivateMessageUpdateEvent
-
The
Message
that was updated - getMessageById(long) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - getMessageById(long) - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Used to get a Message from the set of already retrieved message via it's message Id.
- getMessageById(String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Attempts to get a
Message
from the Discord's servers that has the same id as the id provided. - getMessageById(String) - Method in class net.dv8tion.jda.core.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.client.events.message.group.GroupMessageEmbedEvent
- getMessageEmbeds() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageEmbedEvent
-
The
MessageEmbeds
- getMessageEmbeds() - Method in class net.dv8tion.jda.core.events.message.MessageEmbedEvent
-
The list of
MessageEmbeds
- getMessageEmbeds() - Method in class net.dv8tion.jda.core.events.message.priv.PrivateMessageEmbedEvent
-
The
MessageEmbeds
- getMessageId() - Method in interface net.dv8tion.jda.client.entities.Call
- getMessageId() - Method in class net.dv8tion.jda.client.events.message.group.GenericGroupMessageEvent
- getMessageId() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageId() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The id for this message
- getMessageId() - Method in class net.dv8tion.jda.core.events.message.guild.GenericGuildMessageEvent
-
The message id
- getMessageId() - Method in class net.dv8tion.jda.core.events.message.priv.GenericPrivateMessageEvent
-
The id for this message
- getMessageIdLong() - Method in interface net.dv8tion.jda.client.entities.Call
- getMessageIdLong() - Method in class net.dv8tion.jda.client.events.message.group.GenericGroupMessageEvent
- getMessageIdLong() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The message id this reaction is attached to
- getMessageIdLong() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The id for this message
- getMessageIdLong() - Method in class net.dv8tion.jda.core.events.message.guild.GenericGuildMessageEvent
-
The message id
- getMessageIdLong() - Method in class net.dv8tion.jda.core.events.message.priv.GenericPrivateMessageEvent
-
The id for this message
- getMessageIds() - Method in class net.dv8tion.jda.core.events.message.MessageBulkDeleteEvent
-
List of messages that have been deleted.
- getMinLimit() - Method in class net.dv8tion.jda.core.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.core.audio.SpeakingMode
-
Parses the active modes represented by the provided bitmask
- getMutualGuilds() - Method in interface net.dv8tion.jda.core.entities.User
- getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(Collection<User>) - Method in interface net.dv8tion.jda.core.JDA
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Gets all
Guilds
that contain all given users as their members. - getMutualGuilds(User...) - Method in interface net.dv8tion.jda.core.JDA
-
Gets all
Guilds
that contain all given users as their members. - getName() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The name of the bot's application.
- getName() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
The name of this Bot
- getName() - Method in interface net.dv8tion.jda.client.entities.Application
-
The name of this application.
- getName() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
The name of this Application.
- getName() - Method in interface net.dv8tion.jda.client.entities.Group
-
Returns the name set for this group.
If no name has been set for this group, then null is returned. - getName() - Method in interface net.dv8tion.jda.core.entities.Channel
-
The human readable name of the Channel.
- getName() - Method in interface net.dv8tion.jda.core.entities.Emote
-
The name of this emote
- getName() - Method in class net.dv8tion.jda.core.entities.Game
-
The displayed name of the
Game
. - getName() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The human readable name of the
Guild
. - getName() - Method in interface net.dv8tion.jda.core.entities.Invite.Channel
-
The name of this channel.
- getName() - Method in interface net.dv8tion.jda.core.entities.Invite.Group
-
The name of this group or
null
if the group has no name. - getName() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
The name of this guild.
- getName() - Method in interface net.dv8tion.jda.core.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.core.entities.MessageEmbed.AuthorInfo
-
The name of the Author.
- getName() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Field
-
The name of the field
- getName() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Provider
-
The name of the provider.
- getName() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
-
The name for this emote/emoji
For unicode emojis this will be the unicode of said emoji. - getName() - Method in interface net.dv8tion.jda.core.entities.Role
-
The Name of this
Role
. - getName() - Method in interface net.dv8tion.jda.core.entities.User
-
The username of the
User
. - getName() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The name of this Webhook.
- getName() - Method in enum net.dv8tion.jda.core.Permission
-
The readable name as used in the Discord client.
- getName() - Method in enum net.dv8tion.jda.core.Region
-
The human readable region name.
- getName() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
-
Gets the name of the guild
- getName() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Returns the username of the member
- getName() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the name of the channel
- getNewAfkChannel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkChannelEvent
-
The new afk channel
- getNewAfkTimeout() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The new
AFK-Timeout
- getNewAvatarId() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
-
The new avatar id
- getNewAvatarId() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
-
The new avatar id
- getNewAvatarUrl() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
-
The new avatar url
- getNewAvatarUrl() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
-
The url of the new avatar
- getNewBitrate() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
-
The new bitrate
- getNewColor() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
-
The new color
- getNewColorRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the new color
- getNewDiscriminator() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateDiscriminatorEvent
-
The new discriminator
- getNewDiscriminator() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateDiscriminatorEvent
-
The new discriminator
- getNewEmail() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateEmailEvent
-
The new email
- getNewFeatures() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateFeaturesEvent
-
The new Set of features after the
Guild
update. - getNewGame() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateGameEvent
-
The new
Game
- getNewIconId() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getNewIconUrl() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
-
The url of the new icon
- getNewLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The new
ExplicitContentLevel
for theGuild
after to this event. - getNewMFALevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateMFALevelEvent
-
The new
MFALevel
- getNewName() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdateNameEvent
-
The new name for this
Category
- getNewName() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.emote.update.EmoteUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateNameEvent
-
The new name
- getNewName() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateNameEvent
-
The new username
- getNewNick() - Method in class net.dv8tion.jda.core.events.guild.member.GuildMemberNickChangeEvent
-
The new nickname
- getNewNotificationLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNotificationLevelEvent
-
The new
NotificationLevel
- getNewOnlineStatus() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateOnlineStatusEvent
-
The new status
- getNewOwner() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateOwnerEvent
-
The new owner
- getNewParent() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateParentEvent
-
The new parent
Category
- getNewParent() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
-
The new parent
Category
- getNewPermissions() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPermissionsRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
-
The new permissions
- getNewPhoneNumber() - Method in class net.dv8tion.jda.core.events.self.SelfUpdatePhoneNumberEvent
-
The new phone number.
- getNewPosition() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePositionEvent
-
The new position of this
Category
- getNewPosition() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePositionEvent
-
The new position
- getNewPosition() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
-
The new position
- getNewPosition() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewPositionRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
-
The new position
- getNewRegion() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateRegionEvent
- getNewRegionRaw() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateRegionEvent
-
The raw voice region name that was updated to in the
Guild
. - getNewRoles() - Method in class net.dv8tion.jda.core.events.emote.update.EmoteUpdateRolesEvent
-
The new role whitelist
- getNewSlowmode() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateSlowmodeEvent
-
The new slowmode.
- getNewSplashId() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
-
The new splash id
- getNewSplashUrl() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
-
The url of the new splash
- getNewStatus() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
-
The status that we changed to
- getNewSystemChannel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSystemChannelEvent
-
The new system channel.
- getNewTopic() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateTopicEvent
-
The new topic
- getNewUserLimit() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
-
The new userlimit
- getNewValue() - Method in class net.dv8tion.jda.core.audit.AuditLogChange
-
The updated value for the field specified by
AuditLogChange.getKey()
. - getNewValue() - Method in class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- getNewValue() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
- getNewValue() - Method in interface net.dv8tion.jda.core.events.UpdateEvent
-
The new value
- getNewValue() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- getNewVerificationLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateVerificationLevelEvent
-
The new
VerificationLevel
- getNextAttemptEpoch() - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- getNextPacket(boolean) - Method in interface net.dv8tion.jda.core.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNextPacketRaw(boolean) - Method in interface net.dv8tion.jda.core.audio.factory.IPacketProvider
-
Used to retrieve an audio packet to send to Discord.
- getNickname() - Method in interface net.dv8tion.jda.core.entities.Member
-
Returns the current nickname of this Member for the parent Guild.
- getNickname() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the nickname of the member.
- getNonce() - Method in interface net.dv8tion.jda.core.entities.Message
-
Validation nonce for this Message
This can be used to validate that a Message was properly sent to the Discord Service. - getNonFriendUsers() - Method in interface net.dv8tion.jda.client.entities.Group
- getNow(T) - Method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.
- getNumberOfDependents() - Method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns the estimated number of RequestFutures whose completions are awaiting completion of this RequestFuture.
- getOffset() - Method in enum net.dv8tion.jda.core.entities.ActivityFlag
-
The offset for this flag:
1 << offset
- getOffset() - Method in enum net.dv8tion.jda.core.Permission
-
The binary offset of the permission.
- getOldAfkChannel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkChannelEvent
-
The old afk channel
- getOldAfkTimeout() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkTimeoutEvent
-
The old
AFK-Timeout
- getOldAvatarId() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
-
The old avatar id
- getOldAvatarId() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
-
The previous avatar id
- getOldAvatarUrl() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
-
The old avatar url
- getOldAvatarUrl() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
-
The previous avatar url
- getOldBitrate() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
-
The old bitrate
- getOldColor() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
-
The old color
- getOldColorRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
-
The raw rgb value of the old color
- getOldDiscriminator() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateDiscriminatorEvent
-
The old discriminator
- getOldDiscriminator() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateDiscriminatorEvent
-
The old discriminator
- getOldEmail() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateEmailEvent
-
The old email
- getOldFeatures() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateFeaturesEvent
-
The old Set of features before the
Guild
update. - getOldGame() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateGameEvent
-
The previous
Game
- getOldIconId() - Method in class net.dv8tion.jda.client.events.group.update.GroupUpdateIconEvent
- getOldIconId() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
-
The old icon id
- getOldIconUrl() - Method in class net.dv8tion.jda.client.events.group.update.GroupUpdateIconEvent
- getOldIconUrl() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
-
The url of the old icon
- getOldLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateExplicitContentLevelEvent
-
The old
ExplicitContentLevel
for theGuild
prior to this event. - getOldMFALevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateMFALevelEvent
-
The old
MFALevel
- getOldName() - Method in class net.dv8tion.jda.client.events.group.update.GroupUpdateNameEvent
- getOldName() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdateNameEvent
-
The previous name for this
Category
- getOldName() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.emote.update.EmoteUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateNameEvent
-
The old name
- getOldName() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateNameEvent
-
The old username
- getOldNotificationLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNotificationLevelEvent
-
The old
NotificationLevel
- getOldNSFW() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNSFWEvent
-
Whether the channel was marked NSFW before
- getOldOnlineStatus() - Method in class net.dv8tion.jda.core.events.user.update.UserUpdateOnlineStatusEvent
-
The old status
- getOldOwner() - Method in class net.dv8tion.jda.client.events.group.update.GroupUpdateOwnerEvent
- getOldOwner() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateOwnerEvent
-
The old owner
- getOldParent() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateParentEvent
-
The old parent
Category
- getOldParent() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
-
The old parent
Category
- getOldPermissions() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPermissionsRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
-
The old permissions
- getOldPhoneNumber() - Method in class net.dv8tion.jda.core.events.self.SelfUpdatePhoneNumberEvent
-
The old phone number or
null
if no phone number was previously set. - getOldPosition() - Method in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePositionEvent
-
The previous position of this
Category
- getOldPosition() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePositionEvent
-
The old position
- getOldPosition() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
-
The old position
- getOldPosition() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldPositionRaw() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
-
The old position
- getOldRegion() - Method in class net.dv8tion.jda.client.events.call.update.CallUpdateRegionEvent
- getOldRegion() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateRegionEvent
- getOldRegionRaw() - Method in class net.dv8tion.jda.core.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.core.events.emote.update.EmoteUpdateRolesEvent
-
The old role whitelist
- getOldSlowmode() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateSlowmodeEvent
-
The old slowmode.
- getOldSplashId() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
-
The old splash id
- getOldSplashUrl() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
-
The url of the old splash
- getOldStatus() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
-
The previous status
- getOldSystemChannel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSystemChannelEvent
-
The previous system channel.
- getOldTopic() - Method in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateTopicEvent
-
The old topic
- getOldUserLimit() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
-
The old userlimit
- getOldValue() - Method in class net.dv8tion.jda.core.audit.AuditLogChange
-
The previous value for the field specified by
AuditLogChange.getKey()
. - getOldValue() - Method in class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- getOldValue() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
- getOldValue() - Method in interface net.dv8tion.jda.core.events.UpdateEvent
-
The old value
- getOldValue() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- getOldVerificationLevel() - Method in class net.dv8tion.jda.core.events.guild.update.GuildUpdateVerificationLevelEvent
-
The old
VerificationLevel
- getOnlineCount() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
Returns the approximate count of online members in the guild.
- getOnlineStatus() - Method in interface net.dv8tion.jda.client.entities.Friend
- getOnlineStatus() - Method in interface net.dv8tion.jda.core.entities.Member
-
Returns the
OnlineStatus
of the User. - getOnlineStatus() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the online status of the member.
- getOnlineStatusModifiedTime() - Method in interface net.dv8tion.jda.client.entities.Friend
- getOption(AuditLogOption) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name) - getOptionByName(String) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Shortcut to
lookup!getOptions()
.get(name)
This lookup is case-insensitive! - getOptions() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Key-Value
Map
containing all Options made in this entry. - getOptions(AuditLogOption...) - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
Constructs a filtered, immutable list of options corresponding to the provided
AuditLogOptions
. - getOwner() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
The owner of the bot's application.
- getOwner() - Method in interface net.dv8tion.jda.client.entities.Group
- getOwner() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The
Member
object for the owner of this Guild. - getOwner() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The owner of this Webhook.
- getOwnerId() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The ID for the current owner of this guild.
- getOwnerIdLong() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The ID for the current owner of this guild.
- getParent() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Parent
Category
of this Channel. - getParty() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Information on the active party of the player
- getPattern() - Method in enum net.dv8tion.jda.core.entities.Message.MentionType
- getPermission() - Method in exception net.dv8tion.jda.core.exceptions.PermissionException
-
The
Permission
that is required for the operation - getPermissionOverride() - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
The target
PermissionOverride
that will be modified by this Manager - getPermissionOverride(Member) - Method in interface net.dv8tion.jda.core.entities.Channel
-
The
PermissionOverride
relating to the specifiedMember
. - getPermissionOverride(Role) - Method in interface net.dv8tion.jda.core.entities.Channel
-
The
PermissionOverride
relating to the specifiedRole
. - getPermissionOverrides() - Method in interface net.dv8tion.jda.core.entities.Channel
-
Gets all of the
PermissionOverrides
that are part of thisChannel
. - getPermissions() - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
The Guild-Wide Permissions this PermissionHolder holds.
- getPermissions(long) - Static method in enum net.dv8tion.jda.core.Permission
-
A list of all
Permissions
that are specified by this raw long representation of permissions. - getPermissions(Channel) - Method in interface net.dv8tion.jda.core.entities.Member
-
The Permissions this Member holds in the specified
Channel
. - getPermissionsRaw() - Method in interface net.dv8tion.jda.core.entities.Role
-
The
long
representation of the literal permissions that thisRole
has. - getPhoneNumber() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
Used to get the phone number of the currently logged in account if a phone number has been attached to it.
- getPing() - Method in interface net.dv8tion.jda.core.JDA
-
The time in milliseconds that discord took to respond to our last heartbeat
This roughly represents the WebSocket ping of this session - getPinnedMessages() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Retrieves a List of
Messages
that have been pinned in this channel. - getPosition() - Method in interface net.dv8tion.jda.core.entities.Channel
-
The position this Channel is displayed at.
- getPosition() - Method in interface net.dv8tion.jda.core.entities.Role
- getPosition() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the integer position of the channel
- getPositionRaw() - Method in interface net.dv8tion.jda.core.entities.Channel
-
The actual position of the
Channel
as stored and given by Discord. - getPositionRaw() - Method in interface net.dv8tion.jda.core.entities.Role
-
The actual position of the
Role
as stored and given by Discord. - getPreferredMode(JSONArray) - Static method in enum net.dv8tion.jda.core.audio.AudioEncryption
- getPremadeWidgetHtml(String, WidgetUtil.WidgetTheme, int, int) - Static method in class net.dv8tion.jda.core.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.core.utils.WidgetUtil
-
Gets the pre-made HTML Widget for the specified guild using the specified settings.
- getPresence() - Method in interface net.dv8tion.jda.core.JDA
-
The
Presence
controller for the current session. - getPreviouslyBlockedUser() - Method in class net.dv8tion.jda.client.events.relationship.UserUnblockedEvent
- getPrevNick() - Method in class net.dv8tion.jda.core.events.guild.member.GuildMemberNickChangeEvent
-
The old nickname
- getPrivateChannel() - Method in interface net.dv8tion.jda.client.entities.Call
- getPrivateChannel() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getPrivateChannel() - Method in class net.dv8tion.jda.client.events.call.GenericCallEvent
- getPrivateChannel() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
PrivateChannel
that this message was sent in. - getPrivateChannel() - Method in class net.dv8tion.jda.core.entities.MessageReaction
- getPrivateChannel() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
PrivateChannel
the Message was received in. - getPrivateChannel() - Method in class net.dv8tion.jda.core.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.bot.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(long) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelById(String) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
PrivateChannel
which has the same id as the one provided. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this ShardManager instance. - getPrivateChannelCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedPrivateChannels
visible to this JDA session. - getPrivateChannels() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable list of all known
PrivateChannels
. - getPrivateChannels() - Method in interface net.dv8tion.jda.core.JDA
-
An unmodifiable list of all known
PrivateChannels
. - getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
- getPropertyIdentifier() - Method in interface net.dv8tion.jda.core.events.UpdateEvent
-
The field name for the updated property
- getPropertyIdentifier() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- getProxyIconUrl() - Method in class net.dv8tion.jda.core.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.core.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.core.entities.Message.Attachment
-
The url of the Attachment, proxied by Discord.
- getProxyUrl() - Method in class net.dv8tion.jda.core.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.core.entities.MessageEmbed.Thumbnail
-
The Discord proxied url of the thumbnail image.
- getPrunableMemberCount(int) - Method in interface net.dv8tion.jda.core.entities.Guild
-
The method calculates the amount of Members that would be pruned if
GuildController.prune(int)
was executed. - getPublicRole() - Method in interface net.dv8tion.jda.core.entities.Guild
- getPublicRole() - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the public role (Guild.getPublicRole()
) for the resulting Guild. - getQueuedAudioConnection() - Method in interface net.dv8tion.jda.core.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.core.exceptions.RateLimitedException
-
The route responsible for the rate limit bucket that is used in the responsible
RateLimiter
- getRaw() - Method in enum net.dv8tion.jda.core.audio.SpeakingMode
-
The raw bitmask for this mode
- getRaw() - Method in enum net.dv8tion.jda.core.entities.ActivityFlag
-
The raw bitmask for this flag
- getRaw(Collection<SpeakingMode>) - Static method in enum net.dv8tion.jda.core.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmast.
- getRaw(Collection<Permission>) - Static method in enum net.dv8tion.jda.core.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.core.audio.SpeakingMode
-
Converts the given speaking modes into raw its bitmast.
- getRaw(Permission...) - Static method in enum net.dv8tion.jda.core.Permission
-
This is effectively the opposite of
Permission.getPermissions(long)
, this takes 1 or morePermissions
and returns the raw offsetlong
representation of the permissions. - getRawValue() - Method in enum net.dv8tion.jda.core.Permission
-
The value of this permission when viewed as a raw value.
- getReaction() - Method in class net.dv8tion.jda.client.events.message.group.react.GenericGroupMessageReactionEvent
- getReaction() - Method in class net.dv8tion.jda.core.events.message.guild.react.GenericGuildMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.core.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.core.events.message.react.GenericMessageReactionEvent
-
The
MessageReaction
- getReaction() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.ReactionPaginationAction
-
The current target
MessageReaction
- getReactionEmote() - Method in class net.dv8tion.jda.client.events.message.group.react.GenericGroupMessageReactionEvent
- getReactionEmote() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
The
ReactionEmote
of this Reaction - getReactionEmote() - Method in class net.dv8tion.jda.core.events.message.guild.react.GenericGuildMessageReactionEvent
- getReactionEmote() - Method in class net.dv8tion.jda.core.events.message.priv.react.GenericPrivateMessageReactionEvent
- getReactionEmote() - Method in class net.dv8tion.jda.core.events.message.react.GenericMessageReactionEvent
-
The
ReactionEmote
of the reaction, shortcut forgetReaction().getReactionEmote()
- getReactions() - Method in interface net.dv8tion.jda.core.entities.Message
-
All
MessageReactions
that are on this Message. - getReason() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The optional reason why this action was executed.
- getReason() - Method in class net.dv8tion.jda.core.entities.Guild.Ban
-
The reason why this user was banned
- getReceiveHandler() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
The currently set
AudioReceiveHandler
. - getRecentMentions() - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves the recent mentions for the currently logged in client account.
- getRecentMentions() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves the recent mentions for the currently logged in client account in this Guild.
- getRecentMentions(Guild) - Method in interface net.dv8tion.jda.client.JDAClient
-
Retrieves the recent mentions for the currently logged in client account.
- getRedirectUris() - Method in interface net.dv8tion.jda.client.entities.Application
-
The redirect uris of this application.
- getRegion() - Method in interface net.dv8tion.jda.client.entities.Call
- getRegion() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The Voice
Region
that this Guild is using for audio connections. - getRegionRaw() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The raw voice region name that this Guild is using for audio connections.
- getRegisteredListeners() - Method in class net.dv8tion.jda.core.hooks.AnnotatedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.core.hooks.IEventManager
-
The currently registered listeners
- getRegisteredListeners() - Method in class net.dv8tion.jda.core.hooks.InterfacedEventManager
- getRegisteredListeners() - Method in interface net.dv8tion.jda.core.JDA
-
Returns an unmodifiable List of Objects that have been registered as EventListeners.
- getRelationship() - Method in class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
- getRelationship(Member) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationship(User) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipById(long) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipById(long, RelationshipType) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipById(String) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipById(String, RelationshipType) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationships() - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationships(RelationshipType) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationships(RelationshipType, String, boolean) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipsByName(String, boolean) - Method in interface net.dv8tion.jda.client.JDAClient
- getRelationshipType() - Method in class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
- getRemainingTime(TemporalUnit) - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Calculates the amount of time until
RichPresence.Timestamps.getEndTime()
in terms of the specified unit. - getRequest() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRequestBody() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRequestBodyRaw() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRequestHeaders() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRequestRaw() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRequiredMFALevel() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns the level of multifactor authentication required to execute administrator restricted functions in this guild.
- getRequiredType() - Method in exception net.dv8tion.jda.core.exceptions.AccountTypeException
-
The required
AccountType
for the operation - getResponse() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponse() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
-
The Discord Response causing the ErrorResponse
- getResponseBody() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseBodyAsArray() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseBodyAsObject() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseBodyAsString() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseHeaders() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseNumber() - Method in class net.dv8tion.jda.core.events.Event
-
The current sequence for this event.
- getResponseRaw() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getResponseTotal() - Method in interface net.dv8tion.jda.core.JDA
-
This value is the total amount of JSON responses that discord has sent.
- getRestAction() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRestrictedGuilds() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- getRetrievedHistory() - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Returns a 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.core.exceptions.RateLimitedException
-
The back-off delay in milliseconds that should be respected before trying to query the
route
again - getRingingUsers() - Method in interface net.dv8tion.jda.client.entities.Call
- getRole() - Method in interface net.dv8tion.jda.core.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.core.events.role.GenericRoleEvent
-
The role for this event
- getRole() - Method in class net.dv8tion.jda.core.managers.RoleManager
-
The target
Role
for this manager - getRole(int) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Retrieves the
RoleData
for the provided index. - getRoleById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleById(long) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Retrieves the
Role
associated to the provided id. - getRoleById(String) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Retrieves the
Role
associated to the provided id. - getRoleCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this ShardManager instance. - getRoleCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedRoles
of this Guild. - getRoleCache() - Method in interface net.dv8tion.jda.core.JDA
-
Unified
SnowflakeCacheView
of all cachedRoles
visible to this JDA session. - getRolePermissionOverrides() - Method in interface net.dv8tion.jda.core.entities.Channel
- getRoles() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
All
Roles
this ShardManager instance can see. - getRoles() - Method in interface net.dv8tion.jda.core.entities.Emote
-
Roles this emote is active for
Learn More - getRoles() - Method in interface net.dv8tion.jda.core.entities.Guild
- getRoles() - Method in interface net.dv8tion.jda.core.entities.Member
-
The roles applied to this Member.
- getRoles() - Method in class net.dv8tion.jda.core.events.guild.member.GuildMemberRoleAddEvent
-
The list of roles that were added
- getRoles() - Method in class net.dv8tion.jda.core.events.guild.member.GuildMemberRoleRemoveEvent
-
The removed roles
- getRoles() - Method in interface net.dv8tion.jda.core.JDA
-
All
Roles
this JDA instance can see. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Retrieves all
Roles
visible to this ShardManager instance. - getRolesByName(String, boolean) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Retrieves all
Roles
visible to this JDA instance. - getRoute() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- getRpcApplicationState() - Method in interface net.dv8tion.jda.client.entities.Application
-
The rpc application state of this application.
- getScopes() - Method in interface net.dv8tion.jda.client.entities.AuthorizedApplication
-
List of authorization scopes of this Application.
- getSeconds() - Method in enum net.dv8tion.jda.core.entities.Guild.Timeout
-
The amount of seconds represented by this
Guild.Timeout
. - getSecret() - Method in interface net.dv8tion.jda.client.entities.Application
-
Returns the Application secret (Used for oAuth)
- getSelectedEntity() - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
The entity which is currently at the
selected position
- getSelectedPosition() - Method in class net.dv8tion.jda.core.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.core.entities.Guild
-
Gets the
Member
object of the currently logged in account in this guild. - getSelfUser() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
-
The
SelfUser
- getSelfUser() - Method in interface net.dv8tion.jda.core.JDA
-
Returns the currently logged in account represented by
SelfUser
. - getSelfUser() - Method in class net.dv8tion.jda.core.managers.AccountManager
-
The
SelfUser
that will be modified by this AccountManager. - getSendingHandler() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
The currently set
AudioSendHandler
. - getServiceCloseFrame() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
The close frame discord sent to us
- getSessionId() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Session ID for this presence.
- getSessionId() - Method in interface net.dv8tion.jda.core.entities.VoiceState
-
The Session-Id for this VoiceState
- getSettings() - Method in interface net.dv8tion.jda.client.JDAClient
- getShardById(int) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
JDA
instance which has the same id as the one provided. - getShardCache() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- getShardCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Unified
ShardCacheView
of all cachedJDA
bound to this ShardManager instance. - getShardForGuild(long, int) - Static method in class net.dv8tion.jda.core.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.core.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.core.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.core.JDA.ShardInfo
-
Represents the id of the shard of the current instance.
- getShardInfo() - Method in interface net.dv8tion.jda.core.JDA
-
The shard information used when creating this instance of JDA.
- getShardInfo() - Method in interface net.dv8tion.jda.core.utils.SessionController.SessionConnectNode
-
The
ShardInfo
for this request. - getShardManager() - Method in interface net.dv8tion.jda.bot.JDABot
-
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.bot.sharding.ShardManager
-
Gets all
JDA
instances bound to this ShardManager. - getShardsQueued() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- getShardsQueued() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Returns the amount of shards queued for (re)connecting.
- getShardsRunning() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Returns the amount of running shards.
- getShardsTotal() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- getShardsTotal() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Returns the amount of shards managed by this
ShardManager
. - getShardString() - Method in class net.dv8tion.jda.core.JDA.ShardInfo
-
Provides a shortcut method for easily printing shard info.
- getShardTotal() - Method in class net.dv8tion.jda.core.JDA.ShardInfo
-
The total amount of shards based on the value provided during JDA instance creation using
JDABuilder.useSharding(int, int)
. - getShutdownTime() - Method in class net.dv8tion.jda.core.events.ShutdownEvent
-
Time of WebSocket disconnect
- getSiteProvider() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The information on site from which the embed was generated from.
- getSize() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The size of the attachment in bytes.
- getSize() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
-
The current size of this party, or
0
if unset - getSizeAsLong() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
-
The current size of this party, or
0
if unset - getSlowmode() - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
The slowmode set for this TextChannel.
- getSmallImage() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Information on the small corner image displayed in the profile view
- getSocketAddress() - Method in interface net.dv8tion.jda.core.audio.factory.IPacketProvider
-
The connected socket address for this audio connection.
- getSpeakingMode() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - getSplashId() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The Discord hash-id of the splash image for this Guild.
- getSplashId() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
The splash image id of this guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.core.entities.Guild
-
The URL of the splash image for this Guild.
- getSplashUrl() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
Returns the splash image url of this guild.
- getStage() - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- getStart() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Epoch second timestamp of match start, or
0
of unset. - getStartTime() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
-
Shortcut for
Instant.ofEpochSecond(start)
- getState() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
The user's current party status
Example: "Looking to Play", "Playing Solo", "In a Group" - getStatus() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- getStatus() - Method in interface net.dv8tion.jda.core.JDA
-
Gets the current
Status
of the JDA instance. - getStatus() - Method in interface net.dv8tion.jda.core.managers.Presence
-
The current OnlineStatus for this session.
- getStatus(int) - Method in interface net.dv8tion.jda.bot.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.bot.sharding.ShardManager
-
Gets the current
Status
of all shards. - getStringBuilder() - Method in class net.dv8tion.jda.core.MessageBuilder
-
Returns the underlying
StringBuilder
. - getSyncId() - Method in class net.dv8tion.jda.core.entities.RichPresence
-
Sync ID for this presence.
- getSystemChannel() - Method in interface net.dv8tion.jda.core.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.core.audit.AuditLogEntry
-
The id for the target entity.
- getTargetIdLong() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The id for the target entity.
- getTargetType() - Method in enum net.dv8tion.jda.core.audit.ActionType
-
The expected
TargetType
for this ActionType - getTargetType() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The
TargetType
defining what kind of entity was targeted by this action. - getText() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Footer
-
The text in the footer
- getText() - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
-
Text which is displayed when hovering the image in the official client
- getTextChannel() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns the
TextChannel
that this message was sent in. - getTextChannel() - Method in class net.dv8tion.jda.core.entities.MessageReaction
- getTextChannel() - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
The
TextChannel
the Message was received in. - getTextChannel() - Method in class net.dv8tion.jda.core.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.bot.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(long) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelById(String) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
This returns the
TextChannel
which has the same id as the one provided. - getTextChannelCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedTextChannels
visible to this ShardManager instance. - getTextChannelCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedTextChannels
of this Guild. - getTextChannelCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedTextChannels
visible to this JDA session. - getTextChannels() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannels() - Method in interface net.dv8tion.jda.core.entities.Category
-
All
TextChannels
listed for this Category - getTextChannels() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets all
TextChannels
in thisGuild
. - getTextChannels() - Method in interface net.dv8tion.jda.core.JDA
-
An unmodifiable List of all
TextChannels
of all connectedGuilds
. - getTextChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
An unmodifiable list of all
TextChannels
that have the same name as the one provided. - getThumbnail() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The information about the
Thumbnail
image to be displayed with the embed. - getTimestamp() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The timestamp of the embed.
- getTimestamp() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
The time when the user started typing
- getTimestamps() - Method in class net.dv8tion.jda.core.entities.Game
-
Information on the match duration, start, and end.
- getTitle() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The title of the embed.
- getToken() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
The token used to login to JDA with this Bot
This can be used inJDABuilder.setToken(String)
- getToken() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The execute token for this Webhook.
- getToken() - Method in interface net.dv8tion.jda.core.JDA
-
The login token that is currently being used for Discord authentication.
- getTopic() - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
The topic set for this TextChannel.
- getType() - Method in interface net.dv8tion.jda.client.entities.Relationship
- getType() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The
ActionType
defining what auditable Action is referred to by this entry. - getType() - Method in interface net.dv8tion.jda.core.entities.Channel
-
The
ChannelType
for this Channel - getType() - Method in class net.dv8tion.jda.core.entities.Game
-
The type of
Game
. - getType() - Method in interface net.dv8tion.jda.core.entities.Invite.Channel
-
The
ChannelType
of this channel. - getType() - Method in interface net.dv8tion.jda.core.entities.Invite
-
The type of this invite.
- getType() - Method in interface net.dv8tion.jda.core.entities.Message
-
This specifies the
MessageType
of this Message. - getType() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
The
ChannelType
of this MessageChannel. - getType() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The
EmbedType
of this embed. - getType() - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
The
ChannelType
- getType() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
The
ChannelType
- getType() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.MessagePaginationAction
-
The
ChannelType
of the targetedMessageChannel
. - getUdpSocket() - Method in interface net.dv8tion.jda.core.audio.factory.IPacketProvider
-
The UDP connection for this audio connection.
- getUrl() - Method in class net.dv8tion.jda.core.entities.Game
-
The URL of the
Game
if the game is actually a Stream. - getUrl() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The url of the Attachment, most likely on the Discord servers.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.AuthorInfo
-
The url of the author.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The that was originally placed into chat that spawned this embed.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.ImageInfo
-
The url of the image.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Provider
-
The url of the provider.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Thumbnail
-
The web url of this thumbnail image.
- getUrl() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.VideoInfo
-
The url of the video.
- getUrl() - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
-
URL for this image, combination of
RichPresence.getApplicationId()
andRichPresence.Image.getKey()
- getUrl() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
The
POST
route for this Webhook. - getUrl() - Method in class net.dv8tion.jda.webhook.WebhookClient
-
The URL of this WebhookClient
- getURL() - Method in interface net.dv8tion.jda.core.entities.Invite
-
The invite URL for this invite in the format of:
"https://discord.gg/" + getCode()
- getUser() - Method in interface net.dv8tion.jda.client.entities.CallUser
- getUser() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- getUser() - Method in interface net.dv8tion.jda.client.entities.Relationship
- getUser() - Method in class net.dv8tion.jda.client.events.group.GroupUserJoinEvent
- getUser() - Method in class net.dv8tion.jda.client.events.group.GroupUserLeaveEvent
- getUser() - Method in class net.dv8tion.jda.client.events.message.group.react.GenericGroupMessageReactionEvent
- getUser() - Method in class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
- getUser() - Method in class net.dv8tion.jda.core.audio.UserAudio
-
The
User
that provided the audio data. - getUser() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The
User
responsible for this action. - getUser() - Method in class net.dv8tion.jda.core.entities.Guild.Ban
-
The
User
that was banned - getUser() - Method in interface net.dv8tion.jda.core.entities.ListedEmote
-
The user who created this Emote
- getUser() - Method in interface net.dv8tion.jda.core.entities.Member
-
The user wrapped by this Entity.
- getUser() - Method in interface net.dv8tion.jda.core.entities.PrivateChannel
-
The
User
that thisPrivateChannel
communicates with. - getUser() - Method in class net.dv8tion.jda.core.events.channel.priv.PrivateChannelCreateEvent
- getUser() - Method in class net.dv8tion.jda.core.events.channel.priv.PrivateChannelDeleteEvent
- getUser() - Method in class net.dv8tion.jda.core.events.guild.GuildBanEvent
-
The banned
User
Possibly fake user. - getUser() - Method in class net.dv8tion.jda.core.events.guild.GuildUnbanEvent
-
The
User
who was unbanned
Possibly fake user. - getUser() - Method in class net.dv8tion.jda.core.events.guild.member.GenericGuildMemberEvent
- getUser() - Method in class net.dv8tion.jda.core.events.message.guild.react.GenericGuildMessageReactionEvent
-
The reacting
User
- getUser() - Method in class net.dv8tion.jda.core.events.message.priv.react.GenericPrivateMessageReactionEvent
-
The reacting
User
- getUser() - Method in class net.dv8tion.jda.core.events.message.react.GenericMessageReactionEvent
-
The reacting
User
- getUser() - Method in class net.dv8tion.jda.core.events.user.GenericUserEvent
-
The related user instance
- getUser() - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
The user associated with the id
- getUserById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserById(long) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
User
which has the same id as the one provided. - getUserById(String) - Method in interface net.dv8tion.jda.core.JDA
-
This returns the
User
which has the same id as the one provided. - getUserCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedUsers
visible to this ShardManager instance. - getUserCache() - Method in interface net.dv8tion.jda.client.entities.Group
- getUserCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedUsers
visible to this JDA session. - getUserId() - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
The id of the user who will be added by this task
- getUserLimit() - Method in interface net.dv8tion.jda.core.entities.VoiceChannel
-
The maximum amount of
Members
that can be in thisVoiceChannel
at once. - getUsers() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
- getUsers() - Method in interface net.dv8tion.jda.client.entities.Group
- getUsers() - Method in class net.dv8tion.jda.core.audio.CombinedAudio
-
An unmodifiable list of all
Users
that provided audio that was combined. - getUsers() - Method in interface net.dv8tion.jda.core.entities.Invite.Group
-
The names of all users in this group.
- getUsers() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Retrieves the
Users
that already reacted with this MessageReaction. - getUsers() - Method in interface net.dv8tion.jda.core.JDA
- getUsers(int) - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Retrieves the
Users
that already reacted with this MessageReaction. - getUsersByName(String, boolean) - Method in interface net.dv8tion.jda.core.JDA
-
This unmodifiable returns all
Users
that have the same username as the one provided. - getUsersStartedRinging() - Method in class net.dv8tion.jda.client.events.call.update.CallUpdateRingingUsersEvent
- getUsersStoppedRinging() - Method in class net.dv8tion.jda.client.events.call.update.CallUpdateRingingUsersEvent
- getUses() - Method in interface net.dv8tion.jda.core.entities.Invite
-
How often this invite has been used.
- getValue() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Field
-
The value of the field
- getVanityUrl() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets the vanity url for this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns the verification-Level of this Guild.
- getVerificationLevel() - Method in interface net.dv8tion.jda.core.entities.Invite.Guild
-
Returns the
VerificationLevel
of this guild. - getVideoInfo() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
The information about the video which should be displayed as an embed.
- getVoiceChannelById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(long) - Method in class net.dv8tion.jda.core.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.bot.sharding.ShardManager
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in interface net.dv8tion.jda.core.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.core.JDA
-
This returns the
VoiceChannel
which has the same id as the one provided. - getVoiceChannelById(String) - Method in class net.dv8tion.jda.core.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.core.JDA
-
An unmodifiable list of all
VoiceChannels
that have the same name as the one provided. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this ShardManager instance. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Sorted
SnowflakeCacheView
of all cachedVoiceChannels
of this Guild. - getVoiceChannelCache() - Method in interface net.dv8tion.jda.core.JDA
-
SnowflakeCacheView
of all cachedVoiceChannels
visible to this JDA session. - getVoiceChannels() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in interface net.dv8tion.jda.core.entities.Category
-
All
VoiceChannels
listed for this Category - getVoiceChannels() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets all
VoiceChannels
in thisGuild
. - getVoiceChannels() - Method in interface net.dv8tion.jda.core.JDA
-
An unmodifiable list of all
VoiceChannels
of all connectedGuilds
. - getVoiceChannels() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
-
Gets the list of voice channels in the guild
- getVoiceChannelsByName(String, boolean) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Gets a list of all
VoiceChannels
in this Guild that have the same name as the one provided. - getVoiceState() - Method in interface net.dv8tion.jda.client.entities.CallUser
- getVoiceState() - Method in class net.dv8tion.jda.client.events.call.voice.GenericCallVoiceEvent
- getVoiceState() - Method in interface net.dv8tion.jda.core.entities.Member
-
The
VoiceState
of this Member. - getVoiceState() - Method in class net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
- getVoiceState() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
The current voice state of the member.
- getVoiceStates() - Method in interface net.dv8tion.jda.core.entities.Guild
- getWebhook() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
-
The
Webhook
that the target id of this audit-log entry refers to - getWebhook() - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
The target
Webhook
that will be modified by this manager - getWebhookById(long) - Method in interface net.dv8tion.jda.core.JDA
-
Retrieves a
Webhook
by its id. - getWebhookById(String) - Method in interface net.dv8tion.jda.core.JDA
-
Retrieves a
Webhook
by its id. - getWebhooks() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves all
Webhooks
for this Guild. - getWebhooks() - Method in interface net.dv8tion.jda.core.entities.TextChannel
-
Retrieves the
Webhooks
attached to this TextChannel. - getWebhooks() - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
The current list of receivers for this WebhookCluster instance.
- getWebSocketTrace() - Method in interface net.dv8tion.jda.core.JDA
-
Receives all valid
_trace
lines that have been sent to us in this session. - getWidget() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
-
Gets the widget that to which this member belongs
- getWidget() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
-
Gets the Widget to which this voice channel belongs
- getWidget() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
- getWidget(long) - Static method in class net.dv8tion.jda.core.utils.WidgetUtil
-
Makes a GET request to get the information for a Guild's widget.
- getWidget(String) - Static method in class net.dv8tion.jda.core.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.core.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.core.utils.WidgetUtil
-
Gets the banner image for the specified guild of the specified type.
- getWidth() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
The width of the Attachment if this Attachment is an image.
- getWidth() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.ImageInfo
-
The width of the image.
- getWidth() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Thumbnail
-
The width of the thumbnail image.
- getWidth() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.VideoInfo
-
The width of the video.
- GITHUB - Static variable in class net.dv8tion.jda.core.JDAInfo
- givePermissions(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - givePermissions(Permission...) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Adds the specified
Permissions
to the selectedRole
. - GRACEFUL_CLOSE - net.dv8tion.jda.core.requests.CloseCode
- grant(long) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Grants the provided
Permissions
bits to the selectedPermissionOverride
. - grant(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - grant(Permission...) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Grants the provided
Permissions
to the selectedPermissionOverride
. - Group - Interface in net.dv8tion.jda.client.entities
- GROUP - net.dv8tion.jda.core.entities.ChannelType
-
A
Group
. - GROUP - net.dv8tion.jda.core.entities.Invite.InviteType
- GroupJoinEvent - Class in net.dv8tion.jda.client.events.group
- GroupJoinEvent(JDA, long, Group) - Constructor for class net.dv8tion.jda.client.events.group.GroupJoinEvent
- GroupLeaveEvent - Class in net.dv8tion.jda.client.events.group
- GroupLeaveEvent(JDA, long, Group) - Constructor for class net.dv8tion.jda.client.events.group.GroupLeaveEvent
- GroupMessageDeleteEvent - Class in net.dv8tion.jda.client.events.message.group
- GroupMessageDeleteEvent(JDA, long, long, Group) - Constructor for class net.dv8tion.jda.client.events.message.group.GroupMessageDeleteEvent
- GroupMessageEmbedEvent - Class in net.dv8tion.jda.client.events.message.group
- GroupMessageEmbedEvent(JDA, long, long, Group, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.client.events.message.group.GroupMessageEmbedEvent
- GroupMessageReactionAddEvent - Class in net.dv8tion.jda.client.events.message.group.react
- GroupMessageReactionAddEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.client.events.message.group.react.GroupMessageReactionAddEvent
- GroupMessageReactionRemoveAllEvent - Class in net.dv8tion.jda.client.events.message.group.react
- GroupMessageReactionRemoveAllEvent(JDA, long, long, Group) - Constructor for class net.dv8tion.jda.client.events.message.group.react.GroupMessageReactionRemoveAllEvent
- GroupMessageReactionRemoveEvent - Class in net.dv8tion.jda.client.events.message.group.react
- GroupMessageReactionRemoveEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.client.events.message.group.react.GroupMessageReactionRemoveEvent
- GroupMessageReceivedEvent - Class in net.dv8tion.jda.client.events.message.group
- GroupMessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.client.events.message.group.GroupMessageReceivedEvent
- GroupMessageUpdateEvent - Class in net.dv8tion.jda.client.events.message.group
- GroupMessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.client.events.message.group.GroupMessageUpdateEvent
- GroupUpdateIconEvent - Class in net.dv8tion.jda.client.events.group.update
- GroupUpdateIconEvent(JDA, long, Group, String) - Constructor for class net.dv8tion.jda.client.events.group.update.GroupUpdateIconEvent
- GroupUpdateNameEvent - Class in net.dv8tion.jda.client.events.group.update
- GroupUpdateNameEvent(JDA, long, Group, String) - Constructor for class net.dv8tion.jda.client.events.group.update.GroupUpdateNameEvent
- GroupUpdateOwnerEvent - Class in net.dv8tion.jda.client.events.group.update
- GroupUpdateOwnerEvent(JDA, long, Group, User) - Constructor for class net.dv8tion.jda.client.events.group.update.GroupUpdateOwnerEvent
- GroupUserJoinEvent - Class in net.dv8tion.jda.client.events.group
- GroupUserJoinEvent(JDA, long, Group, User) - Constructor for class net.dv8tion.jda.client.events.group.GroupUserJoinEvent
- GroupUserLeaveEvent - Class in net.dv8tion.jda.client.events.group
- GroupUserLeaveEvent(JDA, long, Group, User) - Constructor for class net.dv8tion.jda.client.events.group.GroupUserLeaveEvent
- Guild - Interface in net.dv8tion.jda.core.entities
-
Represents a Discord
Guild
. - GUILD - net.dv8tion.jda.core.audit.TargetType
- GUILD - net.dv8tion.jda.core.entities.Invite.InviteType
- GUILD_AFK_CHANNEL - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Guild.getAfkChannel()
value represented by a VoiceChannel ID. - GUILD_AFK_TIMEOUT - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
AFKTimeout
of a Guild. - GUILD_EXPLICIT_CONTENT_FILTER - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Guild.getExplicitContentLevel()
of a Guild. - GUILD_ICON - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Icon ID
of a Guild. - GUILD_MEMBER_JOIN - net.dv8tion.jda.core.entities.MessageType
-
Specialized message used to welcome new members in a Guild
- GUILD_MFA_LEVEL - net.dv8tion.jda.core.audit.AuditLogKey
- GUILD_NAME - net.dv8tion.jda.core.audit.AuditLogKey
-
Change for the
Guild.getName()
value - GUILD_NOTIFICATION_LEVEL - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Guild.getDefaultNotificationLevel()
value. - GUILD_OWNER - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of User ID for the owner of a
Guild
- GUILD_REGION - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of region represented by a key.
- GUILD_SPLASH - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Splash ID
of a Guild. - GUILD_SYNC - Static variable in class net.dv8tion.jda.core.WebSocketCode
- GUILD_SYSTEM_CHANNEL - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Guild.getSystemChannel()
value represented by a TextChannel ID. - GUILD_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator updated
Guild
information. - GUILD_VERIFICATION_LEVEL - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Guild.getVerificationLevel()
value. - Guild.Ban - Class in net.dv8tion.jda.core.entities
-
Represents a Ban object.
- Guild.ExplicitContentLevel - Enum in net.dv8tion.jda.core.entities
-
The Explicit-Content-Filter Level of a Guild.
- Guild.MFALevel - Enum in net.dv8tion.jda.core.entities
-
Represents the Multifactor Authentication level required by the Guild.
- Guild.NotificationLevel - Enum in net.dv8tion.jda.core.entities
-
Represents the Notification-level of the Guild.
- Guild.Timeout - Enum in net.dv8tion.jda.core.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.core.entities
-
Represents the Verification-Level of the Guild.
- GuildAction - Class in net.dv8tion.jda.core.requests.restaction
-
RestAction
extension specifically designed to allow for the creation ofGuilds
. - GuildAction(JDA, String) - Constructor for class net.dv8tion.jda.core.requests.restaction.GuildAction
- GuildAction.ChannelData - Class in net.dv8tion.jda.core.requests.restaction
- GuildAction.RoleData - Class in net.dv8tion.jda.core.requests.restaction
- GuildAvailableEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that a
Guild
became available. - GuildAvailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GuildAvailableEvent
- GuildBanEvent - Class in net.dv8tion.jda.core.events.guild
- GuildBanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.core.events.guild.GuildBanEvent
- GuildController - Class in net.dv8tion.jda.core.managers
-
A controller that allows to utilize moderation permissions and create new channels and roles.
- GuildController(Guild) - Constructor for class net.dv8tion.jda.core.managers.GuildController
-
Creates a new GuildController instance for the specified Guild instance
- GuildJoinEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that a you joined a
Guild
. - GuildJoinEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GuildJoinEvent
- GuildLeaveEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that you left a
Guild
. - GuildLeaveEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GuildLeaveEvent
- GuildManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for a
Guild
. - GuildManager(Guild) - Constructor for class net.dv8tion.jda.core.managers.GuildManager
- GuildMemberJoinEvent - Class in net.dv8tion.jda.core.events.guild.member
- GuildMemberJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.member.GuildMemberJoinEvent
- GuildMemberLeaveEvent - Class in net.dv8tion.jda.core.events.guild.member
- GuildMemberLeaveEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.member.GuildMemberLeaveEvent
- GuildMemberNickChangeEvent - Class in net.dv8tion.jda.core.events.guild.member
- GuildMemberNickChangeEvent(JDA, long, Member, String, String) - Constructor for class net.dv8tion.jda.core.events.guild.member.GuildMemberNickChangeEvent
- GuildMemberRoleAddEvent - Class in net.dv8tion.jda.core.events.guild.member
- GuildMemberRoleAddEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.core.events.guild.member.GuildMemberRoleAddEvent
- GuildMemberRoleRemoveEvent - Class in net.dv8tion.jda.core.events.guild.member
- GuildMemberRoleRemoveEvent(JDA, long, Member, List<Role>) - Constructor for class net.dv8tion.jda.core.events.guild.member.GuildMemberRoleRemoveEvent
- GuildMessageDeleteEvent - Class in net.dv8tion.jda.core.events.message.guild
-
Indicates that a Guild Message was deleted.
- GuildMessageDeleteEvent(JDA, long, long, TextChannel) - Constructor for class net.dv8tion.jda.core.events.message.guild.GuildMessageDeleteEvent
- GuildMessageEmbedEvent - Class in net.dv8tion.jda.core.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.core.events.message.guild.GuildMessageEmbedEvent
- GuildMessageReactionAddEvent - Class in net.dv8tion.jda.core.events.message.guild.react
-
Indicates that a
MessageReaction
was added to a Message in a Guild - GuildMessageReactionAddEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.guild.react.GuildMessageReactionAddEvent
- GuildMessageReactionRemoveAllEvent - Class in net.dv8tion.jda.core.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.core.events.message.guild.react.GuildMessageReactionRemoveAllEvent
- GuildMessageReactionRemoveEvent - Class in net.dv8tion.jda.core.events.message.guild.react
-
Indicates that a
MessageReaction
was removed from a Message in a Guild - GuildMessageReactionRemoveEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.guild.react.GuildMessageReactionRemoveEvent
- GuildMessageReceivedEvent - Class in net.dv8tion.jda.core.events.message.guild
-
Indicates that a Message is received in a
TextChannel
. - GuildMessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent
- GuildMessageUpdateEvent - Class in net.dv8tion.jda.core.events.message.guild
-
Indicates that a Message was edited in a
TextChannel
. - GuildMessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.guild.GuildMessageUpdateEvent
- GuildReadyEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that a
Guild
finished setting up
This event is fired if a guild finished setting up during initial login phase. - GuildReadyEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GuildReadyEvent
- GuildUnavailableEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that a
Guild
became unavailable. - GuildUnavailableEvent(JDA, long, Guild) - Constructor for class net.dv8tion.jda.core.events.guild.GuildUnavailableEvent
- GuildUnavailableException - Exception in net.dv8tion.jda.core.exceptions
-
Indicates that a
Guild
is notavailable
Thrown when an operation requires a Guild to be available andGuild#isAvailable()
isfalse
- GuildUnavailableException() - Constructor for exception net.dv8tion.jda.core.exceptions.GuildUnavailableException
-
Creates a new GuildUnavailableException instance
- GuildUnavailableException(String) - Constructor for exception net.dv8tion.jda.core.exceptions.GuildUnavailableException
-
Creates a new GuildUnavailableException instance
- GuildUnbanEvent - Class in net.dv8tion.jda.core.events.guild
- GuildUnbanEvent(JDA, long, Guild, User) - Constructor for class net.dv8tion.jda.core.events.guild.GuildUnbanEvent
- GuildUpdateAfkChannelEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the afk-channel of a
Guild
changed. - GuildUpdateAfkChannelEvent(JDA, long, Guild, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkChannelEvent
- GuildUpdateAfkTimeoutEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the
AFK-Timeout
of aGuild
changed. - GuildUpdateAfkTimeoutEvent(JDA, long, Guild, Guild.Timeout) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkTimeoutEvent
- GuildUpdateExplicitContentLevelEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the
ExplicitContentLevel
of aGuild
changed. - GuildUpdateExplicitContentLevelEvent(JDA, long, Guild, Guild.ExplicitContentLevel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateExplicitContentLevelEvent
- GuildUpdateFeaturesEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the features of a
Guild
changed. - GuildUpdateFeaturesEvent(JDA, long, Guild, Set<String>) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateFeaturesEvent
- GuildUpdateIconEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the Icon of a
Guild
changed. - GuildUpdateIconEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
- GuildUpdateMFALevelEvent - Class in net.dv8tion.jda.core.events.guild.update
- GuildUpdateMFALevelEvent(JDA, long, Guild, Guild.MFALevel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateMFALevelEvent
- GuildUpdateNameEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the name of a
Guild
changed. - GuildUpdateNameEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateNameEvent
- GuildUpdateNotificationLevelEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the
NotificationLevel
of aGuild
changed. - GuildUpdateNotificationLevelEvent(JDA, long, Guild, Guild.NotificationLevel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateNotificationLevelEvent
- GuildUpdateOwnerEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the owner of a
Guild
changed. - GuildUpdateOwnerEvent(JDA, long, Guild, Member) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateOwnerEvent
- GuildUpdateRegionEvent - Class in net.dv8tion.jda.core.events.guild.update
- GuildUpdateRegionEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateRegionEvent
- GuildUpdateSplashEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the splash of a
Guild
changed. - GuildUpdateSplashEvent(JDA, long, Guild, String) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
- GuildUpdateSystemChannelEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the system channel of a
Guild
changed. - GuildUpdateSystemChannelEvent(JDA, long, Guild, TextChannel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateSystemChannelEvent
- GuildUpdateVerificationLevelEvent - Class in net.dv8tion.jda.core.events.guild.update
-
Indicates that the
VerificationLevel
of aGuild
changed. - GuildUpdateVerificationLevelEvent(JDA, long, Guild, Guild.VerificationLevel) - Constructor for class net.dv8tion.jda.core.events.guild.update.GuildUpdateVerificationLevelEvent
- GuildVoiceDeafenEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
was (un-)deafened. - GuildVoiceDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceDeafenEvent
- GuildVoiceGuildDeafenEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
was (un-)deafened by a moderator. - GuildVoiceGuildDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceGuildDeafenEvent
- GuildVoiceGuildMuteEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
was (un-)muted by a moderator. - GuildVoiceGuildMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceGuildMuteEvent
- GuildVoiceJoinEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
connected to aVoiceChannel
. - GuildVoiceJoinEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceJoinEvent
- GuildVoiceLeaveEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
disconnected from aVoiceChannel
. - GuildVoiceLeaveEvent(JDA, long, Member, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceLeaveEvent
- GuildVoiceMoveEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
moves betweenVoiceChannels
. - GuildVoiceMoveEvent(JDA, long, Member, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceMoveEvent
- GuildVoiceMuteEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
was (un-)muted. - GuildVoiceMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceMuteEvent
- GuildVoiceSelfDeafenEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
(un-)deafened itself. - GuildVoiceSelfDeafenEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceSelfDeafenEvent
- GuildVoiceSelfMuteEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
(un-)muted itself. - GuildVoiceSelfMuteEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceSelfMuteEvent
- GuildVoiceState - Interface in net.dv8tion.jda.core.entities
- GuildVoiceSuppressEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
was (un-)suppressed. - GuildVoiceSuppressEvent(JDA, long, Member) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceSuppressEvent
- GuildVoiceUpdateEvent - Class in net.dv8tion.jda.core.events.guild.voice
-
Indicates that a
Member
that was previously connected to aVoiceChannel
left the previously connected Channel. - GuildVoiceUpdateEvent(JDA, long, Member, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.guild.voice.GuildVoiceUpdateEvent
H
- handle(Event) - Method in class net.dv8tion.jda.core.hooks.AnnotatedEventManager
- handle(Event) - Method in interface net.dv8tion.jda.core.hooks.IEventManager
-
Handles the provided
Event
. - handle(Event) - Method in class net.dv8tion.jda.core.hooks.InterfacedEventManager
- handleCombinedAudio(CombinedAudio) - Method in interface net.dv8tion.jda.core.audio.AudioReceiveHandler
-
If
AudioReceiveHandler.canReceiveCombined()
returns true, JDA will provide aCombinedAudio
object to this method every 20 milliseconds. - handleUserAudio(UserAudio) - Method in interface net.dv8tion.jda.core.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)
. - hasBot() - Method in interface net.dv8tion.jda.client.entities.Application
-
Returns whether or not this Application has a bot-account assigned
- hashCode() - Method in class net.dv8tion.jda.core.audit.AuditLogChange
- hashCode() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
- hashCode() - Method in class net.dv8tion.jda.core.entities.Game
- hashCode() - Method in class net.dv8tion.jda.core.entities.RichPresence
- hashCode() - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
- hashCode() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
- hashCode() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
- hashCode() - Method in class net.dv8tion.jda.core.utils.cache.UpstreamReference
- hashCode() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
- hashCode() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
- hashCode() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
- hashCode() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
- hasLatestMessage() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Whether this MessageChannel contains a tracked most recent message or not.
- hasNext() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction.PaginationIterator
- hasPermission(Collection<Permission>) - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the Guild. - hasPermission(Channel, Collection<Permission>) - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the
Permissions
in the providedCollection<Permission>
in the specified Channel. - hasPermission(Channel, Permission...) - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the specified Channel. - hasPermission(Permission...) - Method in interface net.dv8tion.jda.core.entities.IPermissionHolder
-
Checks whether or not this PermissionHolder has the given
Permissions
in the Guild. - hasPrivateChannel() - Method in interface net.dv8tion.jda.core.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.core.entities.Emote
-
Deprecated.This will be replaced by
Emote.canProvideRoles()
- hasUser() - Method in interface net.dv8tion.jda.core.entities.ListedEmote
-
Whether this Emote has information about the creator.
- HEAD - net.dv8tion.jda.core.requests.Method
- HEARTBEAT - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- HEARTBEAT - Static variable in class net.dv8tion.jda.core.WebSocketCode
- HEARTBEAT_ACK - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- HEARTBEAT_ACK - Static variable in class net.dv8tion.jda.core.WebSocketCode
- HEARTBEAT_TIMEOUT - net.dv8tion.jda.core.audio.VoiceCode.Close
- HELLO - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- HELLO - Static variable in class net.dv8tion.jda.core.WebSocketCode
- here(Consumer<? super Throwable>) - Static method in exception net.dv8tion.jda.core.exceptions.ContextException
-
Creates a wrapping
Consumer
for the provided target. - HERE - net.dv8tion.jda.core.entities.Message.MentionType
-
Represents a mention for all active users, literal
@here
- herePrintingTrace() - Static method in exception net.dv8tion.jda.core.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.core.exceptions
- HierarchyException(String) - Constructor for exception net.dv8tion.jda.core.exceptions.HierarchyException
- HIGH - net.dv8tion.jda.core.entities.Guild.VerificationLevel
- HOIST - Static variable in class net.dv8tion.jda.core.managers.RoleManager
-
Used to reset the hoisted field
- HONG_KONG - net.dv8tion.jda.core.Region
- HttpException - Exception in net.dv8tion.jda.core.exceptions
- HttpException(String) - Constructor for exception net.dv8tion.jda.core.exceptions.HttpException
- HttpException(String, Throwable) - Constructor for exception net.dv8tion.jda.core.exceptions.HttpException
- HttpRequestEvent - Class in net.dv8tion.jda.core.events.http
-
Indicates that a
RestAction
has been executed. - HttpRequestEvent(Request<?>, Response) - Constructor for class net.dv8tion.jda.core.events.http.HttpRequestEvent
I
- IAudioSendFactory - Interface in net.dv8tion.jda.core.audio.factory
-
Factory interface for the creation of new
IAudioSendSystem
objects. - IAudioSendSystem - Interface in net.dv8tion.jda.core.audio.factory
-
Interface that acts as a UDP audio packet sending loop.
- Icon - Class in net.dv8tion.jda.core.entities
-
Icon containing a base64 encoded jpeg/png/gif/gifv image.
- ICON - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the icon field
- ICON - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the icon field
- id - Variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- ID - net.dv8tion.jda.core.audit.AuditLogKey
-
This is sometimes visible for
ActionTypes
which create a new entity. - ID - net.dv8tion.jda.core.audit.AuditLogOption
-
This is sometimes visible for
ActionTypes
which create a new entity. - IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.category.update.CategoryUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNSFWEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateParentEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateSlowmodeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateTopicEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.emote.update.EmoteUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.emote.update.EmoteUpdateRolesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateAfkTimeoutEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateExplicitContentLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateFeaturesEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateIconEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateMFALevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateNotificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateOwnerEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateRegionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSplashEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateSystemChannelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.guild.update.GuildUpdateVerificationLevelEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdateHoistedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdateMentionableEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateEmailEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateMFAEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateMobileEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateNitroEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdatePhoneNumberEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.self.SelfUpdateVerifiedEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.StatusChangeEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.user.update.UserUpdateDiscriminatorEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.user.update.UserUpdateGameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.user.update.UserUpdateNameEvent
- IDENTIFIER - Static variable in class net.dv8tion.jda.core.events.user.update.UserUpdateOnlineStatusEvent
- IDENTIFY - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- IDENTIFY - Static variable in class net.dv8tion.jda.core.WebSocketCode
- IDENTIFY_DELAY - Static variable in interface net.dv8tion.jda.core.utils.SessionController
-
The default delay (in seconds) to wait between running
SessionConnectNodes
- IDENTIFYING_SESSION - net.dv8tion.jda.core.JDA.Status
-
JDA has successfully connected it's websocket to Discord and is sending authentication
- IDLE - net.dv8tion.jda.core.OnlineStatus
- IEventManager - Interface in net.dv8tion.jda.core.hooks
-
An interface for JDA's EventManager system.
- IFakeable - Interface in net.dv8tion.jda.core.entities
-
Marks a fakeable entity.
- ignore() - Method in interface net.dv8tion.jda.client.entities.IncomingFriendRequest
- Image(String, String) - Constructor for class net.dv8tion.jda.core.entities.RichPresence.Image
- IMAGE - net.dv8tion.jda.core.entities.EmbedType
- ImageInfo(String, String, int, int) - Constructor for class net.dv8tion.jda.core.entities.MessageEmbed.ImageInfo
- IMentionable - Interface in net.dv8tion.jda.core.entities
-
Marks a mentionable entity.
- INCOMING_FRIEND_REQUEST - net.dv8tion.jda.client.entities.RelationshipType
- IncomingFriendRequest - Interface in net.dv8tion.jda.client.entities
- 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.core.MessageBuilder
-
Returns the index within this string of the first occurrence of the specified substring between the specified indices.
- INITIALIZED - net.dv8tion.jda.core.JDA.Status
-
JDA has finished setting up supporting systems and is ready to log in.
- INITIALIZING - net.dv8tion.jda.core.JDA.Status
-
JDA is currently setting up supporting systems like the AudioSystem.
- INPUT_FORMAT - Static variable in interface net.dv8tion.jda.core.audio.AudioSendHandler
-
Audio Input Format expected by JDA if
AudioSendHandler.isOpus()
returns false. - INSTANCE - net.dv8tion.jda.core.entities.ActivityFlag
- InsufficientPermissionException - Exception in net.dv8tion.jda.core.exceptions
- InsufficientPermissionException(Permission) - Constructor for exception net.dv8tion.jda.core.exceptions.InsufficientPermissionException
- InsufficientPermissionException(Permission, String) - Constructor for exception net.dv8tion.jda.core.exceptions.InsufficientPermissionException
- InterfacedEventManager - Class in net.dv8tion.jda.core.hooks
-
An
IEventManager
implementation that uses theEventListener
interface for event listeners. - InterfacedEventManager() - Constructor for class net.dv8tion.jda.core.hooks.InterfacedEventManager
- INTERNAL_SERVER_ERROR - net.dv8tion.jda.core.requests.CloseCode
- INVALID_ACCOUNT_TYPE - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_AUTHOR_EDIT - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_BULK_DELETE - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_BULK_DELETE_MESSAGE_AGE - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_DM_ACTION - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_MESSAGE_TARGET - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_MFA_LEVEL - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_OAUTH_STATE - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_PASSWORD - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_PIN - net.dv8tion.jda.core.requests.ErrorResponse
- INVALID_SEQ - net.dv8tion.jda.core.requests.CloseCode
- INVALID_SESSION - net.dv8tion.jda.core.audio.VoiceCode.Close
- INVALID_SHARD - net.dv8tion.jda.core.requests.CloseCode
- INVALID_TOKEN - net.dv8tion.jda.core.requests.ErrorResponse
- INVALIDATE_SESSION - Static variable in class net.dv8tion.jda.core.WebSocketCode
- INVISIBLE - net.dv8tion.jda.core.OnlineStatus
- Invite - Interface in net.dv8tion.jda.core.entities
-
Representation of a Discord Invite.
- INVITE - net.dv8tion.jda.core.audit.TargetType
- INVITE_CHANNEL - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.getChannel()
ID for the targetInvite
Use withJDA.getTextChannelById(String)
orJDA.getVoiceChannelById(String)
- INVITE_CODE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.getCode()
for the targetInvite
Use withInvite.resolve(net.dv8tion.jda.core.JDA, String)
Invite.resolve(JDA, String)} - INVITE_CREATE - net.dv8tion.jda.core.audit.ActionType
-
Someone has created an
Invite
. - INVITE_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has deleted an
Invite
. - INVITE_INVITER - net.dv8tion.jda.core.audit.AuditLogKey
- INVITE_MAX_AGE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.getMaxAge()
for the targetInvite
- INVITE_MAX_USES - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.getMaxUses()
for the targetInvite
- INVITE_PATTERN - Static variable in interface net.dv8tion.jda.core.entities.Message
-
Pattern used to find instant invites in messages.
- INVITE_TEMPORARY - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.isTemporary()
for the targetInvite
- INVITE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An
Invite
has been updated. - INVITE_USES - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Invite.getUses()
for the targetInvite
- Invite.Channel - Interface in net.dv8tion.jda.core.entities
-
POJO for the channel information provided by an invite.
- Invite.Group - Interface in net.dv8tion.jda.core.entities
-
POJO for the group information provided by an invite.
- Invite.Guild - Interface in net.dv8tion.jda.core.entities
-
POJO for the guild information provided by an invite.
- Invite.InviteType - Enum in net.dv8tion.jda.core.entities
-
Enum representing the type of an invite.
- InviteAction - Class in net.dv8tion.jda.core.requests.restaction
-
Invite
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createInvites
. - InviteAction(JDA, String) - Constructor for class net.dv8tion.jda.core.requests.restaction.InviteAction
- inVoiceChannel() - Method in interface net.dv8tion.jda.core.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.core.utils.WidgetUtil.Widget.VoiceState
-
Used to determine if the member is currently in a voice channel.
- IOConsumer<T> - Interface in net.dv8tion.jda.core.utils
- IOFunction<T,R> - Interface in net.dv8tion.jda.core.utils
- IOUtil - Class in net.dv8tion.jda.core.utils
- IOUtil() - Constructor for class net.dv8tion.jda.core.utils.IOUtil
- IPacketProvider - Interface in net.dv8tion.jda.core.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.core.entities
-
Marker for entities that hold Permissions within JDA
- isAllowEmailFriendRequest() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isAnimated() - Method in interface net.dv8tion.jda.core.entities.Emote
-
Whether or not this Emote is animated.
- isAttemptingToConnect() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
This can be used to find out if JDA is currently attempting to setup an audio connection.
- isAudioEnabled() - Method in interface net.dv8tion.jda.core.JDA
-
Used to determine whether the instance of JDA supports audio and has it enabled.
- isAudioSupported() - Static method in class net.dv8tion.jda.core.audio.AudioNatives
-
Whether the opus library is loaded or not.
- isAutoReconnect() - Method in interface net.dv8tion.jda.core.JDA
-
USed to determine whether or not autoReconnect is enabled for JDA.
- isAutoReconnect() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Whether audio connections from this AudioManager automatically reconnect
- isAvailable() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Returns whether or not this Guild is available.
- isAvailable() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
-
Shows whether or not the widget for a guild is available.
- isBot() - Method in interface net.dv8tion.jda.core.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.core.utils.WidgetUtil.Widget.Member
-
Returns whether or not the given member is a bot account
- isBotPublic() - Method in interface net.dv8tion.jda.bot.entities.ApplicationInfo
-
Whether the bot is public or not.
- isBotPublic() - Method in interface net.dv8tion.jda.client.entities.Application
-
Whether the bot is public or not.
- isBulkDeleteSplittingEnabled() - Method in interface net.dv8tion.jda.core.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 class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Whether retrieved entities are stored within an internal cache.
- isChannel() - Method in enum net.dv8tion.jda.core.Permission
-
Returns whether or not this Permission is present Channel level (configurable via
PermissionsOverrides
) - isClosedByServer() - Method in class net.dv8tion.jda.core.events.DisconnectEvent
-
Whether the connection was closed by discord
- isCompletedExceptionally() - Method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns
true
if this RequestFuture completed exceptionally, in any way. - isConnected() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
This can be used to find out if JDA currently has an active audio connection with a
VoiceChannel
. - isConvertEmoticons() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isDeafened() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns whether the
Member
is deafened, either by choiceVoiceState.isSelfDeafened()
or deafened by an adminGuildVoiceState.isGuildDeafened()
- isDeafened() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceDeafenEvent
-
Whether the member was deafened in this event.
- isDeafened() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened, either by an admin or self-deafened
- isDetectPlatformAccounts() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isDeveloperMode() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isEdit() - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Whether this MessageAction will be used to update an existing message.
- isEdited() - Method in interface net.dv8tion.jda.core.entities.Message
-
Returns whether or not this Message has been edited before.
- isEmote() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
-
Whether this is an
Emote
wrapper. - isEmpty() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- isEmpty() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- isEmpty() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Checks if the given embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
Whether this embed is empty.
- isEmpty() - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Whether this MessageHistory instance has retrieved any messages.
- isEmpty() - Method in class net.dv8tion.jda.core.MessageBuilder
-
Checks if the message contains any contend.
- isEmpty() - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Whether this MessageAction has no values set.
- isEmpty() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Whether the cache of this PaginationAction is empty.
- isEmpty() - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Whether the cache is empty
- isEmpty() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Whether this WebhookMessageBuilder contains any readable content.
- isEnableTTS() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isExpanded() - Method in interface net.dv8tion.jda.core.entities.Invite
-
Whether this Invite is expanded or not.
- isFake() - Method in interface net.dv8tion.jda.core.entities.IFakeable
-
Describes whether an entity is fake or not.
- isFile() - Method in class net.dv8tion.jda.webhook.WebhookMessage
-
Whether this message contains an attachment
- isFromType(ChannelType) - Method in interface net.dv8tion.jda.core.entities.Message
-
Used to determine if this Message was received from a
MessageChannel
of theChannelType
specified. - isFromType(ChannelType) - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Whether this Reaction was used in a
MessageChannel
of the specifiedChannelType
. - isFromType(ChannelType) - Method in class net.dv8tion.jda.core.events.message.GenericMessageEvent
-
Indicates whether the message is from the specified
ChannelType
- isFromType(ChannelType) - Method in class net.dv8tion.jda.core.events.user.UserTypingEvent
-
Whether the user started typing in a channel of the specified type.
- isGroupCall() - Method in interface net.dv8tion.jda.client.entities.Call
- isGroupCall() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- isGroupCall() - Method in class net.dv8tion.jda.client.events.call.GenericCallEvent
- isGuild() - Method in enum net.dv8tion.jda.core.entities.ChannelType
-
Whether this ChannelType is present for a Guild
Channel
- isGuild() - Method in enum net.dv8tion.jda.core.Permission
-
Returns whether or not this Permission is present at the Guild level (configurable via
Roles
) - isGuildDeafened() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns whether the
Member
got deafened by an Admin - isGuildDeafened() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceGuildDeafenEvent
-
Whether the member was deafened by a moderator in this event
- isGuildDeafened() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is deafened by an admin
- isGuildMuted() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns whether the
Member
got muted by an Admin - isGuildMuted() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceGuildMuteEvent
-
Whether the member was muted by a moderator in this event
- isGuildMuted() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted by an admin
- isHoisted() - Method in interface net.dv8tion.jda.core.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.core.managers.Presence
-
Whether the current session is marked as afk or not.
- isImage() - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
Whether or not this attachment is an Image.
- isInCall() - Method in interface net.dv8tion.jda.client.entities.CallVoiceState
- isInit() - Method in enum net.dv8tion.jda.core.JDA.Status
- isInitialized() - Static method in class net.dv8tion.jda.core.audio.AudioNatives
-
Whether this class was already initialized or not.
- isInline() - Method in class net.dv8tion.jda.core.entities.MessageEmbed.Field
-
If the field is in line.
- isInlineAttachmentMedia() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isInlineEmbedMedia() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isLogged() - Method in class net.dv8tion.jda.core.events.ExceptionEvent
-
Whether this Throwable was already printed using the JDA logging system
- isManaged() - Method in interface net.dv8tion.jda.core.entities.Emote
-
Whether this emote is managed.
- isManaged() - Method in interface net.dv8tion.jda.core.entities.Role
-
Whether this
Role
is managed by an integration - isManaged() - Method in class net.dv8tion.jda.core.events.emote.GenericEmoteEvent
-
Whether this emote is managed by an integration
- isMember() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aMember
or not - isMember(User) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Used to determine if the provided
User
is a member of this Guild. - isMemberOverride() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
Used to determine if this
PermissionOverride
relates to a specificMember
. - isMentionable() - Method in interface net.dv8tion.jda.core.entities.Role
-
Whether or not this Role is mentionable
- isMentioned(IMentionable, Message.MentionType...) - Method in interface net.dv8tion.jda.core.entities.Message
-
Checks if given
IMentionable
was mentioned in this message in any way (@User, @everyone, @here, @Role). - isMessageDisplayCompact() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isMfaEnabled() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
If true, this account is protected by Multi-Factor authorization.
- isMobile() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
Shows whether there has ever been a mobile app connected to this account.
- isMuted() - Method in interface net.dv8tion.jda.core.entities.GuildVoiceState
-
Returns whether the
Member
is muted, either by choiceVoiceState.isSelfMuted()
or deafened by an adminGuildVoiceState.isGuildMuted()
- isMuted() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceMuteEvent
-
Whether the member was muted in this event.
- isMuted() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is muted, either by an admin or self-muted
- isNitro() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
The Discord Nitro status of this account.
- ISnowflake - Interface in net.dv8tion.jda.core.entities
-
Marks a snowflake entity.
- isNSFW() - Method in interface net.dv8tion.jda.core.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
! - isOpus() - Method in interface net.dv8tion.jda.core.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.core.entities.Member
-
Checks whether this member is the owner of its related
Guild
. - isPassContext() - Static method in class net.dv8tion.jda.core.requests.RestAction
-
Whether RestActions will use
ContextException
automatically to keep track of the caller context. - isPinned() - Method in interface net.dv8tion.jda.core.entities.Message
-
Whether or not this Message has been pinned in its parent channel.
- isPublicRole() - Method in interface net.dv8tion.jda.core.entities.Role
- isRateLimit() - Method in class net.dv8tion.jda.core.events.http.HttpRequestEvent
- isReconnect() - Method in enum net.dv8tion.jda.core.requests.CloseCode
-
Whether the
WebSocketClient
will attempt to reconnect when this close code appears - isReconnect() - Method in interface net.dv8tion.jda.core.utils.SessionController.SessionConnectNode
-
Whether this node is reconnecting.
- isRelationshipUpdate() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserPresenceEvent
-
Whether this is a change for a friend presence.
- isRenderEmbeds() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isRich() - Method in class net.dv8tion.jda.core.entities.Game
- isRich() - Method in class net.dv8tion.jda.core.entities.RichPresence
- isRinging() - Method in interface net.dv8tion.jda.client.entities.CallUser
- isRole() - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Whether this Action will create a
PermissionOverride
for aRole
or not - isRoleOverride() - Method in interface net.dv8tion.jda.core.entities.PermissionOverride
-
Used to determine if this
PermissionOverride
relates to a specificRole
. - isSelf() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Whether the currently logged in account has reacted with this reaction
- isSelfDeafened() - Method in class net.dv8tion.jda.client.events.call.voice.CallVoiceSelfDeafenEvent
- isSelfDeafened() - Method in interface net.dv8tion.jda.core.entities.VoiceState
- isSelfDeafened() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceSelfDeafenEvent
-
Whether the member deafened itself in this event
- isSelfDeafened() - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Whether connections from this AudioManager are deafened.
- isSelfDeafened() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-deafened
- isSelfMuted() - Method in class net.dv8tion.jda.client.events.call.voice.CallVoiceSelfMuteEvent
- isSelfMuted() - Method in interface net.dv8tion.jda.core.entities.VoiceState
- isSelfMuted() - Method in class net.dv8tion.jda.core.events.guild.voice.GuildVoiceSelfMuteEvent
-
Whether the member muted itself in this event
- isSelfMuted() - Method in interface net.dv8tion.jda.core.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.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is self-muted
- isSendable(AccountType) - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
Whether this MessageEmbed can be used in a message.
- isServerError() - Method in exception net.dv8tion.jda.core.exceptions.ErrorResponseException
-
Whether this is an internal server error from discord (status 500)
- isShowCurrentGame() - Method in interface net.dv8tion.jda.client.entities.UserSettings
- isSuppressed() - Method in interface net.dv8tion.jda.core.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.core.events.guild.voice.GuildVoiceSuppressEvent
-
Whether the member was suppressed in this event
- isSuppressed() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
-
Whether the member is suppressed
- isTemporary() - Method in interface net.dv8tion.jda.core.entities.Invite
-
Whether this Invite grants only temporary access or not
- isText() - Method in enum net.dv8tion.jda.core.Permission
-
Whether this permission is specifically for
TextChannels
- isTTS() - Method in interface net.dv8tion.jda.core.entities.Message
-
Defines whether or not this Message triggers TTS (Text-To-Speech).
- isValidLength(AccountType) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Checks whether the constructed
MessageEmbed
is within the limits for the specifiedAccountType
Bot: 6000 Client: 2000 - isValidStreamingUrl(String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Checks if a given String is a valid Twitch url (ie, one that will display "Streaming" on the Discord client).
- isVerified() - Method in interface net.dv8tion.jda.core.entities.SelfUser
-
The status of this account's verification.
- isVip() - Method in enum net.dv8tion.jda.core.Region
-
Whether or not this Region is a VIP region.
- isVoice() - Method in enum net.dv8tion.jda.core.Permission
-
Whether this permission is specifically for
VoiceChannels
- isWebhookMessage() - Method in interface net.dv8tion.jda.core.entities.Message
- isWebhookMessage() - Method in class net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- isWebhookMessage() - Method in class net.dv8tion.jda.core.events.message.MessageReceivedEvent
-
Whether or not the Message received was sent via a Webhook.
- ITALICS - net.dv8tion.jda.core.MessageBuilder.Formatting
- iterator() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- iterator() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- iterator() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
PaginationIterator
that will iterate over all entities for this PaginationAction.
J
- JAPAN - net.dv8tion.jda.core.Region
- JDA - Interface in net.dv8tion.jda.core
-
The core of JDA.
- JDA.ShardInfo - Class in net.dv8tion.jda.core
-
Represents the information used to create this shard.
- JDA.Status - Enum in net.dv8tion.jda.core
-
Represents the connection status of JDA and its Main WebSocket.
- JDABot - Interface in net.dv8tion.jda.bot
- JDABuilder - Class in net.dv8tion.jda.core
-
Used to create new
JDA
instances. - JDABuilder() - Constructor for class net.dv8tion.jda.core.JDABuilder
-
Creates a completely empty JDABuilder.
- JDABuilder(String) - Constructor for class net.dv8tion.jda.core.JDABuilder
-
Creates a JDABuilder with the predefined token.
- JDABuilder(AccountType) - Constructor for class net.dv8tion.jda.core.JDABuilder
-
Creates a completely empty JDABuilder.
- JDAClient - Interface in net.dv8tion.jda.client
- JDAInfo - Class in net.dv8tion.jda.core
-
Contains information to this specific build of JDA.
- JDAInfo() - Constructor for class net.dv8tion.jda.core.JDAInfo
- join() - Method in interface net.dv8tion.jda.core.requests.RequestFuture
-
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.
- JOIN - net.dv8tion.jda.core.entities.ActivityFlag
- JOIN_REQUEST - net.dv8tion.jda.core.entities.ActivityFlag
K
- kick(String) - Method in class net.dv8tion.jda.core.managers.GuildController
- kick(String, String) - Method in class net.dv8tion.jda.core.managers.GuildController
- kick(Member) - Method in class net.dv8tion.jda.core.managers.GuildController
- kick(Member, String) - Method in class net.dv8tion.jda.core.managers.GuildController
- KICK - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has kicked a member.
- KICK_MEMBERS - net.dv8tion.jda.core.Permission
L
- lastIndexOf(CharSequence, int, int) - Method in class net.dv8tion.jda.core.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.core.entities.Guild
-
Used to leave a Guild.
- leaveGroup() - Method in interface net.dv8tion.jda.client.entities.Group
- length() - Method in class net.dv8tion.jda.core.EmbedBuilder
-
The overall length of the current EmbedBuilder in displayed characters.
- length() - Method in class net.dv8tion.jda.core.MessageBuilder
-
Returns the current length of the content that will be built into a
Message
whenMessageBuilder.build()
is called. - LIGHT - net.dv8tion.jda.core.utils.WidgetUtil.WidgetTheme
- limit(int) - Method in class net.dv8tion.jda.core.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.core.entities.MessageHistory.MessageRetrieveAction
-
Limit between 1-100 messages that should be retrieved.
- LINK - net.dv8tion.jda.core.entities.EmbedType
- ListedEmote - Interface in net.dv8tion.jda.core.entities
-
Represents an emote retrieved from
Guild.retrieveEmotes()
orGuild.retrieveEmoteById(long)
- ListenerAdapter - Class in net.dv8tion.jda.core.hooks
-
An abstract implementation of
EventListener
which dividesEvents
for you. - ListenerAdapter() - Constructor for class net.dv8tion.jda.core.hooks.ListenerAdapter
- listening(String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name.
- LISTENING - net.dv8tion.jda.core.entities.Game.GameType
-
Used to indicate that the
Game
should display asListening...
in the official client. - LOADING_SUBSYSTEMS - net.dv8tion.jda.core.JDA.Status
-
JDA is populating internal objects.
- locked(ReentrantLock, Runnable) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
- locked(ReentrantLock, Supplier<E>) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
- LOG - Static variable in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- LOG - Static variable in interface net.dv8tion.jda.core.managers.AudioManager
- LOG - Static variable in class net.dv8tion.jda.core.requests.RestAction
- LOG - Static variable in class net.dv8tion.jda.webhook.WebhookClient
- LOGGING_IN - net.dv8tion.jda.core.JDA.Status
-
JDA is currently attempting to log in.
- login() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- LONDON - net.dv8tion.jda.core.Region
- LOW - net.dv8tion.jda.core.entities.Guild.VerificationLevel
M
- MANAGE_CHANNEL - net.dv8tion.jda.core.Permission
- MANAGE_EMOTES - net.dv8tion.jda.core.Permission
- MANAGE_PERMISSIONS - net.dv8tion.jda.core.Permission
- MANAGE_ROLES - net.dv8tion.jda.core.Permission
- MANAGE_SERVER - net.dv8tion.jda.core.Permission
- MANAGE_WEBHOOKS - net.dv8tion.jda.core.Permission
- MAX_CONTENT_LENGTH - Static variable in interface net.dv8tion.jda.core.entities.Message
-
The maximum amount of characters sendable in one message.
- MAX_FILE_AMOUNT - Static variable in interface net.dv8tion.jda.core.entities.Message
-
The maximum amount of files sendable within a single message (10)
- MAX_FILE_SIZE - Static variable in interface net.dv8tion.jda.core.entities.Message
-
The maximum sendable file size (8 MiB)
- MAX_FILE_SIZE_NITRO - Static variable in interface net.dv8tion.jda.core.entities.Message
-
The maximum sendable file size for nitro (50 MiB)
- MAX_FILES - Static variable in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
The maximum amount of files that can be added to a message (10)
- MAX_FRIENDS - net.dv8tion.jda.core.requests.ErrorResponse
- MAX_GUILDS - net.dv8tion.jda.core.requests.ErrorResponse
- MAX_MESSAGE_PINS - net.dv8tion.jda.core.requests.ErrorResponse
- MAX_OAUTH_APPS - net.dv8tion.jda.core.requests.ErrorResponse
- MAX_ROLES_PER_GUILD - net.dv8tion.jda.core.requests.ErrorResponse
- MAX_USERS_PER_DM - net.dv8tion.jda.core.requests.ErrorResponse
- MEDIUM - net.dv8tion.jda.core.entities.Guild.VerificationLevel
- Member - Interface in net.dv8tion.jda.core.entities
-
Represents a Guild-specific User.
- MEMBER - net.dv8tion.jda.core.audit.TargetType
- MEMBER_CHUNK_REQUEST - Static variable in class net.dv8tion.jda.core.WebSocketCode
- MEMBER_DEAF - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_MUTE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
GuildVoiceState
of a Member. - MEMBER_NICK - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Member.getNickname()
value - MEMBER_ROLE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator updated the roles of a member.
- MEMBER_ROLES_ADD - net.dv8tion.jda.core.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.core.audit.AuditLogKey
-
Roles removed from
Member.getRoles()
with this action
Containing a list ofRole
IDs
Use withGuild.getRoleById(String)
- MEMBER_TYPE - Static variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- MEMBER_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
A
Member
was either updated by an administrator or the member updated itself. - MemberAction - Class in net.dv8tion.jda.core.requests.restaction
-
RestAction
extension specifically designed to allow bots to addUsers
to Guilds. - MemberAction(JDA, Guild, String, String) - Constructor for class net.dv8tion.jda.core.requests.restaction.MemberAction
- MemberCacheView - Interface in net.dv8tion.jda.core.utils.cache
- MEMBERS_REMOVED - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible option of
ActionType.PRUNE
describing the amount of kicked members for that prune. - MENTIONABLE - Static variable in class net.dv8tion.jda.core.managers.RoleManager
-
Used to reset the mentionable field
- MentionPaginationAction - Class in net.dv8tion.jda.client.requests.restaction.pagination
-
PaginationAction
that paginates the endpointRoute.Self.GET_RECENT_MENTIONS
. - MentionPaginationAction(Guild) - Constructor for class net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction
-
Creates a new MentionPaginationAction
This constructor effectively makes this target specifically only the recent mentions for the specifiedGuild
!
To get the global scope useMentionPaginationAction(net.dv8tion.jda.core.JDA)
instead. - MentionPaginationAction(JDA) - Constructor for class net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction
-
Creates a new MentionPaginationAction
This constructor effectively makes this target all recent mentions to get the recent mentions for a specificGuild
useMentionPaginationAction(net.dv8tion.jda.core.entities.Guild)
instead! - MENTIONS_ONLY - net.dv8tion.jda.core.entities.Guild.NotificationLevel
- mentionsEveryone() - Method in interface net.dv8tion.jda.core.entities.Message
-
Indicates if this Message mentions everyone using @everyone or @here.
- Message - Interface in net.dv8tion.jda.core.entities
-
Represents a Text message received from Discord.
- MESSAGE_ADD_REACTION - net.dv8tion.jda.core.Permission
- MESSAGE_ATTACH_FILES - net.dv8tion.jda.core.Permission
- MESSAGE_CREATE - net.dv8tion.jda.core.audit.ActionType
-
A message was created.
- MESSAGE_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has deleted one or more
Messages
. - MESSAGE_EMBED_LINKS - net.dv8tion.jda.core.Permission
- MESSAGE_EXT_EMOJI - net.dv8tion.jda.core.Permission
- MESSAGE_HISTORY - net.dv8tion.jda.core.Permission
- MESSAGE_MANAGE - net.dv8tion.jda.core.Permission
- MESSAGE_MENTION_EVERYONE - net.dv8tion.jda.core.Permission
- MESSAGE_READ - net.dv8tion.jda.core.Permission
- MESSAGE_TTS - net.dv8tion.jda.core.Permission
- MESSAGE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
A message was updated.
- MESSAGE_WRITE - net.dv8tion.jda.core.Permission
- Message.Attachment - Class in net.dv8tion.jda.core.entities
-
Represents a
Message
file attachment. - Message.MentionType - Enum in net.dv8tion.jda.core.entities
-
Mention formatting constants, useful for use with
Patterns
- MessageAction - Class in net.dv8tion.jda.core.requests.restaction
-
Extension of a default
RestAction
that allows setting message information before sending! - MessageAction(JDA, Route.CompiledRoute, MessageChannel) - Constructor for class net.dv8tion.jda.core.requests.restaction.MessageAction
- MessageAction(JDA, Route.CompiledRoute, MessageChannel, StringBuilder) - Constructor for class net.dv8tion.jda.core.requests.restaction.MessageAction
- MessageBuilder - Class in net.dv8tion.jda.core
-
Builder system used to build
Messages
. - MessageBuilder() - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder(CharSequence) - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder(EmbedBuilder) - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder(Message) - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder(MessageEmbed) - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder(MessageBuilder) - Constructor for class net.dv8tion.jda.core.MessageBuilder
- MessageBuilder.Formatting - Enum in net.dv8tion.jda.core
-
Holds the available formatting used in
MessageBuilder.append(java.lang.CharSequence, net.dv8tion.jda.core.MessageBuilder.Formatting...)
- MessageBuilder.SplitPolicy - Interface in net.dv8tion.jda.core
-
Interface to allow custom implementation of Splitting rules for
MessageBuilder.buildAll(SplitPolicy...)
. - MessageBuilder.SplitPolicy.CharSequenceSplitPolicy - Class in net.dv8tion.jda.core
-
Default
MessageBuilder.SplitPolicy
implementation. - MessageBulkDeleteEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a bulk deletion is executed in a
TextChannel
. - MessageBulkDeleteEvent(JDA, long, TextChannel, List<String>) - Constructor for class net.dv8tion.jda.core.events.message.MessageBulkDeleteEvent
- MessageChannel - Interface in net.dv8tion.jda.core.entities
-
Represents a Discord channel that can have
Messages
and files sent to it. - MessageDeleteEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a Message was deleted in a
MessageChannel
. - MessageDeleteEvent(JDA, long, long, MessageChannel) - Constructor for class net.dv8tion.jda.core.events.message.MessageDeleteEvent
- MessageEmbed - Class in net.dv8tion.jda.core.entities
-
Represents an embed displayed by Discord.
- MessageEmbed.AuthorInfo - Class in net.dv8tion.jda.core.entities
-
Class that represents the author of content, possibly including an icon that Discord proxies.
- MessageEmbed.Field - Class in net.dv8tion.jda.core.entities
-
Represents a field in an embed.
- MessageEmbed.Footer - Class in net.dv8tion.jda.core.entities
-
Class that represents a footer at the bottom of an embed
- MessageEmbed.ImageInfo - Class in net.dv8tion.jda.core.entities
-
Represents the information provided to embed an image.
- MessageEmbed.Provider - Class in net.dv8tion.jda.core.entities
-
Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
- MessageEmbed.Thumbnail - Class in net.dv8tion.jda.core.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.core.entities
-
Represents the information provided to embed a video.
- MessageEmbedEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a Message contains an
Embed
in aMessageChannel
. - MessageEmbedEvent(JDA, long, long, MessageChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.core.events.message.MessageEmbedEvent
- MessageHistory - Class in net.dv8tion.jda.core.entities
-
Represents an access point to the
Message
history of aMessageChannel
. - MessageHistory(MessageChannel) - Constructor for class net.dv8tion.jda.core.entities.MessageHistory
-
Creates a new MessageHistory object.
- MessageHistory.MessageRetrieveAction - Class in net.dv8tion.jda.core.entities
-
Constructs a MessageHistory object with initially retrieved Messages before or after a certain pivot message id.
- MessagePaginationAction - Class in net.dv8tion.jda.core.requests.restaction.pagination
-
PaginationAction
that paginates the endpointsRoute.Messages.GET_MESSAGE_HISTORY
. - MessagePaginationAction(MessageChannel) - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.MessagePaginationAction
- MessageReaction - Class in net.dv8tion.jda.core.entities
-
An object representing a single MessageReaction from Discord.
- MessageReaction(MessageChannel, MessageReaction.ReactionEmote, long, boolean, int) - Constructor for class net.dv8tion.jda.core.entities.MessageReaction
-
Creates a new MessageReaction instance
- MessageReaction.ReactionEmote - Class in net.dv8tion.jda.core.entities
-
Represents an Emoji/Emote of a MessageReaction
This is used to wrap both emojis and emotes - MessageReactionAddEvent - Class in net.dv8tion.jda.core.events.message.react
-
Indicates that a user added a reaction to a message
This includes unicode and custom emoji - MessageReactionAddEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.react.MessageReactionAddEvent
- MessageReactionRemoveAllEvent - Class in net.dv8tion.jda.core.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.core.events.message.react.MessageReactionRemoveAllEvent
- MessageReactionRemoveEvent - Class in net.dv8tion.jda.core.events.message.react
-
Indicates that a user removed the reaction on a message
- MessageReactionRemoveEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.react.MessageReactionRemoveEvent
- MessageReceivedEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a Message was received in a
MessageChannel
. - MessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.MessageReceivedEvent
- MessageType - Enum in net.dv8tion.jda.core.entities
-
Represents the different types of
Messages
that can be received from Discord. - MessageUpdateEvent - Class in net.dv8tion.jda.core.events.message
-
Indicates that a Message was edited in a
MessageChannel
. - MessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.MessageUpdateEvent
- Method - Enum in net.dv8tion.jda.core.requests
- MFA_LEVEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the mfa level field
- MFA_NOT_ENABLED - net.dv8tion.jda.core.requests.ErrorResponse
- MiscUtil - Class in net.dv8tion.jda.core.utils
- MiscUtil() - Constructor for class net.dv8tion.jda.core.utils.MiscUtil
- MISSING_ACCESS - net.dv8tion.jda.core.requests.ErrorResponse
- MISSING_PERMISSIONS - net.dv8tion.jda.core.requests.ErrorResponse
- modifyCategoryPositions() - Method in class net.dv8tion.jda.core.managers.GuildController
-
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 class net.dv8tion.jda.core.managers.GuildController
- modifyMemberRoles(Member, Collection<Role>, Collection<Role>) - Method in class net.dv8tion.jda.core.managers.GuildController
- modifyMemberRoles(Member, Role...) - Method in class net.dv8tion.jda.core.managers.GuildController
- modifyRolePositions() - Method in class net.dv8tion.jda.core.managers.GuildController
-
Modifies the positional order of
Guild.getRoles()
using a specificRestAction
extension to allow moving Rolesup
/down
orto
a specific position. - modifyRolePositions(boolean) - Method in class net.dv8tion.jda.core.managers.GuildController
-
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.core.entities.Category
-
Modifies the positional order of this Category's nested
TextChannels
. - modifyTextChannelPositions() - Method in class net.dv8tion.jda.core.managers.GuildController
-
Modifies the positional order of
Guild.getTextChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyTextChannelPositions(Category) - Method in class net.dv8tion.jda.core.managers.GuildController
-
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.core.entities.Category
-
Modifies the positional order of this Category's nested
VoiceChannels
. - modifyVoiceChannelPositions() - Method in class net.dv8tion.jda.core.managers.GuildController
-
Modifies the positional order of
Guild.getVoiceChannels()
using a specificRestAction
extension to allow moving Channelsup
/down
orto
a specific position. - modifyVoiceChannelPositions(Category) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Modifies the positional order of
Category#getVoiceChannels()
using an extension ofChannelOrderAction
specialized for ordering the nestedVoiceChannels
of thisCategory
. - moveDown(int) - Method in class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Moves the currently selected entity to the specified position (0 based index).
- moveUp(int) - Method in class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.managers.GuildController
- multicast(Predicate<WebhookClient>, WebhookMessage) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sends the provided
WebhookMessage
to allWebhookClients
that meet the specified filter.
N
- NAME - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.client.managers.EmoteManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.core.managers.AccountManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.core.managers.RoleManager
-
Used to reset the name field
- NAME - Static variable in class net.dv8tion.jda.core.managers.WebhookManager
-
Used to reset the name field
- net.dv8tion.jda.annotations - package net.dv8tion.jda.annotations
- net.dv8tion.jda.bot - package net.dv8tion.jda.bot
- net.dv8tion.jda.bot.entities - package net.dv8tion.jda.bot.entities
- net.dv8tion.jda.bot.sharding - package net.dv8tion.jda.bot.sharding
- net.dv8tion.jda.bot.utils.cache - package net.dv8tion.jda.bot.utils.cache
- net.dv8tion.jda.bot.utils.cache.impl - package net.dv8tion.jda.bot.utils.cache.impl
- net.dv8tion.jda.client - package net.dv8tion.jda.client
- net.dv8tion.jda.client.entities - package net.dv8tion.jda.client.entities
- net.dv8tion.jda.client.events.call - package net.dv8tion.jda.client.events.call
- net.dv8tion.jda.client.events.call.update - package net.dv8tion.jda.client.events.call.update
- net.dv8tion.jda.client.events.call.voice - package net.dv8tion.jda.client.events.call.voice
- net.dv8tion.jda.client.events.group - package net.dv8tion.jda.client.events.group
- net.dv8tion.jda.client.events.group.update - package net.dv8tion.jda.client.events.group.update
- net.dv8tion.jda.client.events.message.group - package net.dv8tion.jda.client.events.message.group
- net.dv8tion.jda.client.events.message.group.react - package net.dv8tion.jda.client.events.message.group.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.client.events.relationship - package net.dv8tion.jda.client.events.relationship
- net.dv8tion.jda.client.exceptions - package net.dv8tion.jda.client.exceptions
- net.dv8tion.jda.client.managers - package net.dv8tion.jda.client.managers
- net.dv8tion.jda.client.requests.restaction - package net.dv8tion.jda.client.requests.restaction
- net.dv8tion.jda.client.requests.restaction.pagination - package net.dv8tion.jda.client.requests.restaction.pagination
- net.dv8tion.jda.core - package net.dv8tion.jda.core
-
The core JDA features that are both available for BOT and CLIENT applications.
- net.dv8tion.jda.core.audio - package net.dv8tion.jda.core.audio
-
The audio API for Discord.
- net.dv8tion.jda.core.audio.factory - package net.dv8tion.jda.core.audio.factory
-
Audio send factories that can be implemented to generate custom audio send packages to be provided to Discord.
- net.dv8tion.jda.core.audio.hooks - package net.dv8tion.jda.core.audio.hooks
-
Listeners that can be used to monitor the
ConnectionStatus
or ping of an existingAudioConnection
. - net.dv8tion.jda.core.audit - package net.dv8tion.jda.core.audit
-
Implementation for
AuditLogEntry
and all utilities needed for its structure. - net.dv8tion.jda.core.entities - package net.dv8tion.jda.core.entities
-
Entities representing Discord API objects like Users and Channels
- net.dv8tion.jda.core.events - package net.dv8tion.jda.core.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.core.events.channel.category - package net.dv8tion.jda.core.events.channel.category
-
Events for
Categories
- net.dv8tion.jda.core.events.channel.category.update - package net.dv8tion.jda.core.events.channel.category.update
-
Update events for
Categories
- net.dv8tion.jda.core.events.channel.priv - package net.dv8tion.jda.core.events.channel.priv
- net.dv8tion.jda.core.events.channel.text - package net.dv8tion.jda.core.events.channel.text
- net.dv8tion.jda.core.events.channel.text.update - package net.dv8tion.jda.core.events.channel.text.update
-
Events indicating that a
TextChannel
has been modified. - net.dv8tion.jda.core.events.channel.voice - package net.dv8tion.jda.core.events.channel.voice
- net.dv8tion.jda.core.events.channel.voice.update - package net.dv8tion.jda.core.events.channel.voice.update
-
Events indicating that a
VoiceChannel
has been modified. - net.dv8tion.jda.core.events.emote - package net.dv8tion.jda.core.events.emote
-
Events that track
added emotes
andremoved emotes
. - net.dv8tion.jda.core.events.emote.update - package net.dv8tion.jda.core.events.emote.update
-
Events that track updates for existing
Emotes
- net.dv8tion.jda.core.events.guild - package net.dv8tion.jda.core.events.guild
-
Events for the state of
Guilds
such as whether the current logged in account joins/leaves a Guild. - net.dv8tion.jda.core.events.guild.member - package net.dv8tion.jda.core.events.guild.member
- net.dv8tion.jda.core.events.guild.update - package net.dv8tion.jda.core.events.guild.update
-
Events indicating that a setting for a
Guild
has been updated. - net.dv8tion.jda.core.events.guild.voice - package net.dv8tion.jda.core.events.guild.voice
- net.dv8tion.jda.core.events.http - package net.dv8tion.jda.core.events.http
- net.dv8tion.jda.core.events.message - package net.dv8tion.jda.core.events.message
-
Events that are fired for
Messages
in aMessageChannel
. - net.dv8tion.jda.core.events.message.guild - package net.dv8tion.jda.core.events.message.guild
- net.dv8tion.jda.core.events.message.guild.react - package net.dv8tion.jda.core.events.message.guild.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.core.events.message.priv - package net.dv8tion.jda.core.events.message.priv
-
Events for
Messages
inPrivateChannels
- net.dv8tion.jda.core.events.message.priv.react - package net.dv8tion.jda.core.events.message.priv.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.core.events.message.react - package net.dv8tion.jda.core.events.message.react
-
Events indicating the
MessageReactions
of aMessage
changed. - net.dv8tion.jda.core.events.role - package net.dv8tion.jda.core.events.role
-
Events that indicate that a
Role
is either created or deleted. - net.dv8tion.jda.core.events.role.update - package net.dv8tion.jda.core.events.role.update
-
Events that indicate that a
Role
has been updated with a new setting. - net.dv8tion.jda.core.events.self - package net.dv8tion.jda.core.events.self
-
Events indicating that one of the currently logged in account's settings has been modified.
- net.dv8tion.jda.core.events.user - package net.dv8tion.jda.core.events.user
-
Events that indicate that a
User
presence has been updated, such as its avatar or game. - net.dv8tion.jda.core.events.user.update - package net.dv8tion.jda.core.events.user.update
- net.dv8tion.jda.core.exceptions - package net.dv8tion.jda.core.exceptions
-
All custom exceptions of the JDA library
- net.dv8tion.jda.core.hooks - package net.dv8tion.jda.core.hooks
-
EventManager and EventListener implementations and interfaces.
- net.dv8tion.jda.core.managers - package net.dv8tion.jda.core.managers
-
Managers that allow to modify (PATCH) existing entities with either an update task or atomic setters.
- net.dv8tion.jda.core.requests - package net.dv8tion.jda.core.requests
-
Discord API connection internals.
- net.dv8tion.jda.core.requests.restaction - package net.dv8tion.jda.core.requests.restaction
-
Extensions of
RestAction
that can be used to operate on a specific case before executing the request. - net.dv8tion.jda.core.requests.restaction.order - package net.dv8tion.jda.core.requests.restaction.order
-
RestAction
extensions specifically designed to change the order of discord entities. - net.dv8tion.jda.core.requests.restaction.pagination - package net.dv8tion.jda.core.requests.restaction.pagination
-
Extensions of
RestAction
that allow to access paginated discord endpoints likeRoute.Messages.GET_REACTION_USERS
ThePaginationAction
is designed to work as anIterable
of the specified endpoint. - net.dv8tion.jda.core.utils - package net.dv8tion.jda.core.utils
-
Package which contains all utilities for the JDA library.
- net.dv8tion.jda.core.utils.cache - package net.dv8tion.jda.core.utils.cache
-
Implementations of
CacheView
allowing read-only access to internal JDA cache. - net.dv8tion.jda.webhook - package net.dv8tion.jda.webhook
-
Webhook services that can be used to send messages without a discord account.
- newBuilder(long, String) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Creates a new
WebhookClientBuilder
with the defined default settings of this cluster. - newBuilder(Webhook) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Creates a new
WebhookClientBuilder
with the defined default settings of this cluster. - newChannel(ChannelType, String) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Creates a new
ChannelData
instance and adds it to this GuildAction. - newClient() - Method in interface net.dv8tion.jda.core.entities.Webhook
-
Creates a new
WebhookClientBuilder
instance for this Webhook instance. - NEWLINE - Static variable in interface net.dv8tion.jda.core.MessageBuilder.SplitPolicy
-
Splits on newline chars
`\n`
. - newLongMap() - Static method in class net.dv8tion.jda.core.utils.MiscUtil
-
Generates a new thread-safe
TLongObjectMap
- newRole() - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Creates and add a new
RoleData
object representing a Role for the resulting Guild. - newThread(Runnable) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder.DefaultWebhookThreadFactory
- next() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction.PaginationIterator
- nextMessage(int, MessageBuilder) - Method in class net.dv8tion.jda.core.MessageBuilder.SplitPolicy.CharSequenceSplitPolicy
- nextMessage(int, MessageBuilder) - Method in interface net.dv8tion.jda.core.MessageBuilder.SplitPolicy
-
Calculates the endIndex for the next
Message
. - NICKNAME_CHANGE - net.dv8tion.jda.core.Permission
- NICKNAME_MANAGE - net.dv8tion.jda.core.Permission
- NO_RELATIONSHIP - net.dv8tion.jda.client.entities.RelationshipType
- NO_ROLE - net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
- nonce(String) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Sets the validation nonce for the outgoing Message
- NONE - net.dv8tion.jda.core.entities.Guild.MFALevel
- NONE - net.dv8tion.jda.core.entities.Guild.VerificationLevel
- NOT_AUTHENTICATED - net.dv8tion.jda.core.audio.VoiceCode.Close
- NOT_AUTHENTICATED - net.dv8tion.jda.core.requests.CloseCode
- NOT_CONNECTED - net.dv8tion.jda.core.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.core.requests.ErrorResponse
- NOTIFICATION_LEVEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the default notification level field
- NSFW - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the nsfw field
O
- OAUTH_NOT_BOT - net.dv8tion.jda.core.requests.ErrorResponse
- of(Game.GameType, String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name and url.
- of(Game.GameType, String, String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name and url.
- OFF - net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
- OFFLINE - net.dv8tion.jda.core.OnlineStatus
- onCallCreate(CallCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallDelete(CallDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallUpdateRegion(CallUpdateRegionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallUpdateRingingUsers(CallUpdateRingingUsersEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallVoiceJoin(CallVoiceJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallVoiceLeave(CallVoiceLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallVoiceSelfDeafen(CallVoiceSelfDeafenEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCallVoiceSelfMute(CallVoiceSelfMuteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCategoryCreate(CategoryCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCategoryDelete(CategoryDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCategoryUpdateName(CategoryUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCategoryUpdatePermissions(CategoryUpdatePermissionsEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onCategoryUpdatePosition(CategoryUpdatePositionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onChars(CharSequence, boolean) - Static method in interface net.dv8tion.jda.core.MessageBuilder.SplitPolicy
-
Creates a new
MessageBuilder.SplitPolicy
splitting on the specified chars. - onConnectionError(ConnectionStatus) - Method in interface net.dv8tion.jda.core.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.core.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.core.hooks.ListenerAdapter
- onEmoteAdded(EmoteAddedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onEmoteRemoved(EmoteRemovedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onEmoteUpdateName(EmoteUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onEmoteUpdateRoles(EmoteUpdateRolesEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onEvent(Event) - Method in interface net.dv8tion.jda.core.hooks.EventListener
-
Handles any
Event
. - onEvent(Event) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onException(ExceptionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendAdded(FriendAddedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendRemoved(FriendRemovedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendRequestCanceled(FriendRequestCanceledEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendRequestIgnored(FriendRequestIgnoredEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendRequestReceived(FriendRequestReceivedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onFriendRequestSent(FriendRequestSentEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericCall(GenericCallEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericCallUpdate(GenericCallUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericCallVoice(GenericCallVoiceEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericCategory(GenericCategoryEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericCategoryUpdate(GenericCategoryUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericEmote(GenericEmoteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericEmoteUpdate(GenericEmoteUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericEvent(Event) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGroup(GenericGroupEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGroupMessage(GenericGroupMessageEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGroupMessageReaction(GenericGroupMessageReactionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGroupUpdate(GenericGroupUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuild(GenericGuildEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuildMember(GenericGuildMemberEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuildMessage(GenericGuildMessageEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuildMessageReaction(GenericGuildMessageReactionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuildUpdate(GenericGuildUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericGuildVoice(GenericGuildVoiceEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericMessage(GenericMessageEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericMessageReaction(GenericMessageReactionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericPrivateMessage(GenericPrivateMessageEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericPrivateMessageReaction(GenericPrivateMessageReactionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericRelationship(GenericRelationshipEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericRelationshipAdd(GenericRelationshipAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericRelationshipRemove(GenericRelationshipRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericRole(GenericRoleEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericRoleUpdate(GenericRoleUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericSelfUpdate(GenericSelfUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericTextChannel(GenericTextChannelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericTextChannelUpdate(GenericTextChannelUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericUpdate(UpdateEvent<?, ?>) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericUser(GenericUserEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericUserPresence(GenericUserPresenceEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericVoiceChannel(GenericVoiceChannelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGenericVoiceChannelUpdate(GenericVoiceChannelUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupJoin(GroupJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupLeave(GroupLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageDelete(GroupMessageDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageEmbed(GroupMessageEmbedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageReactionAdd(GroupMessageReactionAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageReactionRemove(GroupMessageReactionRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageReactionRemoveAll(GroupMessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageReceived(GroupMessageReceivedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupMessageUpdate(GroupMessageUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupUpdateIcon(GroupUpdateIconEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupUpdateName(GroupUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupUpdateOwner(GroupUpdateOwnerEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupUserJoin(GroupUserJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGroupUserLeave(GroupUserLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildAvailable(GuildAvailableEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildBan(GuildBanEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildJoin(GuildJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildLeave(GuildLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMemberJoin(GuildMemberJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMemberLeave(GuildMemberLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMemberNickChange(GuildMemberNickChangeEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMemberRoleAdd(GuildMemberRoleAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMemberRoleRemove(GuildMemberRoleRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageDelete(GuildMessageDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageEmbed(GuildMessageEmbedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageReactionAdd(GuildMessageReactionAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageReactionRemove(GuildMessageReactionRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageReactionRemoveAll(GuildMessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageReceived(GuildMessageReceivedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildMessageUpdate(GuildMessageUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildReady(GuildReadyEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUnavailable(GuildUnavailableEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUnban(GuildUnbanEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateAfkChannel(GuildUpdateAfkChannelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateAfkTimeout(GuildUpdateAfkTimeoutEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateExplicitContentLevel(GuildUpdateExplicitContentLevelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateFeatures(GuildUpdateFeaturesEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateIcon(GuildUpdateIconEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateMFALevel(GuildUpdateMFALevelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateName(GuildUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateNotificationLevel(GuildUpdateNotificationLevelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateOwner(GuildUpdateOwnerEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateRegion(GuildUpdateRegionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateSplash(GuildUpdateSplashEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateSystemChannel(GuildUpdateSystemChannelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildUpdateVerificationLevel(GuildUpdateVerificationLevelEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceDeafen(GuildVoiceDeafenEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceGuildDeafen(GuildVoiceGuildDeafenEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceGuildMute(GuildVoiceGuildMuteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceJoin(GuildVoiceJoinEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceLeave(GuildVoiceLeaveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceMove(GuildVoiceMoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceMute(GuildVoiceMuteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceSelfDeafen(GuildVoiceSelfDeafenEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceSelfMute(GuildVoiceSelfMuteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceSuppress(GuildVoiceSuppressEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onGuildVoiceUpdate(GuildVoiceUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onHttpRequest(HttpRequestEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- ONLINE - net.dv8tion.jda.core.OnlineStatus
- OnlineStatus - Enum in net.dv8tion.jda.core
- ONLY_BOTS_ALLOWED - net.dv8tion.jda.core.requests.ErrorResponse
- onMessageBulkDelete(MessageBulkDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageDelete(MessageDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageEmbed(MessageEmbedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageReactionAdd(MessageReactionAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageReactionRemove(MessageReactionRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageReactionRemoveAll(MessageReactionRemoveAllEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageReceived(MessageReceivedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onMessageUpdate(MessageUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPing(long) - Method in interface net.dv8tion.jda.core.audio.hooks.ConnectionListener
-
Called when JDA send a heartbeat packet to Discord and Discord sends an acknowledgement.
- onPrivateChannelCreate(PrivateChannelCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateChannelDelete(PrivateChannelDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageDelete(PrivateMessageDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageEmbed(PrivateMessageEmbedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageReactionAdd(PrivateMessageReactionAddEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageReactionRemove(PrivateMessageReactionRemoveEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageReceived(PrivateMessageReceivedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onPrivateMessageUpdate(PrivateMessageUpdateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onReady(ReadyEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onReconnect(ReconnectedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onResume(ResumedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleCreate(RoleCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleDelete(RoleDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdateColor(RoleUpdateColorEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdateHoisted(RoleUpdateHoistedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdateMentionable(RoleUpdateMentionableEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdateName(RoleUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdatePermissions(RoleUpdatePermissionsEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onRoleUpdatePosition(RoleUpdatePositionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onSelfUpdateAvatar(SelfUpdateAvatarEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onSelfUpdateEmail(SelfUpdateEmailEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onSelfUpdateMFA(SelfUpdateMFAEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onSelfUpdateName(SelfUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onSelfUpdateVerified(SelfUpdateVerifiedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onShutdown(ShutdownEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onStatusChange(ConnectionStatus) - Method in interface net.dv8tion.jda.core.audio.hooks.ConnectionListener
-
Called when the status of the audio channel changes.
- onStatusChange(StatusChangeEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelCreate(TextChannelCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelDelete(TextChannelDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdateName(TextChannelUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdateNSFW(TextChannelUpdateNSFWEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdateParent(TextChannelUpdateParentEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdatePermissions(TextChannelUpdatePermissionsEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdatePosition(TextChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdateSlowmode(TextChannelUpdateSlowmodeEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onTextChannelUpdateTopic(TextChannelUpdateTopicEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUnavailableGuildJoined(UnavailableGuildJoinedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserBlocked(UserBlockedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserSpeaking(User, boolean) - Method in interface net.dv8tion.jda.core.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserSpeaking(User, boolean, boolean) - Method in interface net.dv8tion.jda.core.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.core.audio.hooks.ConnectionListener
-
This method is an easy way to detect if a user is talking.
- onUserTyping(UserTypingEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUnblocked(UserUnblockedEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUpdateAvatar(UserUpdateAvatarEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUpdateDiscriminator(UserUpdateDiscriminatorEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUpdateGame(UserUpdateGameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUpdateName(UserUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onUserUpdateOnlineStatus(UserUpdateOnlineStatusEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelCreate(VoiceChannelCreateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelDelete(VoiceChannelDeleteEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdateBitrate(VoiceChannelUpdateBitrateEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdateName(VoiceChannelUpdateNameEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdateParent(VoiceChannelUpdateParentEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdatePermissions(VoiceChannelUpdatePermissionsEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdatePosition(VoiceChannelUpdatePositionEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- onVoiceChannelUpdateUserLimit(VoiceChannelUpdateUserLimitEvent) - Method in class net.dv8tion.jda.core.hooks.ListenerAdapter
- openAudioConnection(VoiceChannel) - Method in interface net.dv8tion.jda.core.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.core.entities.User
-
Opens a
PrivateChannel
with this User. - OPTIONS - net.dv8tion.jda.core.requests.Method
- OrderAction<T,M extends OrderAction<T,M>> - Class in net.dv8tion.jda.core.requests.restaction.order
-
Extension of
RestAction
- Type: Void that allows to modify the order of entities provided as anArrayList
. - OrderAction(JDA, boolean, Route.CompiledRoute) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Creates a new OrderAction instance
- OrderAction(JDA, Route.CompiledRoute) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Creates a new OrderAction instance
- OUTGOING_FRIEND_REQUEST - net.dv8tion.jda.client.entities.RelationshipType
- OutgoingFriendRequest - Interface in net.dv8tion.jda.client.entities
- OUTPUT_FORMAT - Static variable in interface net.dv8tion.jda.core.audio.AudioReceiveHandler
-
Audio Output Format used by JDA.
- override(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Whether all fields should be considered when editing a message
- OVERRIDE_ALLOW - net.dv8tion.jda.core.audit.AuditLogKey
-
Modified raw allowed permission bits
Similar to the value returned byPermissionOverride.getAllowedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_DENY - net.dv8tion.jda.core.audit.AuditLogKey
-
Modified raw denied permission bits
Similar to the value returned byPermissionOverride.getDeniedRaw()
Use withPermission.getPermissions(long)
- OVERRIDE_TYPE - net.dv8tion.jda.core.audit.AuditLogKey
-
The string type of this override.
P
- PaginationAction<T,M extends PaginationAction<T,M>> - Class in net.dv8tion.jda.core.requests.restaction.pagination
-
RestAction
specification used to retrieve entities for paginated endpoints (before, after, limit). - PaginationAction(JDA) - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Creates a new PaginationAction instance
This is used for PaginationActions that should not deal withPaginationAction.limit(int)
- PaginationAction(JDA, Route.CompiledRoute, int, int, int) - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Creates a new PaginationAction instance
- PaginationAction.PaginationIterator - Class in net.dv8tion.jda.core.requests.restaction.pagination
-
Iterator implementation for a
PaginationAction
. - PaginationIterator() - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction.PaginationIterator
- parallelStream() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- parallelStream() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- parallelStream() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Returns a possibly parallel
Stream
with this PaginationAction as its source. - parallelStream() - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a parallel
Stream
of all cached elements. - PARENT - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the parent field
- parseSnowflake(String) - Static method in class net.dv8tion.jda.core.utils.MiscUtil
- Party(String, long, long) - Constructor for class net.dv8tion.jda.core.entities.RichPresence.Party
- PASSWORD - Static variable in class net.dv8tion.jda.core.managers.AccountManager
-
Used to reset the password field
- PATCH - net.dv8tion.jda.core.requests.Method
- Permission - Enum in net.dv8tion.jda.core
-
Represents the bit offsets used by Discord for Permissions.
- PERMISSION - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the permission field
- PERMISSION - Static variable in class net.dv8tion.jda.core.managers.RoleManager
-
Used to reset the permission field
- PermissionException - Exception in net.dv8tion.jda.core.exceptions
-
Indicates that the currently logged in account does not meet the specified
Permission
fromPermissionException.getPermission()
- PermissionException(String) - Constructor for exception net.dv8tion.jda.core.exceptions.PermissionException
-
Creates a new PermissionException instance
- PermissionOverride - Interface in net.dv8tion.jda.core.entities
- PermissionOverrideAction - Class in net.dv8tion.jda.core.requests.restaction
- PermissionOverrideAction(JDA, Route.CompiledRoute, Channel, Member) - Constructor for class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Creates a new PermissionOverrideAction instance
- PermissionOverrideAction(JDA, Route.CompiledRoute, Channel, Role) - Constructor for class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Creates a new PermissionOverrideAction instance
- PERMISSIONS - Static variable in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Used to reset all permissions to their original value
- PermissionUtil - Class in net.dv8tion.jda.core.utils
- PermissionUtil() - Constructor for class net.dv8tion.jda.core.utils.PermissionUtil
- PermOverrideData - Class in net.dv8tion.jda.core.requests.restaction
- PermOverrideData(int, long, long, long) - Constructor for class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- PermOverrideData(PermissionOverride) - Constructor for class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- PermOverrideManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for a
PermissionOverride
. - PermOverrideManager(PermissionOverride) - Constructor for class net.dv8tion.jda.core.managers.PermOverrideManager
-
Creates a new PermOverrideManager instance
- pin() - Method in interface net.dv8tion.jda.core.entities.Message
-
Used to add the Message to the
MessageChannel's
pinned message list. - pinMessageById(long) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Used to pin a message.
- pinMessageById(String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Used to pin a message.
- PLAY - net.dv8tion.jda.core.entities.ActivityFlag
- playing(String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name.
- POSITION - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the position field
- POST - net.dv8tion.jda.core.requests.Method
- Presence - Interface in net.dv8tion.jda.core.managers
-
The Presence associated with the provided JDA instance
- PRESENCE - Static variable in class net.dv8tion.jda.core.WebSocketCode
- PRIORITY - net.dv8tion.jda.core.audio.SpeakingMode
- PRIORITY_SPEAKER - net.dv8tion.jda.core.Permission
- PRIVATE - net.dv8tion.jda.core.entities.ChannelType
- PrivateChannel - Interface in net.dv8tion.jda.core.entities
-
Represents the connection used for direct messaging.
- PrivateChannelCreateEvent - Class in net.dv8tion.jda.core.events.channel.priv
-
Indicates that a
Private Channel
was created. - PrivateChannelCreateEvent(JDA, long, PrivateChannel) - Constructor for class net.dv8tion.jda.core.events.channel.priv.PrivateChannelCreateEvent
- PrivateChannelDeleteEvent - Class in net.dv8tion.jda.core.events.channel.priv
-
Indicates that a
Private Channel
was deleted. - PrivateChannelDeleteEvent(JDA, long, PrivateChannel) - Constructor for class net.dv8tion.jda.core.events.channel.priv.PrivateChannelDeleteEvent
- PrivateMessageDeleteEvent - Class in net.dv8tion.jda.core.events.message.priv
-
Indicates that a Message was deleted in a
PrivateChannel
. - PrivateMessageDeleteEvent(JDA, long, long, PrivateChannel) - Constructor for class net.dv8tion.jda.core.events.message.priv.PrivateMessageDeleteEvent
- PrivateMessageEmbedEvent - Class in net.dv8tion.jda.core.events.message.priv
-
Indicates that a Message contains
Embeds
in aPrivateChannel
. - PrivateMessageEmbedEvent(JDA, long, long, PrivateChannel, List<MessageEmbed>) - Constructor for class net.dv8tion.jda.core.events.message.priv.PrivateMessageEmbedEvent
- PrivateMessageReactionAddEvent - Class in net.dv8tion.jda.core.events.message.priv.react
-
Indicates that a
MessageReaction
was added to a Message in a PrivateChannel. - PrivateMessageReactionAddEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.priv.react.PrivateMessageReactionAddEvent
- PrivateMessageReactionRemoveEvent - Class in net.dv8tion.jda.core.events.message.priv.react
-
Indicates that a
MessageReaction
was removed from a Message in a PrivateChannel. - PrivateMessageReactionRemoveEvent(JDA, long, User, MessageReaction) - Constructor for class net.dv8tion.jda.core.events.message.priv.react.PrivateMessageReactionRemoveEvent
- PrivateMessageReceivedEvent - Class in net.dv8tion.jda.core.events.message.priv
-
Indicates that a Message was sent in a
PrivateChannel
. - PrivateMessageReceivedEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.priv.PrivateMessageReceivedEvent
- PrivateMessageUpdateEvent - Class in net.dv8tion.jda.core.events.message.priv
-
Indicates that a Message was edited in a
PrivateChannel
. - PrivateMessageUpdateEvent(JDA, long, Message) - Constructor for class net.dv8tion.jda.core.events.message.priv.PrivateMessageUpdateEvent
- Procedure<T> - Interface in net.dv8tion.jda.core.utils
- Promise<T> - Class in net.dv8tion.jda.core.utils
- Promise() - Constructor for class net.dv8tion.jda.core.utils.Promise
- Promise(Throwable) - Constructor for class net.dv8tion.jda.core.utils.Promise
- Promise(T) - Constructor for class net.dv8tion.jda.core.utils.Promise
- provide(int) - Method in interface net.dv8tion.jda.bot.sharding.ThreadPoolProvider
-
Provides an instance of the specified executor, or null
- provide20MsAudio() - Method in interface net.dv8tion.jda.core.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.core.entities.MessageEmbed.Provider
- prune(int) - Method in class net.dv8tion.jda.core.managers.GuildController
-
This method will prune (kick) all members who were offline for at least days days.
- PRUNE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has pruned members for inactivity.
- PUBLIC - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the public field
- purgeMessages(List<? extends Message>) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessages(Message...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(long...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(String...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- purgeMessagesById(List<String>) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Convenience method to delete messages in the most efficient way available.
- PUT - net.dv8tion.jda.core.requests.Method
- putPermissionOverride(IPermissionHolder, long, long) - Method in class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.managers.ChannelManager
-
Adds an override for the specified
IPermissionHolder
with the provided permission sets as allowed and denied permissions. - putPermissionOverride(Member) - Method in interface net.dv8tion.jda.core.entities.Channel
-
Creates a
PermissionOverride
for the specifiedMember
in this Channel. - putPermissionOverride(Role) - Method in interface net.dv8tion.jda.core.entities.Channel
-
Creates a
PermissionOverride
for the specifiedRole
in this Channel.
Q
- queue() - Method in class net.dv8tion.jda.core.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Submits a Request for execution.
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.core.requests.restaction.AuditableRestAction.EmptyRestAction
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.core.requests.RestAction.EmptyRestAction
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Submits a Request for execution.
- queueAfter(long, TimeUnit) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, ScheduledExecutorService) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Schedules a call to
RestAction.queue()
to be executed after the specifieddelay
. - queueAfter(long, TimeUnit, Consumer<? super T>) - Method in class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.requests.RestAction
-
Schedules a call to
RestAction.queue(java.util.function.Consumer, java.util.function.Consumer)
to be executed after the specifieddelay
.
R
- RATE_LIMITED - net.dv8tion.jda.core.requests.CloseCode
- RateLimitedException - Exception in net.dv8tion.jda.core.exceptions
-
Indicates that we received a
429: Too Many Requests
response - RateLimitedException(String, long) - Constructor for exception net.dv8tion.jda.core.exceptions.RateLimitedException
- RateLimitedException(Route.CompiledRoute, long) - Constructor for exception net.dv8tion.jda.core.exceptions.RateLimitedException
- REACTION_BLOCKED - net.dv8tion.jda.core.requests.ErrorResponse
- ReactionEmote(String, Long, JDA) - Constructor for class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- ReactionEmote(Emote) - Constructor for class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- ReactionPaginationAction - Class in net.dv8tion.jda.core.requests.restaction.pagination
-
PaginationAction
that paginates the endpointRoute.Messages.GET_REACTION_USERS
. - ReactionPaginationAction(MessageReaction) - Constructor for class net.dv8tion.jda.core.requests.restaction.pagination.ReactionPaginationAction
-
Creates a new PaginationAction instance
- readFully(File) - Static method in class net.dv8tion.jda.core.utils.IOUtil
-
Used as an alternate to Java's nio Files.readAllBytes.
- readFully(InputStream) - Static method in class net.dv8tion.jda.core.utils.IOUtil
-
Provided as a simple way to fully read an InputStream into a byte[].
- READY - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- ReadyEvent - Class in net.dv8tion.jda.core.events
-
Indicates that JDA finished loading all entities.
- ReadyEvent(JDA, long) - Constructor for class net.dv8tion.jda.core.events.ReadyEvent
- reason(String) - Method in class net.dv8tion.jda.core.requests.restaction.AuditableRestAction
-
Applies the specified reason as audit-log reason field.
- RECIPIENT_ADD - net.dv8tion.jda.core.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.core.entities.MessageType
-
Specialized messages used for Groups as a System-Message showing that a new User has been removed from the Group.
- RECONNECT - net.dv8tion.jda.core.audio.ConnectionStage
- RECONNECT - Static variable in class net.dv8tion.jda.core.WebSocketCode
- RECONNECT_QUEUED - net.dv8tion.jda.core.JDA.Status
-
JDA session has been added to
SessionController
and is awaiting to be dequeued for reconnecting. - ReconnectedEvent - Class in net.dv8tion.jda.core.events
-
Indicates if JDA successfully re-established its connection to the gateway.
- ReconnectedEvent(JDA, long) - Constructor for class net.dv8tion.jda.core.events.ReconnectedEvent
- REDIRECT_URI - Static variable in class net.dv8tion.jda.client.managers.ApplicationManager
-
Used to reset the redirect uri field
- Region - Enum in net.dv8tion.jda.core
-
Represents the Regions used for Audio connections.
- REGION - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the region field
- register(Object) - Method in class net.dv8tion.jda.core.hooks.AnnotatedEventManager
- register(Object) - Method in interface net.dv8tion.jda.core.hooks.IEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - register(Object) - Method in class net.dv8tion.jda.core.hooks.InterfacedEventManager
-
Registers the specified listener
Accepted types may be specified by implementations - Relationship - Interface in net.dv8tion.jda.client.entities
- RelationshipType - Enum in net.dv8tion.jda.client.entities
- removeChannel(int) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Removes the
ChannelData
at the specified index and returns the removed object. - removeChannel(GuildAction.ChannelData) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Removes the provided
ChannelData
from this GuildAction if present. - removeEventListener(Object...) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- removeEventListener(Object...) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Removes all provided listeners from the event-listeners and no longer uses them to handle events.
- removeEventListener(Object...) - Method in interface net.dv8tion.jda.core.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.core.JDABuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- removeEventListenerProvider(IntFunction<Object>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Removes the provided listener provider from the list of listener providers.
- removeEventListenerProvider(IntFunction<Object>) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Remove a listener provider.
- removeEventListenerProviders(Collection<IntFunction<Object>>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Removes all provided listener providers from the list of listener providers.
- removeEventListeners(Object...) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(Collection<Object>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Removes all provided listeners from the list of listeners.
- removeEventListeners(IntFunction<Collection<Object>>) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Remove listeners from shards by their id.
- removeFriend() - Method in interface net.dv8tion.jda.client.entities.Friend
- removeIf(Predicate<WebhookClient>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Removes the specified
WebhookClients
from this cluster's list of receivers under the conditions of the provided filter. - removePermissionOverride(IPermissionHolder) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Removes the
PermissionOverride
for the specifiedIPermissionHolder
. - removeReaction() - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReaction(User) - Method in class net.dv8tion.jda.core.entities.MessageReaction
-
Removes this Reaction from the Message.
- removeReactionById(long, String) - Method in interface net.dv8tion.jda.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.entities.TextChannel
-
Attempts to remove the reaction from a message represented by the specified
messageId
in this MessageChannel. - removeRolesFromMember(Member, Collection<Role>) - Method in class net.dv8tion.jda.core.managers.GuildController
- removeRolesFromMember(Member, Role...) - Method in class net.dv8tion.jda.core.managers.GuildController
- removeSession(SessionController.SessionConnectNode) - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Called by
WebSocketClient
when a JDA session has been shutdown. - removeSession(SessionController.SessionConnectNode) - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- removeSingleRoleFromMember(Member, Role) - Method in class net.dv8tion.jda.core.managers.GuildController
- removeWebhooks(Collection<WebhookClient>) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Removes the specified
WebhookClients
from this cluster's list of receivers. - removeWebhooks(WebhookClient...) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Removes the specified
WebhookClients
from this cluster's list of receivers. - replace(String, String) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Replaces each substring that matches the target string with the specified replacement string.
- replaceFirst(String, String) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Replaces the first substring that matches the target string with the specified replacement string.
- replaceLast(String, String) - Method in class net.dv8tion.jda.core.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.
- RequestFuture<T> - Interface in net.dv8tion.jda.core.requests
-
Future allowing for use of continuations.
- reset() - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Resets all fields for this manager.
- reset() - Method in class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Resets this MessageAction to empty state
MessageAction.isEmpty()
will result intrue
after this has been performed! - reset() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Resets this builder to default settings.
- reset(long) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long) - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag pattern.
- reset(long...) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.PermOverrideManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Resets the fields specified by the provided bit-flag patterns.
- reset(long...) - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Resets the fields specified by the provided bit-flag patterns.
- resetCurrent() - Static method in class net.dv8tion.jda.core.audit.ThreadLocalReason
-
Resets the currently set thread-local reason, if present.
- resetEmbeds() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Removes all embeds from this builder.
- resetFiles() - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Removes all added resources.
- resetSecret() - Method in interface net.dv8tion.jda.client.entities.Application
-
Generates a new client secret for this Application.
- resetToken() - Method in interface net.dv8tion.jda.client.entities.Application.Bot
-
Generates a new token for this bot.
- resolve(JDA, String) - Static method in interface net.dv8tion.jda.core.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - resolve(JDA, String, boolean) - Static method in interface net.dv8tion.jda.core.entities.Invite
-
Retrieves a new
Invite
instance for the given invite code. - RestAction<T> - Class in net.dv8tion.jda.core.requests
-
A class representing a terminal between the user and the discord API.
- RestAction(JDA, Route.CompiledRoute) - Constructor for class net.dv8tion.jda.core.requests.RestAction
-
Creates a new RestAction instance
- RestAction(JDA, Route.CompiledRoute, RequestBody) - Constructor for class net.dv8tion.jda.core.requests.RestAction
-
Creates a new RestAction instance
- RestAction(JDA, Route.CompiledRoute, JSONObject) - Constructor for class net.dv8tion.jda.core.requests.RestAction
-
Creates a new RestAction instance
- RestAction.EmptyRestAction<T> - Class in net.dv8tion.jda.core.requests
-
Specialized form of
RestAction
that is used to provide information that has already been retrieved or generated so that another request does not need to be made to Discord. - restart() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- restart() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Restarts all shards, shutting old ones down first.
- restart(int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- restart(int) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Restarts the shards with the given id only.
- RestFuture<T> - Class in net.dv8tion.jda.core.requests
- RestFuture(Throwable) - Constructor for class net.dv8tion.jda.core.requests.RestFuture
- RestFuture(RestAction<T>, boolean, BooleanSupplier, RequestBody, Object, Route.CompiledRoute, CaseInsensitiveMap<String, String>) - Constructor for class net.dv8tion.jda.core.requests.RestFuture
- RestFuture(T) - Constructor for class net.dv8tion.jda.core.requests.RestFuture
- RESUME - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- RESUME - Static variable in class net.dv8tion.jda.core.WebSocketCode
- RESUMED - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- ResumedEvent - Class in net.dv8tion.jda.core.events
-
Indicates that JDA successfully resumed its connection to the gateway.
- ResumedEvent(JDA, long) - Constructor for class net.dv8tion.jda.core.events.ResumedEvent
- retrieveEmote(Emote) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(long) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmoteById(String) - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a listed emote together with its respective creator.
- retrieveEmotes() - Method in interface net.dv8tion.jda.core.entities.Guild
-
Retrieves a list of emotes together with their respective creators.
- retrieveFuture(int) - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Retrieves messages from Discord that were sent more recently than the most recently sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrievePast(int) - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
Retrieves messages from Discord that were sent before the oldest sent message in MessageHistory's history cache (
MessageHistory.getRetrievedHistory()
). - retrieveRegions() - Method in interface net.dv8tion.jda.core.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.core.entities.Guild
-
Retrieves the available regions for this Guild
- retrieveUserById(long) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(long) - Method in interface net.dv8tion.jda.core.JDA
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Attempts to retrieve a
User
object based on the provided id. - retrieveUserById(String) - Method in interface net.dv8tion.jda.core.JDA
-
Attempts to retrieve a
User
object based on the provided id. - reverseOrder() - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Reverses the
current order
by usingCollections.reverse(orderList)
- revokePermissions(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - revokePermissions(Permission...) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Revokes the specified
Permissions
from the selectedRole
. - RICH - net.dv8tion.jda.core.entities.EmbedType
- RichPresence - Class in net.dv8tion.jda.core.entities
-
Used to hold additional information about a users
Game
relevant to Rich Presence. - RichPresence.Image - Class in net.dv8tion.jda.core.entities
-
Used to hold information on images within a Rich Presence profile
- RichPresence.Party - Class in net.dv8tion.jda.core.entities
-
Holds information on a player's party
- RichPresence.Timestamps - Class in net.dv8tion.jda.core.entities
-
Represents the start and end timestamps for a running match
- Role - Interface in net.dv8tion.jda.core.entities
-
Represents a
Guild
's Role. - ROLE - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withGuild.getRoleById(String)
- ROLE - net.dv8tion.jda.core.audit.TargetType
- ROLE - net.dv8tion.jda.core.entities.Message.MentionType
-
Represents a mention for a
Role
- ROLE_COLOR - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Role.getColor()
value. - ROLE_CREATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has created a
Role
. - ROLE_DELETE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has deleted a
Role
. - ROLE_HOISTED - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Role.isHoisted()
value. - ROLE_MENTIONABLE - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Role.isMentionable()
value. - ROLE_NAME - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Role.getName()
value. - ROLE_PERMISSIONS - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Role.getPermissionsRaw()
value. - ROLE_TYPE - Static variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- ROLE_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has updated a
Role
. - RoleAction - Class in net.dv8tion.jda.core.requests.restaction
-
Extension of
RestAction
specifically designed to create aRole
. - RoleAction(Route.CompiledRoute, Guild) - Constructor for class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Creates a new RoleAction instance
- RoleCreateEvent - Class in net.dv8tion.jda.core.events.role
-
Indicates that a
Role
was created. - RoleCreateEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.core.events.role.RoleCreateEvent
- RoleDeleteEvent - Class in net.dv8tion.jda.core.events.role
-
Indicates that a
Role
was deleted. - RoleDeleteEvent(JDA, long, Role) - Constructor for class net.dv8tion.jda.core.events.role.RoleDeleteEvent
- RoleManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for a
Role
. - RoleManager(Role) - Constructor for class net.dv8tion.jda.core.managers.RoleManager
-
Creates a new RoleManager instance
- RoleOrderAction - Class in net.dv8tion.jda.core.requests.restaction.order
- RoleOrderAction(Guild, boolean) - Constructor for class net.dv8tion.jda.core.requests.restaction.order.RoleOrderAction
-
Creates a new RoleOrderAction instance
- ROLES - Static variable in class net.dv8tion.jda.client.managers.EmoteManager
-
Used to reset the roles field
- RoleUpdateColorEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its color. - RoleUpdateColorEvent(JDA, long, Role, int) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdateColorEvent
- RoleUpdateHoistedEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its hoist state. - RoleUpdateHoistedEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdateHoistedEvent
- RoleUpdateMentionableEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its mentionable state. - RoleUpdateMentionableEvent(JDA, long, Role, boolean) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdateMentionableEvent
- RoleUpdateNameEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its name. - RoleUpdateNameEvent(JDA, long, Role, String) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdateNameEvent
- RoleUpdatePermissionsEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its permissions. - RoleUpdatePermissionsEvent(JDA, long, Role, long) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdatePermissionsEvent
- RoleUpdatePositionEvent - Class in net.dv8tion.jda.core.events.role.update
-
Indicates that a
Role
updated its position. - RoleUpdatePositionEvent(JDA, long, Role, int, int) - Constructor for class net.dv8tion.jda.core.events.role.update.RoleUpdatePositionEvent
- run(boolean) - Method in interface net.dv8tion.jda.core.utils.SessionController.SessionConnectNode
-
When called, establishes the session.
- RUSSIA - net.dv8tion.jda.core.Region
S
- SECONDS_1800 - net.dv8tion.jda.core.entities.Guild.Timeout
- SECONDS_300 - net.dv8tion.jda.core.entities.Guild.Timeout
- SECONDS_3600 - net.dv8tion.jda.core.entities.Guild.Timeout
- SECONDS_60 - net.dv8tion.jda.core.entities.Guild.Timeout
- SECONDS_900 - net.dv8tion.jda.core.entities.Guild.Timeout
- SELECT_PROTOCOL - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- selectPosition(int) - Method in class net.dv8tion.jda.core.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 class net.dv8tion.jda.core.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.core.events.self
-
Indicates that the avatar of the current user changed.
- SelfUpdateAvatarEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateAvatarEvent
- SelfUpdateDiscriminatorEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the discriminator of the current user changed.
- SelfUpdateDiscriminatorEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateDiscriminatorEvent
- SelfUpdateEmailEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the email of the current user changed.
- SelfUpdateEmailEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateEmailEvent
- SelfUpdateMFAEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the mfa level of the current user changed.
- SelfUpdateMFAEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateMFAEvent
- SelfUpdateMobileEvent - Class in net.dv8tion.jda.core.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.core.events.self.SelfUpdateMobileEvent
- SelfUpdateNameEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the name of the current user changed.
- SelfUpdateNameEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateNameEvent
- SelfUpdateNitroEvent - Class in net.dv8tion.jda.core.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.core.events.self.SelfUpdateNitroEvent
- SelfUpdatePhoneNumberEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the phone number associated with your account changed.
- SelfUpdatePhoneNumberEvent(JDA, long, String) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdatePhoneNumberEvent
- SelfUpdateVerifiedEvent - Class in net.dv8tion.jda.core.events.self
-
Indicates that the verification state of the current user changed.
- SelfUpdateVerifiedEvent(JDA, long, boolean) - Constructor for class net.dv8tion.jda.core.events.self.SelfUpdateVerifiedEvent
- SelfUser - Interface in net.dv8tion.jda.core.entities
-
Represents the currently logged in account.
- send(byte[], String) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
byte[]
data to this webhook. - send(File) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
File
to this webhook. - send(File, String) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
File
to this webhook. - send(InputStream, String) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
InputStream
data to this webhook. - send(String) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided text message to this webhook.
- send(Collection<MessageEmbed>) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
MessageEmbeds
to this webhook. - send(Message) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
Message
to this webhook. - send(MessageEmbed[]) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
MessageEmbeds
to this webhook. - send(MessageEmbed, MessageEmbed...) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
MessageEmbeds
to this webhook. - send(WebhookMessage) - Method in class net.dv8tion.jda.webhook.WebhookClient
-
Sends the provided
WebhookMessage
to this webhook. - sendFile(byte[], String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(byte[], String, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, String, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(File, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(InputStream, String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendFile(InputStream, String, Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Uploads a file to the Discord servers and sends it to this
MessageChannel
. - sendMessage(CharSequence) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Sends a plain text message to this channel.
- sendMessage(Message) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Sends a specified
Message
to this channel. - sendMessage(MessageEmbed) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Sends a specified
MessageEmbed
as aMessage
to this channel. - sendMessageFormat(String, Object...) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Sends a formatted text message to this channel.
- sendTo(MessageChannel) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Creates a
MessageAction
with the current settings without building aMessage
instance first. - sendTyping() - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Sends the typing status to discord.
- SERVER_CRASH - net.dv8tion.jda.core.audio.VoiceCode.Close
- SERVER_ERROR - net.dv8tion.jda.core.requests.ErrorResponse
- SERVER_NOT_FOUND - net.dv8tion.jda.core.audio.VoiceCode.Close
- SESSION_DESCRIPTION - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- SESSION_TIMEOUT - net.dv8tion.jda.core.audio.VoiceCode.Close
- SESSION_TIMEOUT - net.dv8tion.jda.core.requests.CloseCode
- SessionController - Interface in net.dv8tion.jda.core.utils
-
Controls states and behaviour of one or multiple
JDA
instances. - SessionController.SessionConnectNode - Interface in net.dv8tion.jda.core.utils
-
Represents a WebSocketClient request to start a session.
- SessionControllerAdapter - Class in net.dv8tion.jda.core.utils
- SessionControllerAdapter() - Constructor for class net.dv8tion.jda.core.utils.SessionControllerAdapter
- setAfkChannel(VoiceChannel) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the AFK
VoiceChannel
of thisGuild
. - setAfkTimeout(Guild.Timeout) - Method in class net.dv8tion.jda.core.managers.GuildManager
- setAllow(long) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using the bitwise representation of a set of
Permissions
. - setAllow(Collection<Permission>) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a Collection of
Permissions
. - setAllow(Permission...) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly granted permissions using a set of
Permissions
. - setAudioEnabled(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Enables/Disables Voice functionality.
- setAudioEnabled(boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Enables/Disables Voice functionality.
- setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAudioSendFactory(IAudioSendFactory) - Method in class net.dv8tion.jda.core.JDABuilder
-
Changes the factory used to create
IAudioSendSystem
objects which handle the sending loop for audio packets. - setAuthor(String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Author of the embed.
- setAuthor(String, String, String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Author of the embed.
- setAutoReconnect(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.core.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.core.JDABuilder
-
Sets whether or not JDA should try to reconnect if a connection-error is encountered.
- setAutoReconnect(boolean) - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Sets whether audio connections from this AudioManager should automatically reconnect or not.
- setAvatar(Icon) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setAvatar(Icon) - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Sets the default avatar of the selected
Webhook
. - setAvatar(Icon) - Method in class net.dv8tion.jda.core.requests.restaction.WebhookAction
-
Sets the Avatar for the custom Webhook User
- setAvatar(Icon, String) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the avatar for the currently logged in account
- setAvatarUrl(String) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Sets the avatar url that should be used for the resulting message.
- setBitrate(int) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the bitrate of the selected
VoiceChannel
. - setBitrate(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the bitrate for the new VoiceChannel
- setBitrate(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
-
Sets the bitrate for this channel.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.bot.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.
- setBulkDeleteSplittingEnabled(boolean) - Method in class net.dv8tion.jda.core.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.
- setCallbackPool(ExecutorService) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
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.core.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.bot.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.core.JDABuilder
-
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.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ExecutorService
that should be used in the JDA callback handler which mostly consists ofRestAction
callbacks. - setChannel(TextChannel) - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Sets the
TextChannel
of the selectedWebhook
. - setChannel(VoiceChannel) - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.client.requests.restaction.ApplicationAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.AuditableRestAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Sets the last-second checks before finally executing the http request in the queue.
- setCheck(BooleanSupplier) - Method in class net.dv8tion.jda.core.requests.restaction.WebhookAction
- setColor(int) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the raw RGB color value for the embed.
- setColor(int) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the rgb color of the selected
Role
. - setColor(Color) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Color of the embed.
- setColor(Color) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the
Color
of the selectedRole
. - setColor(Color) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Color) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the color which the new role should be displayed with.
- setColor(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets the color for this Role
- setColor(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the Color for the new role.
- setCompressionEnabled(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Enable stream-compression on 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.
- setCompressionEnabled(boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Enable stream-compression on 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.core.managers.AudioManager
-
Sets the
ConnectionListener
for this AudioManager. - setConnectTimeout(long) - Method in interface net.dv8tion.jda.core.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.core.MessageBuilder
-
Sets the content of the resulting Message
This will replace already added content. - setContent(String) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Sets the content of the resulting message.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextEnabled(boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Whether JDA should use a synchronized MDC context for all of its controlled threads.
- setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.core.audio.factory.DefaultSendSystem
- setContextMap(ConcurrentMap<String, String>) - Method in interface net.dv8tion.jda.core.audio.factory.IAudioSendSystem
-
Called with the internal JDA
MDC
context map. - setContextMap(ConcurrentMap<String, String>) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
MDC
mappings to use in JDA. - setContextMap(IntFunction<? extends ConcurrentMap<String, String>>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
MDC
mappings provider to use in JDA. - setCorePoolSize(int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the core pool size for the global JDA
ScheduledExecutorService
which is used in various locations throughout the JDA instance created by this ShardManager. - setCorePoolSize(int) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the core pool size for the global JDA
ScheduledExecutorService
which is used in various locations throughout the JDA instance created by this builder. - setCurrent(String) - Static method in class net.dv8tion.jda.core.audit.ThreadLocalReason
-
Sets the current reason that should be used for
AuditableRestAction
. - setDaemon(boolean) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Whether rate limit threads of the created
WebhookClient
should be treated asThread.isDaemon()
or not. - setDeafen(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
Whether the user should be voice deafened in the guild.
- setDeafen(Member, boolean) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Sets the Guild Deafened state state of the
Member
based on the provided boolean. - setDefaultDaemon(boolean) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Whether rate limit threads of created
WebhookClients
should be treated asThread.isDaemon()
or not. - setDefaultExecutorService(ScheduledExecutorService) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sets the default
ScheduledExecutorService
that should be used when buildingWebhookClients
viaWebhookCluster.buildWebhooks(Webhook...)
orWebhookCluster.buildWebhooks(Collection)
. - setDefaultHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sets the default
OkHttpClient
that should be used when buildingWebhookClients
viaWebhookCluster.buildWebhooks(Webhook...)
orWebhookCluster.buildWebhooks(Collection)
. - setDefaultHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Sets the default
OkHttpClient.Builder
that should be used when buildingWebhookClients
viaWebhookCluster.buildWebhooks(Webhook...)
orWebhookCluster.buildWebhooks(Collection)
. - setDefaultNotificationLevel(Guild.NotificationLevel) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the
Notification Level
of thisGuild
. - setDefaultThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.webhook.WebhookCluster
-
Factory that should be used by the default
ScheduledExecutorService
to create Threads for rate limitation handling of the createdWebhookClient
!
This allows changing thread information such as name without having to create your own executor. - setDeny(long) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using the bitwise representation of a set of
Permissions
. - setDeny(Collection<Permission>) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a Collection of
Permissions
. - setDeny(Permission...) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Sets the value of explicitly denied permissions using a set of
Permissions
. - setDescription(CharSequence) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Description of the embed.
- setDescription(String) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the description of the selected
Application
. - setDescription(String) - Method in class net.dv8tion.jda.client.requests.restaction.ApplicationAction
-
Sets the description for the new
Application
. - setDisabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Flags used to disable parts of the JDA cache to reduce the runtime memory footprint.
- setDisabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.core.JDABuilder
-
Flags used to disable parts of the JDA cache to reduce the runtime memory footprint.
- setDoesBotRequireCodeGrant(boolean) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the code grant state of the selected
Application's
bot. - setEmail(String, String) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the email for the currently logged in client account.
- setEmbed(MessageEmbed) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Adds a
MessageEmbed
to the Message. - setEnabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Flags used to enable parts of the JDA cache to reduce the runtime memory footprint.
- setEnabledCacheFlags(EnumSet<CacheFlag>) - Method in class net.dv8tion.jda.core.JDABuilder
-
Flags used to enable selective parts of the JDA cache to reduce the runtime memory footprint.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Enables/Disables the use of a Shutdown hook to clean up the ShardManager and it's JDA instances.
- setEnableShutdownHook(boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Enables/Disables the use of a Shutdown hook to clean up JDA.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Deprecated.
- setEventManager(IEventManager) - Method in interface net.dv8tion.jda.core.JDA
-
Changes the internal EventManager.
- setEventManager(IEventManager) - Method in class net.dv8tion.jda.core.JDABuilder
-
Changes the internally used EventManager.
- setEventManagerProvider(IntFunction<? extends IEventManager>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets a provider to change the internally used EventManager.
- setEveryone(boolean) - Method in class net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction
-
Sets whether this MentionPaginationAction should include mentions that mention the public role of a Guild.
- setExecutorService(ScheduledExecutorService) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
The
ScheduledExecutorService
that should be used to handle rate limits!
By default this creates a new executor with 1 core thread! - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the
Explicit Content Level
of thisGuild
. - setExplicitContentLevel(Guild.ExplicitContentLevel) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Sets the
ExplicitContentLevel
for the resultingGuild
- setFooter(String, String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Footer of the embed.
- setGame(Game) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
Game
for our session. - setGame(Game) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Sets the
Game
for all shards. - setGame(Game) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
Game
for our session. - setGame(Game) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets the
Game
for this session. - setGameProvider(IntFunction<? extends Game>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- setGameProvider(IntFunction<? extends Game>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
Game
for our session. - setGameProvider(IntFunction<? extends Game>) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Sets provider that provider the
Game
for all shards. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGatewayPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
ScheduledExecutorService
used by the main WebSocket connection for workers. - setGatewayPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used for the JDA main WebSocket workers. - setGlobalRatelimit(long) - Method in interface net.dv8tion.jda.core.utils.SessionController
-
Called by the
RateLimiter
if the global rest ratelimit has changed. - setGlobalRatelimit(long) - Method in class net.dv8tion.jda.core.utils.SessionControllerAdapter
- setHoisted(boolean) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the hoist state of the selected
Role
. - setHoisted(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is hoisted
- setHoisted(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets whether or not the new role should be hoisted
- setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
OkHttpClient
that will be used by JDAs requester. - setHttpClient(OkHttpClient) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
The
OkHttpClient
that should be used to make HTTP requests! - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
Builder
that will be used by JDA's requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
Builder
that will be used by JDAs requester. - setHttpClientBuilder(OkHttpClient.Builder) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
The
OkHttpClient.Builder
that should be used to create theOkHttpClient
of the resultingWebhookClient
!
If not set ornull
this builder will use theWebhookClientBuilder.DEFAULT_HTTP_BUILDER
instance. - setIcon(Icon) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the icon of the selected
Application
. - setIcon(Icon) - Method in class net.dv8tion.jda.client.requests.restaction.ApplicationAction
-
Sets the
Icon
of the selectedApplication
. - setIcon(Icon) - Method in class net.dv8tion.jda.core.managers.GuildManager
- setIcon(Icon) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
- setIdle(boolean) - Method in class net.dv8tion.jda.bot.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.bot.sharding.ShardManager
-
Sets whether all instances should be marked as afk or not
- setIdle(boolean) - Method in class net.dv8tion.jda.core.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.core.managers.Presence
-
Sets whether this session should be marked as afk or not
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- setIdleProvider(IntFunction<Boolean>) - Method in class net.dv8tion.jda.bot.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.bot.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.core.EmbedBuilder
-
Sets the Image of the embed.
- setIsBotPublic(boolean) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the public state of the selected
Application's
bot. - setMaxAge(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
-
Sets the max age in seconds for the invite.
- setMaxAge(Long, TimeUnit) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
-
Sets the max age for the invite.
- setMaxReconnectDelay(int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
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.core.JDABuilder
-
Sets the maximum amount of time that JDA will back off to wait when attempting to reconnect the MainWebsocket.
- setMaxUses(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
-
Sets the max uses for the invite.
- setMentionable(boolean) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the mentionable state of the selected
Role
. - setMentionable(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets whether the Role is mentionable
- setMentionable(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets whether the new role should be mentionable by members of the parent
Guild
. - setMute(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
Whether the user should be voice muted in the guild.
- setMute(Member, boolean) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Sets the Guild Muted state state of the
Member
based on the provided boolean. - setName(String) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the name of the selected
Application
. - setName(String) - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
Sets the name of the selected
Emote
. - setName(String) - Method in class net.dv8tion.jda.client.requests.restaction.ApplicationAction
-
Sets the name for the new
Application
. - setName(String) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the username for the currently logged in account
- setName(String) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the name of the selected
Channel
. - setName(String) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the name of this
Guild
. - setName(String) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the name of the selected
Role
. - setName(String) - Method in class net.dv8tion.jda.core.managers.WebhookManager
-
Sets the default name of the selected
Webhook
. - setName(String) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the name for the new Channel
- setName(String) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets the name for this Role
- setName(String) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Sets the name for the resulting
Guild
- setName(String) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the name for new role (optional)
- setName(String) - Method in class net.dv8tion.jda.core.requests.restaction.WebhookAction
-
Sets the Name for the custom Webhook User
- setName(String, String) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the username for the currently logged in account
- setNextAttemptEpoch(long) - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- setNickname(String) - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
Sets the nickname of the user for the guild.
- setNickname(Member, String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Changes a Member's nickname in this guild.
- setNonce(String) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Sets the nonce of the built message(s).
- setNotificationLevel(Guild.NotificationLevel) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Sets the
NotificationLevel
for the resultingGuild
- setNSFW(boolean) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the nsfw flag of the selected
TextChannel
. - setNSFW(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the NSFW flag for the new TextChannel
- setNSFW(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
-
Sets the whether this channel should be marked NSFW.
- setParent(Category) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the
Parent Category
of the selectedChannel
. - setParent(Category) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the
Category
for the new Channel - setPassContext(boolean) - Static method in class net.dv8tion.jda.core.requests.RestAction
-
If enabled this will pass a
ContextException
as root-cause to all failure consumers. - setPassword(String, String) - Method in class net.dv8tion.jda.core.managers.AccountManager
-
Sets the password for the currently logged in client account.
- setPermissions(long) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(long, long) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(long)
andPermissionOverrideAction.setDeny(long)
- setPermissions(Long) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Collection<Permission>) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissions(Collection<Permission>, Collection<Permission>) - Method in class net.dv8tion.jda.core.requests.restaction.PermissionOverrideAction
-
Combination of
PermissionOverrideAction.setAllow(java.util.Collection)
andPermissionOverrideAction.setDeny(java.util.Collection)
If a passed collection isnull
it resets the represented value to0
- no permission specifics. - setPermissions(Permission...) - Method in class net.dv8tion.jda.core.managers.RoleManager
-
Sets the
Permissions
of the selectedRole
. - setPermissions(Permission...) - Method in class net.dv8tion.jda.core.requests.restaction.RoleAction
-
Sets the Permissions the new Role should have.
- setPermissionsRaw(Long) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets the raw permission value for this Role
- setPosition(int) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the position of the selected
Channel
. - setPosition(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
-
Sets the position for this channel.
- setPosition(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
-
Sets the position for this Role
- setPresence(Game, boolean) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, boolean) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Game) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets two presence fields of this session.
- setPresence(OnlineStatus, Game, boolean) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets all presence fields of this session.
- setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPool(ScheduledExecutorService, boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
ScheduledExecutorService
that should be used in the JDA rate-limit handler. - setRateLimitPoolProvider(ThreadPoolProvider<? extends ScheduledExecutorService>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ScheduledExecutorService
provider that should be used in the JDA rate-limit handler. - setReceivingHandler(AudioReceiveHandler) - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Sets the
AudioReceiveHandler
that the manager will use to process audio data received from an audio connection. - setRedirectUris(List<String>) - Method in class net.dv8tion.jda.client.managers.ApplicationManager
-
Sets the redirect uris of the selected
Application
. - setRegion(Region) - Method in class net.dv8tion.jda.core.managers.GuildManager
- setRegion(Region) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
- setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in interface net.dv8tion.jda.core.JDA
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequestTimeoutRetry(boolean) - Method in class net.dv8tion.jda.core.JDABuilder
-
Whether the Requester should retry when a
SocketTimeoutException
occurs. - setRequiredMFALevel(Guild.MFALevel) - Method in class net.dv8tion.jda.core.managers.GuildManager
- setRole(boolean) - Method in class net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction
-
Sets whether this MentionPaginationAction should include mentions that mention a role in a Guild.
- setRoles(Collection<Role>) - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setRoles(Set<Role>) - Method in class net.dv8tion.jda.client.managers.EmoteManager
-
Sets the restriction roles of the selected
Emote
. - setRoles(Role...) - Method in class net.dv8tion.jda.core.requests.restaction.MemberAction
-
Sets the roles of the user for the guild.
- setSelfDeafened(boolean) - Method in interface net.dv8tion.jda.core.managers.AudioManager
-
Sets whether connections from this AudioManager should be deafened.
- setSelfMuted(boolean) - Method in interface net.dv8tion.jda.core.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.core.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.bot.sharding.DefaultShardManagerBuilder
-
Sets the
SessionController
for the resulting ShardManager instance. - setSessionController(SessionController) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
SessionController
for this JDABuilder instance. - setShards(int...) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the list of shards the
DefaultShardManager
should contain. - setShards(int, int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShards(Collection<Integer>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the range of shards the
DefaultShardManager
should contain. - setShardsTotal(int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
This will set the total amount of shards the
DefaultShardManager
should use. - setSlowmode(int) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the slowmode of the selected
TextChannel
. - setSlowmode(int) - Method in class net.dv8tion.jda.core.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.
- setSpeakingMode(Collection<SpeakingMode>) - Method in interface net.dv8tion.jda.core.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.core.managers.AudioManager
-
The
SpeakingMode
that should be used when sending audio via the providedAudioSendHandler
fromAudioManager.setSendingHandler(AudioSendHandler)
. - setSplash(Icon) - Method in class net.dv8tion.jda.core.managers.GuildManager
- setStage(ConnectionStage) - Method in class net.dv8tion.jda.core.audio.ConnectionRequest
- setStatus(OnlineStatus) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Sets the
OnlineStatus
for all shards. - setStatus(OnlineStatus) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
OnlineStatus
our connection will display. - setStatus(OnlineStatus) - Method in interface net.dv8tion.jda.core.managers.Presence
-
Sets the
OnlineStatus
for this session - setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- setStatusProvider(IntFunction<OnlineStatus>) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
OnlineStatus
our connection will display. - setStatusProvider(IntFunction<OnlineStatus>) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Sets the provider that provides the
OnlineStatus
for all shards. - setSystemChannel(TextChannel) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the system
TextChannel
of thisGuild
. - setTemporary(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
-
Sets whether the invite should only grant temporary membership.
- setThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
ThreadFactory
that will be used by the internal executor of the ShardManager. - setThreadFactory(ThreadFactory) - Method in class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Factory that should be used by the default
ScheduledExecutorService
to create Threads for rate limitation handling of the createdWebhookClient
!
This allows changing thread information such as name without having to create your own executor. - setThumbnail(String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Thumbnail of the embed.
- setTimestamp(TemporalAccessor) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Timestamp of the embed.
- setTitle(String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Title of the embed.
- setTitle(String, String) - Method in class net.dv8tion.jda.core.EmbedBuilder
-
Sets the Title of the embed.
- setToken(String) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the token that will be used by the
ShardManager
instance to log in whenbuild()
is called. - setToken(String) - Method in class net.dv8tion.jda.core.JDABuilder
- setTopic(String) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the topic of the selected
TextChannel
. - setTopic(String) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the topic for the new TextChannel
- setTopic(String) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
-
Sets the topic for this channel.
- setTTS(boolean) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Makes the created Message a TTS message.
- setTTS(boolean) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Sets whether the resulting message should use Text-To-Speech.
- setUnique(Boolean) - Method in class net.dv8tion.jda.core.requests.restaction.InviteAction
-
Sets whether discord should reuse a similar invite.
- setUserlimit(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.ChannelAction
-
Sets the userlimit for the new VoiceChannel
- setUserlimit(Integer) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
-
Sets the userlimit for this channel.
- setUserLimit(int) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Sets the user-limit of the selected
VoiceChannel
. - setUsername(String) - Method in class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Sets the username that should be used for the resulting message.
- setUseShutdownNow(boolean) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Whether the
ShardManager
should useJDA#shutdownNow()
instead ofJDA#shutdown()
to shutdown it's shards. - setVerificationLevel(Guild.VerificationLevel) - Method in class net.dv8tion.jda.core.managers.GuildManager
-
Sets the
Verification Level
of thisGuild
. - setVerificationLevel(Guild.VerificationLevel) - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction
-
Sets the
VerificationLevel
for the resultingGuild
- setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManagerBuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - setWebsocketFactory(WebSocketFactory) - Method in class net.dv8tion.jda.core.JDABuilder
-
Sets the
WebSocketFactory
that will be used by JDA's websocket client. - ShardCacheView - Interface in net.dv8tion.jda.bot.utils.cache
-
Read-only view on internal ShardManager cache of JDA instances.
- ShardCacheViewImpl - Class in net.dv8tion.jda.bot.utils.cache.impl
- ShardCacheViewImpl() - Constructor for class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- ShardCacheViewImpl(int) - Constructor for class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- ShardCacheViewImpl.UnifiedShardCacheViewImpl - Class in net.dv8tion.jda.bot.utils.cache.impl
- ShardInfo(int, int) - Constructor for class net.dv8tion.jda.core.JDA.ShardInfo
- SHARDING_REQUIRED - net.dv8tion.jda.core.requests.CloseCode
- ShardManager - Interface in net.dv8tion.jda.bot.sharding
-
This class acts as a manager for multiple shards.
- SHIELD - net.dv8tion.jda.core.utils.WidgetUtil.BannerType
- shouldReconnect() - Method in enum net.dv8tion.jda.core.audio.hooks.ConnectionStatus
- shouldShutdownAutomatically(int) - Method in interface net.dv8tion.jda.bot.sharding.ThreadPoolProvider
-
Whether the previously provided executor should be shutdown by
JDA.shutdown()
. - shuffleOrder() - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Shuffles the
current order
by usingCollections.shuffle(orderList)
- shutdown() - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- shutdown() - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Shuts down all JDA shards, closing all their connections.
- shutdown() - Method in class net.dv8tion.jda.core.audio.factory.DefaultSendSystem
- shutdown() - Method in interface net.dv8tion.jda.core.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.core.JDA
-
Shuts down this JDA instance, closing all its connections.
- shutdown(int) - Method in class net.dv8tion.jda.bot.sharding.DefaultShardManager
- shutdown(int) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Shuts down the shard with the given id only.
- SHUTDOWN - net.dv8tion.jda.core.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.core.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.core.events.ShutdownEvent
- shutdownNow() - Method in interface net.dv8tion.jda.core.JDA
-
Shuts down this JDA instance instantly, closing all its connections.
- SHUTTING_DOWN - net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Indicates that JDA was shutdown and no further connections should be established
- SHUTTING_DOWN - net.dv8tion.jda.core.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.core.utils.cache.CacheView.SimpleCacheView
- SINGAPORE - net.dv8tion.jda.core.Region
- size() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- size() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- size() - Method in class net.dv8tion.jda.core.entities.MessageHistory
-
The amount of retrieved
Messages
by this MessageHistory. - size() - Method in interface net.dv8tion.jda.core.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)
) - SLOWMODE - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the rate-limit per user field
- SnowflakeCacheView<T extends ISnowflake> - Interface in net.dv8tion.jda.core.utils.cache
-
CacheView
implementation specifically to viewISnowflake
implementations. - sortOrder(Comparator<T>) - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Sorts the
current order
based on the specifiedComparator
. - SOUNDSHARE - net.dv8tion.jda.core.audio.SpeakingMode
- SOUTH_AFRICA - net.dv8tion.jda.core.Region
- SPACE - Static variable in interface net.dv8tion.jda.core.MessageBuilder.SplitPolicy
-
Splits on space chars
` `
. - SpeakingMode - Enum in net.dv8tion.jda.core.audio
-
Flags representing the speaking modes used by discord users.
- SPECTATE - net.dv8tion.jda.core.entities.ActivityFlag
- SPLASH - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the splash field
- spliterator() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
- start() - Method in class net.dv8tion.jda.core.audio.factory.DefaultSendSystem
- start() - Method in interface net.dv8tion.jda.core.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.bot.sharding.DefaultShardManager
- start(int) - Method in interface net.dv8tion.jda.bot.sharding.ShardManager
-
Adds a new shard with the given id to this ShardManager and starts it.
- startCall() - Method in interface net.dv8tion.jda.client.entities.CallableChannel
- StatusChangeEvent - Class in net.dv8tion.jda.core.events
-
Indicates that our
Status
changed. - StatusChangeEvent(JDA, JDA.Status, JDA.Status) - Constructor for class net.dv8tion.jda.core.events.StatusChangeEvent
- stream() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl
- stream() - Method in class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- stream() - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
A sequential
Stream
with this PaginationAction as its source. - stream() - Method in interface net.dv8tion.jda.core.utils.cache.CacheView
-
Creates a
Stream
of all cached elements. - streaming(String, String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name and url.
- STREAMING - net.dv8tion.jda.core.entities.Game.GameType
-
Used to indicate that the
Game
is a stream
This type is displayed as "Streaming" in the discord client. - STRIKETHROUGH - net.dv8tion.jda.core.MessageBuilder.Formatting
- stripMentions(Guild) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Removes all mentions and replaces them with the closest looking textual representation.
- stripMentions(Guild, Message.MentionType...) - Method in class net.dv8tion.jda.core.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.core.MessageBuilder
-
Removes all mentions and replaces them with the closest looking textual representation.
- stripMentions(JDA, Message.MentionType...) - Method in class net.dv8tion.jda.core.MessageBuilder
-
Removes all mentions of the specified types and replaces them with the closest looking textual representation.
- submit() - Method in class net.dv8tion.jda.core.requests.RestAction
-
Submits a Request for execution and provides a
RequestFuture
representing its completion task. - submit(boolean) - Method in class net.dv8tion.jda.core.requests.restaction.AuditableRestAction.EmptyRestAction
- submit(boolean) - Method in class net.dv8tion.jda.core.requests.RestAction.EmptyRestAction
- submit(boolean) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Submits a Request for execution and provides a
RequestFuture
representing its completion task. - submitAfter(long, TimeUnit) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Schedules a call to
RestAction.complete()
to be executed after the specifieddelay
. - submitAfter(long, TimeUnit, ScheduledExecutorService) - Method in class net.dv8tion.jda.core.requests.RestAction
-
Schedules a call to
RestAction.complete()
to be executed after the specifieddelay
. - SubscribeEvent - Annotation Type in net.dv8tion.jda.core.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 class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the entity located at the specified position.
- swapPosition(T) - Method in class net.dv8tion.jda.core.requests.restaction.order.OrderAction
-
Swaps the currently selected entity with the specified entity.
- SYDNEY - net.dv8tion.jda.core.Region
- sync() - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Syncs all
PermissionOverrides
of this Channel with its parent (Category
). - sync(Channel) - Method in class net.dv8tion.jda.core.managers.ChannelManager
-
Syncs all
PermissionOverrides
of this Channel with the given (Channel
). - SYNC - net.dv8tion.jda.core.entities.ActivityFlag
- SYSTEM_CHANNEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the system channel field
T
- takeAsync(int) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- takeRemainingAsync(int) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.PaginationAction
-
Convenience method to retrieve an amount of entities from this pagination action.
- TargetType - Enum in net.dv8tion.jda.core.audit
-
TargetType for an
ActionType
This describes what kind of Discord entity is being targeted by an auditable action! - TEXT - net.dv8tion.jda.core.entities.ChannelType
-
A
TextChannel
, Guild-Only. - TEXT_MAX_LENGTH - Static variable in class net.dv8tion.jda.core.entities.MessageEmbed
-
The maximum length the description and footer of an embed can have
- TextChannel - Interface in net.dv8tion.jda.core.entities
-
Represents a Discord Text Channel.
- TextChannelCreateEvent - Class in net.dv8tion.jda.core.events.channel.text
-
Indicates that a
TextChannel
has been created. - TextChannelCreateEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.core.events.channel.text.TextChannelCreateEvent
- TextChannelDeleteEvent - Class in net.dv8tion.jda.core.events.channel.text
-
Indicates that a
TextChannel
has been deleted. - TextChannelDeleteEvent(JDA, long, TextChannel) - Constructor for class net.dv8tion.jda.core.events.channel.text.TextChannelDeleteEvent
- TextChannelUpdateNameEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's name changed. - TextChannelUpdateNameEvent(JDA, long, TextChannel, String) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNameEvent
- TextChannelUpdateNSFWEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's NSFW status changed. - TextChannelUpdateNSFWEvent(JDA, long, TextChannel, boolean) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateNSFWEvent
- TextChannelUpdateParentEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's parent changed. - TextChannelUpdateParentEvent(JDA, long, TextChannel, Category) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateParentEvent
- TextChannelUpdatePermissionsEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's permission overrides changed. - TextChannelUpdatePermissionsEvent(JDA, long, TextChannel, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePermissionsEvent
- TextChannelUpdatePositionEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's position changed. - TextChannelUpdatePositionEvent(JDA, long, TextChannel, int) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdatePositionEvent
- TextChannelUpdateSlowmodeEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's slowmode changed. - TextChannelUpdateSlowmodeEvent(JDA, long, TextChannel, int) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateSlowmodeEvent
- TextChannelUpdateTopicEvent - Class in net.dv8tion.jda.core.events.channel.text.update
-
Indicates that a
TextChannel
's topic changed. - TextChannelUpdateTopicEvent(JDA, long, TextChannel, String) - Constructor for class net.dv8tion.jda.core.events.channel.text.update.TextChannelUpdateTopicEvent
- ThreadLocalReason - Class in net.dv8tion.jda.core.audit
-
Thread-Local audit-log reason used automatically by
AuditableRestAction
instances when no other reason was set. - ThreadLocalReason.Closable - Class in net.dv8tion.jda.core.audit
-
Allows to use try-with-resources blocks for setting reasons
- ThreadPoolProvider<T extends java.util.concurrent.ExecutorService> - Interface in net.dv8tion.jda.bot.sharding
-
Called by
DefaultShardManager
when building a JDA instance. - Thumbnail(String, String, int, int) - Constructor for class net.dv8tion.jda.core.entities.MessageEmbed.Thumbnail
- TIMESTAMP_OFFSET - Static variable in class net.dv8tion.jda.core.utils.MiscUtil
- Timestamps(long, long) - Constructor for class net.dv8tion.jda.core.entities.RichPresence.Timestamps
- TITLE_MAX_LENGTH - Static variable in class net.dv8tion.jda.core.entities.MessageEmbed
-
The maximum length an embed title can have
- toCompletableFuture() - Method in interface net.dv8tion.jda.core.requests.RequestFuture
-
This method is unsupported by the current implementation!
- toCompletableFuture() - Method in class net.dv8tion.jda.core.utils.Promise
- toEnumSet(long) - Static method in enum net.dv8tion.jda.core.Permission
-
Constructs an
EnumSet
from the provided permissions bitmask. - toJSONObject() - Method in class net.dv8tion.jda.core.entities.MessageEmbed
-
Creates a new
JSONObject
used for sending. - toJSONString() - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.ChannelData
- toJSONString() - Method in class net.dv8tion.jda.core.requests.restaction.GuildAction.RoleData
- toJSONString() - Method in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- TOO_MANY_REACTIONS - net.dv8tion.jda.core.requests.ErrorResponse
- TOPIC - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the topic field
- toString() - Method in class net.dv8tion.jda.core.audit.AuditLogChange
- toString() - Method in class net.dv8tion.jda.core.audit.AuditLogEntry
- toString() - Method in enum net.dv8tion.jda.core.audit.AuditLogKey
- toString() - Method in enum net.dv8tion.jda.core.audit.AuditLogOption
- toString() - Method in class net.dv8tion.jda.core.entities.Game
- toString() - Method in class net.dv8tion.jda.core.entities.Guild.Ban
- toString() - Method in class net.dv8tion.jda.core.entities.MessageReaction.ReactionEmote
- toString() - Method in class net.dv8tion.jda.core.entities.MessageReaction
- toString() - Method in class net.dv8tion.jda.core.entities.RichPresence.Image
- toString() - Method in class net.dv8tion.jda.core.entities.RichPresence.Party
- toString() - Method in class net.dv8tion.jda.core.entities.RichPresence.Timestamps
- toString() - Method in class net.dv8tion.jda.core.entities.RichPresence
- toString() - Method in class net.dv8tion.jda.core.events.channel.category.update.GenericCategoryUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.channel.text.update.GenericTextChannelUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.channel.voice.update.GenericVoiceChannelUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.emote.update.GenericEmoteUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.guild.update.GenericGuildUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.role.update.GenericRoleUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.self.GenericSelfUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.events.StatusChangeEvent
- toString() - Method in class net.dv8tion.jda.core.events.user.update.GenericUserUpdateEvent
- toString() - Method in class net.dv8tion.jda.core.JDA.ShardInfo
- toString() - Method in enum net.dv8tion.jda.core.Region
- toString() - Method in enum net.dv8tion.jda.core.requests.CloseCode
- toString() - Method in class net.dv8tion.jda.core.utils.cache.UpstreamReference
- toString() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.Member
- toString() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget
- toString() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceChannel
- toString() - Method in class net.dv8tion.jda.core.utils.WidgetUtil.Widget.VoiceState
- transferOwnership(Member) - Method in class net.dv8tion.jda.core.managers.GuildController
-
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 class net.dv8tion.jda.core.requests.restaction.MessageAction
-
Enable/Disable Text-To-Speech for the resulting message.
- TWO_FACTOR_AUTH - net.dv8tion.jda.core.entities.Guild.MFALevel
- type - Variable in class net.dv8tion.jda.core.requests.restaction.PermOverrideData
- type(ActionType) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
ActionType
- TYPE - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible option indicating the type of an entity.
U
- UNAUTHORIZED - net.dv8tion.jda.core.requests.ErrorResponse
- UnavailableGuildJoinedEvent - Class in net.dv8tion.jda.core.events.guild
-
Indicates that you joined a
Guild
that is not yet available. - UnavailableGuildJoinedEvent(JDA, long, long) - Constructor for class net.dv8tion.jda.core.events.guild.UnavailableGuildJoinedEvent
- unban(String) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Unbans the a user specified by the userId from this Guild.
- unban(User) - Method in class net.dv8tion.jda.core.managers.GuildController
-
Unbans the specified
User
from this Guild. - UNBAN - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has unbanned a user.
- unblockUser() - Method in interface net.dv8tion.jda.client.entities.BlockedUser
- UNDERLINE - net.dv8tion.jda.core.MessageBuilder.Formatting
- UnifiedMemberCacheView - Interface in net.dv8tion.jda.core.utils.cache
- UnifiedShardCacheViewImpl(Supplier<Stream<ShardCacheView>>) - Constructor for class net.dv8tion.jda.bot.utils.cache.impl.ShardCacheViewImpl.UnifiedShardCacheViewImpl
- UNKNOWN - net.dv8tion.jda.client.entities.RelationshipType
- UNKNOWN - net.dv8tion.jda.core.audio.VoiceCode.Close
- UNKNOWN - net.dv8tion.jda.core.audit.ActionType
- UNKNOWN - net.dv8tion.jda.core.audit.TargetType
- UNKNOWN - net.dv8tion.jda.core.entities.ChannelType
-
Unknown Discord channel type.
- UNKNOWN - net.dv8tion.jda.core.entities.EmbedType
- UNKNOWN - net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
- UNKNOWN - net.dv8tion.jda.core.entities.Guild.MFALevel
- UNKNOWN - net.dv8tion.jda.core.entities.Guild.NotificationLevel
- UNKNOWN - net.dv8tion.jda.core.entities.Guild.VerificationLevel
- UNKNOWN - net.dv8tion.jda.core.entities.Invite.InviteType
- UNKNOWN - net.dv8tion.jda.core.entities.MessageType
-
Unknown MessageType.
- UNKNOWN - net.dv8tion.jda.core.OnlineStatus
- UNKNOWN - net.dv8tion.jda.core.Permission
- UNKNOWN - net.dv8tion.jda.core.Region
- UNKNOWN_ACCOUNT - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_APPLICATION - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_BAN - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_CHANNEL - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_EMOJI - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_ENCRYPTION_MODE - net.dv8tion.jda.core.audio.VoiceCode.Close
- UNKNOWN_ERROR - net.dv8tion.jda.core.requests.CloseCode
- UNKNOWN_GUILD - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_INTEGRATION - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_INVITE - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_MEMBER - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_MESSAGE - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_OP_CODE - net.dv8tion.jda.core.audio.VoiceCode.Close
- UNKNOWN_OPCODE - net.dv8tion.jda.core.requests.CloseCode
- UNKNOWN_OVERRIDE - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_PROTOCOL - net.dv8tion.jda.core.audio.VoiceCode.Close
- UNKNOWN_PROVIDER - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_ROLE - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_TOKEN - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_USER - net.dv8tion.jda.core.requests.ErrorResponse
- UNKNOWN_WEBHOOK - net.dv8tion.jda.core.requests.ErrorResponse
- unpin() - Method in interface net.dv8tion.jda.core.entities.Message
-
Used to remove the Message from the
MessageChannel's
pinned message list. - unpinMessageById(long) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Used to unpin a message.
- unpinMessageById(String) - Method in interface net.dv8tion.jda.core.entities.MessageChannel
-
Used to unpin a message.
- unregister(Object) - Method in class net.dv8tion.jda.core.hooks.AnnotatedEventManager
- unregister(Object) - Method in interface net.dv8tion.jda.core.hooks.IEventManager
-
Removes the specified listener
- unregister(Object) - Method in class net.dv8tion.jda.core.hooks.InterfacedEventManager
- UpdateEvent<E,T> - Interface in net.dv8tion.jda.core.events
-
Indicates that a value of an entity was updated
- UpstreamReference<T> - Class in net.dv8tion.jda.core.utils.cache
- UpstreamReference(T) - Constructor for class net.dv8tion.jda.core.utils.cache.UpstreamReference
- UpstreamReference(T, ReferenceQueue<? super T>) - Constructor for class net.dv8tion.jda.core.utils.cache.UpstreamReference
- URL_MAX_LENGTH - Static variable in class net.dv8tion.jda.core.entities.MessageEmbed
-
The maximum length any URL can have inside an embed
- URL_PATTERN - Static variable in class net.dv8tion.jda.core.EmbedBuilder
- US_CENTRAL - net.dv8tion.jda.core.Region
- US_EAST - net.dv8tion.jda.core.Region
- US_SOUTH - net.dv8tion.jda.core.Region
- US_WEST - net.dv8tion.jda.core.Region
- user(long) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(String) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
id. - user(User) - Method in class net.dv8tion.jda.core.requests.restaction.pagination.AuditLogPaginationAction
-
Filters retrieved entities by the specified
User
. - User - Interface in net.dv8tion.jda.core.entities
-
Represents a Discord User.
- USER - net.dv8tion.jda.core.audit.AuditLogOption
-
Possible secondary target of an
ActionType
such asActionType.CHANNEL_OVERRIDE_CREATE
Use withJDA.getUserById(String)
- USER - net.dv8tion.jda.core.entities.Message.MentionType
- USER_AGENT - Static variable in class net.dv8tion.jda.webhook.WebhookClient
- USER_DISCONNECT - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- USER_SPEAKING_UPDATE - Static variable in class net.dv8tion.jda.core.audio.VoiceCode
- UserAudio - Class in net.dv8tion.jda.core.audio
-
Represents a packet of User specific audio.
- UserAudio(User, short[]) - Constructor for class net.dv8tion.jda.core.audio.UserAudio
- UserBlockedEvent - Class in net.dv8tion.jda.client.events.relationship
- UserBlockedEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.UserBlockedEvent
- USERLIMIT - Static variable in class net.dv8tion.jda.core.managers.ChannelManager
-
Used to reset the userlimit field
- UserSettings - Interface in net.dv8tion.jda.client.entities
- UserTypingEvent - Class in net.dv8tion.jda.core.events.user
-
Indicates that a
User
started typing. - UserTypingEvent(JDA, long, User, MessageChannel, OffsetDateTime) - Constructor for class net.dv8tion.jda.core.events.user.UserTypingEvent
- UserUnblockedEvent - Class in net.dv8tion.jda.client.events.relationship
- UserUnblockedEvent(JDA, long, Relationship) - Constructor for class net.dv8tion.jda.client.events.relationship.UserUnblockedEvent
- UserUpdateAvatarEvent - Class in net.dv8tion.jda.core.events.user.update
-
Indicates that the Avatar of a
User
changed. - UserUpdateAvatarEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.core.events.user.update.UserUpdateAvatarEvent
- UserUpdateDiscriminatorEvent - Class in net.dv8tion.jda.core.events.user.update
-
Indicates that the discriminator of a
User
changed. - UserUpdateDiscriminatorEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.core.events.user.update.UserUpdateDiscriminatorEvent
- UserUpdateGameEvent - Class in net.dv8tion.jda.core.events.user.update
- UserUpdateGameEvent(JDA, long, User, Guild, Game) - Constructor for class net.dv8tion.jda.core.events.user.update.UserUpdateGameEvent
- UserUpdateNameEvent - Class in net.dv8tion.jda.core.events.user.update
-
Indicates that the username of a
User
changed. - UserUpdateNameEvent(JDA, long, User, String) - Constructor for class net.dv8tion.jda.core.events.user.update.UserUpdateNameEvent
- UserUpdateOnlineStatusEvent - Class in net.dv8tion.jda.core.events.user.update
-
Indicates that the
OnlineStatus
of aUser
changed. - UserUpdateOnlineStatusEvent(JDA, long, User, Guild, OnlineStatus) - Constructor for class net.dv8tion.jda.core.events.user.update.UserUpdateOnlineStatusEvent
- useSharding(int, int) - Method in class net.dv8tion.jda.core.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.core.entities.MessageEmbed
-
The maximum length an embed field value can have
- valueOf(String) - Static method in enum net.dv8tion.jda.client.entities.RelationshipType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.AccountType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audio.AudioEncryption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audio.ConnectionStage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audio.hooks.ConnectionStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audio.SpeakingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audio.VoiceCode.Close
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audit.ActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audit.AuditLogKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audit.AuditLogOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.audit.TargetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.ActivityFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.EmbedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Game.GameType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Guild.ExplicitContentLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Guild.MFALevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Guild.NotificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Guild.Timeout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Guild.VerificationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Invite.InviteType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.Message.MentionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.entities.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.JDA.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.MessageBuilder.Formatting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.OnlineStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.Permission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.Region
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.requests.CloseCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.requests.ErrorResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.requests.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.utils.cache.CacheFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.utils.WidgetUtil.BannerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.dv8tion.jda.core.utils.WidgetUtil.WidgetTheme
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.dv8tion.jda.client.entities.RelationshipType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.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.core.audio.AudioEncryption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.audio.ConnectionStage
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.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.core.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.core.audio.VoiceCode.Close
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.entities.Game.GameType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.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.core.requests.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.dv8tion.jda.core.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.core.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.core.utils.WidgetUtil.WidgetTheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERIFICATION_ERROR - net.dv8tion.jda.core.requests.ErrorResponse
- VERIFICATION_LEVEL - Static variable in class net.dv8tion.jda.core.managers.GuildManager
-
Used to reset the verification level field
- VerificationLevelException - Exception in net.dv8tion.jda.client.exceptions
- VerificationLevelException(Guild.VerificationLevel) - Constructor for exception net.dv8tion.jda.client.exceptions.VerificationLevelException
- VERSION - Static variable in class net.dv8tion.jda.core.JDAInfo
- VERSION_BUILD - Static variable in class net.dv8tion.jda.core.JDAInfo
- VERSION_MAJOR - Static variable in class net.dv8tion.jda.core.JDAInfo
- VERSION_MINOR - Static variable in class net.dv8tion.jda.core.JDAInfo
- VERSION_REVISION - Static variable in class net.dv8tion.jda.core.JDAInfo
- VERY_HIGH - net.dv8tion.jda.core.entities.Guild.VerificationLevel
- VIDEO - net.dv8tion.jda.core.entities.EmbedType
- VideoInfo(String, int, int) - Constructor for class net.dv8tion.jda.core.entities.MessageEmbed.VideoInfo
- VIEW_AUDIT_LOGS - net.dv8tion.jda.core.Permission
- VIEW_CHANNEL - net.dv8tion.jda.core.Permission
- VIP_AMSTERDAM - net.dv8tion.jda.core.Region
- VIP_BRAZIL - net.dv8tion.jda.core.Region
- VIP_EU_CENTRAL - net.dv8tion.jda.core.Region
- VIP_EU_WEST - net.dv8tion.jda.core.Region
- VIP_FRANKFURT - net.dv8tion.jda.core.Region
- VIP_JAPAN - net.dv8tion.jda.core.Region
- VIP_LONDON - net.dv8tion.jda.core.Region
- VIP_SINGAPORE - net.dv8tion.jda.core.Region
- VIP_SOUTH_AFRICA - net.dv8tion.jda.core.Region
- VIP_SYDNEY - net.dv8tion.jda.core.Region
- VIP_US_CENTRAL - net.dv8tion.jda.core.Region
- VIP_US_EAST - net.dv8tion.jda.core.Region
- VIP_US_SOUTH - net.dv8tion.jda.core.Region
- VIP_US_WEST - net.dv8tion.jda.core.Region
- VOICE - net.dv8tion.jda.core.audio.SpeakingMode
- VOICE - net.dv8tion.jda.core.entities.ChannelType
-
A
VoiceChannel
, Guild-Only. - VOICE_CONNECT - net.dv8tion.jda.core.Permission
- VOICE_DEAF_OTHERS - net.dv8tion.jda.core.Permission
- VOICE_MOVE_OTHERS - net.dv8tion.jda.core.Permission
- VOICE_MUTE_OTHERS - net.dv8tion.jda.core.Permission
- VOICE_SPEAK - net.dv8tion.jda.core.Permission
- VOICE_STATE - net.dv8tion.jda.core.utils.cache.CacheFlag
-
Enables cache for
Member.getVoiceState()
This will always be cached for self member. - VOICE_STATE - Static variable in class net.dv8tion.jda.core.WebSocketCode
- VOICE_USE_VAD - net.dv8tion.jda.core.Permission
- VoiceChannel - Interface in net.dv8tion.jda.core.entities
-
Represents a Discord Voice Channel.
- VoiceChannelCreateEvent - Class in net.dv8tion.jda.core.events.channel.voice
-
Indicates that a
VoiceChannel
was created. - VoiceChannelCreateEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.channel.voice.VoiceChannelCreateEvent
- VoiceChannelDeleteEvent - Class in net.dv8tion.jda.core.events.channel.voice
-
Indicates that a
VoiceChannel
was deleted. - VoiceChannelDeleteEvent(JDA, long, VoiceChannel) - Constructor for class net.dv8tion.jda.core.events.channel.voice.VoiceChannelDeleteEvent
- VoiceChannelUpdateBitrateEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's bitrate changed. - VoiceChannelUpdateBitrateEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateBitrateEvent
- VoiceChannelUpdateNameEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's name changed. - VoiceChannelUpdateNameEvent(JDA, long, VoiceChannel, String) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateNameEvent
- VoiceChannelUpdateParentEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's parent changed. - VoiceChannelUpdateParentEvent(JDA, long, VoiceChannel, Category) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateParentEvent
- VoiceChannelUpdatePermissionsEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's permission overrides changed. - VoiceChannelUpdatePermissionsEvent(JDA, long, VoiceChannel, List<IPermissionHolder>) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
- VoiceChannelUpdatePositionEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's position changed. - VoiceChannelUpdatePositionEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdatePositionEvent
- VoiceChannelUpdateUserLimitEvent - Class in net.dv8tion.jda.core.events.channel.voice.update
-
Indicates that a
VoiceChannel
's user limit changed. - VoiceChannelUpdateUserLimitEvent(JDA, long, VoiceChannel, int) - Constructor for class net.dv8tion.jda.core.events.channel.voice.update.VoiceChannelUpdateUserLimitEvent
- VoiceCode - Class in net.dv8tion.jda.core.audio
- VoiceCode() - Constructor for class net.dv8tion.jda.core.audio.VoiceCode
- VoiceCode.Close - Enum in net.dv8tion.jda.core.audio
- VoiceState - Interface in net.dv8tion.jda.core.entities
W
- WAITING_TO_RECONNECT - net.dv8tion.jda.core.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.core.events.role.update.RoleUpdateHoistedEvent
-
Whether the role was hoisted
- wasMentionable() - Method in class net.dv8tion.jda.core.events.role.update.RoleUpdateMentionableEvent
-
Whether the role was mentionable
- wasMfaEnabled() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateMFAEvent
-
Whether MFA was previously enabled or not
- wasMobile() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateMobileEvent
-
The old mobile status.
- wasNitro() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateNitroEvent
-
Whether or not a nitro subscription used to be active before.
- wasVerified() - Method in class net.dv8tion.jda.core.events.self.SelfUpdateVerifiedEvent
-
Whether the account was verified
- watching(String) - Static method in class net.dv8tion.jda.core.entities.Game
-
Creates a new Game instance with the specified name.
- WATCHING - net.dv8tion.jda.core.entities.Game.GameType
-
Used to indicate that the
Game
should display asWatching...
in the official client. - Webhook - Interface in net.dv8tion.jda.core.entities
-
An object representing Webhooks in Discord
- WEBHOOK - net.dv8tion.jda.core.audit.TargetType
- WEBHOOK_CHANNEL - net.dv8tion.jda.core.audit.AuditLogKey
- WEBHOOK_CREATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has created a
Webhook
. - WEBHOOK_ICON - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Webhook.getDefaultUser()
's avatar hash of a Webhook. - WEBHOOK_NAME - net.dv8tion.jda.core.audit.AuditLogKey
-
Change of the
Webhook.getName()
value. - WEBHOOK_REMOVE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has deleted a
Webhook
. - WEBHOOK_UPDATE - net.dv8tion.jda.core.audit.ActionType
-
An Administrator has updated a
Webhook
. - WEBHOOK_URL - Static variable in class net.dv8tion.jda.webhook.WebhookClient
- WebhookAction - Class in net.dv8tion.jda.core.requests.restaction
-
Webhook
Builder system created as an extension ofRestAction
Provides an easy way to gather and deliver information to Discord to createWebhooks
. - WebhookAction(JDA, Route.CompiledRoute, String) - Constructor for class net.dv8tion.jda.core.requests.restaction.WebhookAction
- WebhookClient - Class in net.dv8tion.jda.webhook
-
WebhookClient representing an executable
Webhook
This client allows to send messages to a Discord Webhook without reliance on a JDA instance/Webhook entity. - WebhookClientBuilder - Class in net.dv8tion.jda.webhook
-
Builder that creates a new
WebhookClient
instance - WebhookClientBuilder(long, String) - Constructor for class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Creates a new WebhookClientBuilder with the provided id and token
- WebhookClientBuilder(String) - Constructor for class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Creates a new WebhookClientBuilder with the provided webhook URL
- WebhookClientBuilder(Webhook) - Constructor for class net.dv8tion.jda.webhook.WebhookClientBuilder
-
Creates a new WebhookClientBuilder with the provided id and token
- WebhookClientBuilder.DefaultWebhookThreadFactory - Class in net.dv8tion.jda.webhook
- WebhookCluster - Class in net.dv8tion.jda.webhook
-
A central collection of
WebhookClients
which allows to broadcast (WebhookCluster.broadcast(WebhookMessage)
) or multicast (WebhookCluster.multicast(Predicate, WebhookMessage)
) to all registered clients (receivers). - WebhookCluster() - Constructor for class net.dv8tion.jda.webhook.WebhookCluster
-
Creates a new WebhookCluster with default initial capacity and no registered
WebhookClients
- WebhookCluster(int) - Constructor for class net.dv8tion.jda.webhook.WebhookCluster
-
Creates a new WebhookCluster with the specified initial capacity.
- WebhookCluster(Collection<? extends WebhookClient>) - Constructor for class net.dv8tion.jda.webhook.WebhookCluster
-
Creates a new WebhookCluster with the provided
WebhookClients
as initial client cache. - WebhookManager - Class in net.dv8tion.jda.core.managers
-
Manager providing functionality to update one or more fields for a
Webhook
. - WebhookManager(Webhook) - Constructor for class net.dv8tion.jda.core.managers.WebhookManager
-
Creates a new WebhookManager instance
- WebhookMessage - Class in net.dv8tion.jda.webhook
-
A special Message that can only be sent to a
WebhookClient
. - WebhookMessageBuilder - Class in net.dv8tion.jda.webhook
-
Builder for a
WebhookMessage
- WebhookMessageBuilder() - Constructor for class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Creates a new empty WebhookMessageBuilder
- WebhookMessageBuilder(Message) - Constructor for class net.dv8tion.jda.webhook.WebhookMessageBuilder
-
Creates a new WebhookMessageBuilder and applies the information of the provided
Message
as preset values. - WebSocketCode - Class in net.dv8tion.jda.core
-
WebSocket OP Codes for discord
Used inWebSocketClient
to handle discord payloads and send payloads with central readable OP Codes - WebSocketCode() - Constructor for class net.dv8tion.jda.core.WebSocketCode
- WIDGET_HTML - Static variable in class net.dv8tion.jda.core.utils.WidgetUtil
- WIDGET_PNG - Static variable in class net.dv8tion.jda.core.utils.WidgetUtil
- WIDGET_URL - Static variable in class net.dv8tion.jda.core.utils.WidgetUtil
- WidgetUtil - Class in net.dv8tion.jda.core.utils
-
The WidgetUtil is a class for interacting with various facets of Discord's guild widgets
- WidgetUtil() - Constructor for class net.dv8tion.jda.core.utils.WidgetUtil
- WidgetUtil.BannerType - Enum in net.dv8tion.jda.core.utils
-
Represents the available banner types
Each of these has a different appearance: - WidgetUtil.Widget - Class in net.dv8tion.jda.core.utils
- WidgetUtil.Widget.Member - Class in net.dv8tion.jda.core.utils
- WidgetUtil.Widget.VoiceChannel - Class in net.dv8tion.jda.core.utils
- WidgetUtil.Widget.VoiceState - Class in net.dv8tion.jda.core.utils
- WidgetUtil.WidgetTheme - Enum in net.dv8tion.jda.core.utils
-
Represents the color scheme of the widget
These color themes match Discord's dark and light themes - withInputStream(IOConsumer<InputStream>) - Method in class net.dv8tion.jda.core.entities.Message.Attachment
-
Allows to access the InputStream that is available from the HTTP
Response
to be used without having to copy it.
X
- XSALSA20_POLY1305 - net.dv8tion.jda.core.audio.AudioEncryption
- XSALSA20_POLY1305_LITE - net.dv8tion.jda.core.audio.AudioEncryption
- XSALSA20_POLY1305_SUFFIX - net.dv8tion.jda.core.audio.AudioEncryption
Z
- ZERO_WIDTH_SPACE - Static variable in class net.dv8tion.jda.core.EmbedBuilder
All Classes All Packages