Package net.dv8tion.jda.core
The core JDA features that are both available for
BOT and CLIENT applications.
This package contains information about the JDA version used by this library.
See JDAInfo
!
It includes enums that can be found at various locations throughout net.dv8tion.jda
not only the core package!
To build a JDA instance you
would use the JDABuilder
with a specified AccountType
to differ between a bot and a client account. Client accounts are commonly referenced as User accounts due to them being used by
the official Discord Client.
It is recommended to not automate accounts from AccountType CLIENT
!
In addition this package included helpful builders for message sending such as:
MessageBuilder
Used to build aMessage
which can be used to send a message to aMessageChannel
together with anMessageEmbed
and Text-To-Speech!EmbedBuilder
Used to build aMessageEmbed
which can then be used in the message sending process (see above)
-
Interface Summary Interface Description JDA The core of JDA.MessageBuilder.SplitPolicy Interface to allow custom implementation of Splitting rules forMessageBuilder.buildAll(SplitPolicy...)
. -
Class Summary Class Description EmbedBuilder Builder system used to buildMessageEmbeds
.JDA.ShardInfo Represents the information used to create this shard.JDABuilder Used to create newJDA
instances.JDAInfo Contains information to this specific build of JDA.MessageBuilder Builder system used to buildMessages
.MessageBuilder.SplitPolicy.CharSequenceSplitPolicy DefaultMessageBuilder.SplitPolicy
implementation.WebSocketCode WebSocket OP Codes for discord
Used inWebSocketClient
to handle discord payloads and send payloads with central readable OP Codes -
Enum Summary Enum Description AccountType Represents the type of account that is logged in.JDA.Status Represents the connection status of JDA and its Main WebSocket.MessageBuilder.Formatting Holds the available formatting used inMessageBuilder.append(java.lang.CharSequence, net.dv8tion.jda.core.MessageBuilder.Formatting...)
OnlineStatus Permission Represents the bit offsets used by Discord for Permissions.Region Represents the Regions used for Audio connections.