Package net.dv8tion.jda.api
The api 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 api 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 aMessagewhich can be used to send a message to aMessageChanneltogether with anMessageEmbedand Text-To-Speech!EmbedBuilder
Used to build aMessageEmbedwhich 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 newJDAinstances.JDAInfo Contains information to this specific build of JDA.MessageBuilder Builder system used to buildMessages.MessageBuilder.SplitPolicy.CharSequenceSplitPolicy DefaultMessageBuilder.SplitPolicyimplementation. -
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.api.MessageBuilder.Formatting...)OnlineStatus Represents the online presence of aMember.Permission Represents the bit offsets used by Discord for Permissions.Region Represents the Regions used for Audio connections.