Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
17e4124
Log when an ActionRow is mutated
freya022 Mar 5, 2025
f527963
Deprecate LayoutComponent#createCopy
freya022 Mar 5, 2025
d8f1039
Deprecate LayoutComponent#getComponents, #getActionComponents, #getBu…
freya022 Mar 5, 2025
0fdd562
Add Section#getContentComponents, update docs
freya022 Mar 5, 2025
66994c4
I forgor
freya022 Mar 5, 2025
9cbb5a2
Make LayoutComponent extend ModalTopLevelComponent
freya022 Mar 5, 2025
deb3cd4
Make a default method body for isMessage/ModalCompatible
freya022 Mar 5, 2025
0c5e3aa
Small refactoring, added a few checks
freya022 Mar 5, 2025
f8f17d3
Remove LayoutComponent from Container and Section
freya022 Mar 5, 2025
39d9931
Deprecate whole LayoutComponent
freya022 Mar 5, 2025
de6b32b
Remove ComponentsUtil leftovers
freya022 Mar 5, 2025
c5e6ad8
Remove Component#createCopy leftover
freya022 Mar 6, 2025
73e586e
Split ComponentTree into MessageComponentTree and ModalComponentTree
freya022 Mar 6, 2025
bc8a7a3
Fix ActionRow#of triggering mutability warnings
freya022 Mar 6, 2025
ca652c6
Fix max limit of total components in tree
freya022 Mar 6, 2025
bcd3e6d
Fix MessageChannelMixin#sendMessageComponents
freya022 Mar 6, 2025
22856b6
Add overloads with Message/ModalComponentTree
freya022 Mar 6, 2025
3f58d2f
Add ComponentTree getters
freya022 Mar 6, 2025
1ab1036
Move trees and iterators to a 'utils' package
freya022 Mar 6, 2025
fbae134
Add static factory for ComponentTree
freya022 Mar 6, 2025
9b98b90
Add ComponentTree#findAll
freya022 Mar 6, 2025
7ed0b4d
Move component trees to `.tree` package
freya022 Mar 6, 2025
314fb22
Small rename
freya022 Mar 6, 2025
dbfbe46
Add ComponentTree factories for message/modal top level and Component…
freya022 Mar 7, 2025
842ea33
Accept ComponentTree with a generic instead of Message/ModalComponent…
freya022 Mar 7, 2025
ea83766
Refactor IReplacerAware
freya022 Mar 7, 2025
87aef5c
Move ModalComponentTree to `interaction.modals.tree`
freya022 Mar 7, 2025
6780adb
Add IDisableable on Container and Section
freya022 Mar 7, 2025
4f24026
Docs
freya022 Mar 7, 2025
6cdb6e5
Add children limits to Container, Section and MediaGallery
freya022 Mar 7, 2025
b9cf8e7
Add checks when building messages
freya022 Mar 7, 2025
d7bfd96
Add checks when building messages
freya022 Mar 7, 2025
c0e31e5
Removed outdated check and todo
freya022 Mar 7, 2025
0405f39
Return ResolvedMedia
freya022 Mar 7, 2025
79c79ec
Add MediaGalleryItem#fromFile
freya022 Mar 7, 2025
9962254
Typo
freya022 Mar 7, 2025
e5b550b
Save data in UnknownComponentImpl
freya022 Mar 7, 2025
715596f
*Component and *ComponentUnion docs
freya022 Mar 7, 2025
ac43112
Rewrite ComponentTree#findAll using ComponentIterator#createStream
freya022 Mar 7, 2025
4e338d2
*ComponentTree docs
freya022 Mar 7, 2025
66abe0f
getComponentTree() docs
freya022 Mar 7, 2025
4f89af4
Remove commented out code
freya022 Mar 7, 2025
cb378c2
Replace `@see` of Component with all component "umbrella" types
freya022 Mar 7, 2025
e8b268d
Message and MessageRequest docs
freya022 Mar 7, 2025
742b867
Use real UnionUtil, modified
freya022 Mar 7, 2025
7d23385
Add missing copyright headers
freya022 Mar 7, 2025
4d7a62c
Fix javadoc
freya022 Mar 7, 2025
62624b3
Add missing nullability annotations
freya022 Mar 7, 2025
539ed71
Fix ComponentsUtil#safeUnionCast
freya022 Mar 7, 2025
b80509b
Rearrange packages
freya022 Mar 8, 2025
767ed80
Container#withAccentColor accepts null
freya022 Mar 8, 2025
5e6f3ee
IDisableable docs
freya022 Mar 8, 2025
6ab3b42
IReplaceable docs
freya022 Mar 8, 2025
96115f3
Container docs
freya022 Mar 8, 2025
2142084
IdentifiableComponent docs
freya022 Mar 8, 2025
cafc536
Implement IdentifiableComponent on ActionComponent, getId -> getUniqueId
freya022 Mar 8, 2025
49ed910
File -> FileDisplay
freya022 Mar 8, 2025
03dc2fa
FileDisplay docs
freya022 Mar 8, 2025
8b156ab
MediaGalleryItem docs + a few missing things
freya022 Mar 8, 2025
4e1408f
Thumbnail docs + a few missing things
freya022 Mar 8, 2025
a5867d4
ResolvedMedia#getContentType may be null
freya022 Mar 8, 2025
b1d5918
Remove ResolvedMedia#getLoadingState
freya022 Mar 8, 2025
d079bd2
Slight refactor
freya022 Mar 8, 2025
00c9cd9
Remove `withUrl` from FileDisplay and Thumbnail
freya022 Mar 8, 2025
80ce3be
Add FileUpload support for FileDisplay and Thumbnail
freya022 Mar 8, 2025
925e632
Fix FileDisplay unique ID being sent when negative
freya022 Mar 8, 2025
d36e6cb
Add ComponentInteraction#getUniqueId
freya022 Mar 8, 2025
733befd
Add missing TEXT_INPUT case in ActionRow#getMaxAllowed
freya022 Mar 8, 2025
74039a9
Rename ModalMapping#getId -> getCustomId
freya022 Mar 8, 2025
e0f172a
Add ModalMapping#getUniqueId, ModalInteraction#getValue with numeric ID
freya022 Mar 8, 2025
c74eb63
Remove ComponentsUtil#isSameIdentifier
freya022 Mar 8, 2025
b651af9
Merge IdentifiableComponent into Component
freya022 Mar 8, 2025
c78cdef
ResolvedMedia docs
freya022 Mar 8, 2025
43e9e0f
Remove test prints
freya022 Mar 8, 2025
5f3730f
Thumbnail and MediaGalleryItem's description are nullable
freya022 Mar 8, 2025
2dd668c
Move AbstractComponentImpl#getFiles to FileContainerMixin, return Stream
freya022 Mar 8, 2025
4ffbcc9
Default width and height of ResolvedMedia to 0
freya022 Mar 8, 2025
c52b151
Append indirect FileUploads when building the multipart body
freya022 Mar 8, 2025
41191ce
Document V2 flag requirement on components
freya022 Mar 8, 2025
303fa66
Document MediaGallery
freya022 Mar 8, 2025
98e4665
Document Section
freya022 Mar 8, 2025
afa4ae7
Document Components V2 character limit
freya022 Mar 8, 2025
e55591b
Document TextDisplay
freya022 Mar 8, 2025
9315c84
Document SelectMenu.Builder#setUniqueId
freya022 Mar 8, 2025
628138c
Document Separator
freya022 Mar 8, 2025
277387f
Rewording
freya022 Mar 8, 2025
4fb621f
Document ComponentReplacer, remove component-specific methods
freya022 Mar 8, 2025
78ed027
Check message content length
freya022 Mar 8, 2025
1e4e658
Move ButtonTests and SelectMenuTests
freya022 Mar 9, 2025
855424f
Test indirect file uploads
freya022 Mar 9, 2025
5cf6f54
Test unknown components cannot be inserted
freya022 Mar 9, 2025
450c562
Test message create/edit validation
freya022 Mar 9, 2025
5a48ce9
Editing a message with a full replacement without components in CV2 i…
freya022 Mar 9, 2025
2bb49e0
Add missing checks
freya022 Mar 9, 2025
22c0244
Add codemods to replace imports and `getId` -> `getCustomId`
freya022 Mar 9, 2025
cdb67bf
Small reformat
freya022 Mar 10, 2025
ddd6c71
ComponentTree#disabledAll => withDisabled/asEnabled/asDisabled
freya022 Mar 14, 2025
88024a9
Check numeric IDs are >=1
freya022 Mar 19, 2025
564c8e5
Remove creating FileDisplay from arbitrary URLs
freya022 Mar 26, 2025
35b2a87
When sending a message with an existing FileDisplay, re-upload the file
freya022 Mar 26, 2025
3e9e56e
Read normal URL when resolved media is not an image/video
freya022 Mar 26, 2025
eedd89e
UnknownComponent docs
freya022 Mar 27, 2025
54f00f2
Remove `@see LayoutComponent`
freya022 Mar 27, 2025
b8e695a
Typos
freya022 Apr 20, 2025
017d884
Fix javadoc
freya022 Apr 20, 2025
a5a34fb
Default TextInput.Builder uniqueId to -1
freya022 Apr 20, 2025
e713afe
Update OpenRewrite BOM, update the status of the nested class bug
freya022 Apr 23, 2025
981a51e
Add temporarily disabled recipe to upgrade dependency version
freya022 Apr 23, 2025
348de3e
Remove top-level and Container children limits, increase the total to 40
freya022 Apr 29, 2025
c7838c9
Don't put content/poll/embeds in `MessageCreateData#toData` when usin…
freya022 Apr 30, 2025
58fab99
Include additional files in `attachments`
freya022 Apr 30, 2025
5b91606
Refactor getting a URL's last path segment, out of FileDisplayImpl
freya022 May 1, 2025
8704cf0
Re-upload existing media gallery items
freya022 May 1, 2025
e7c9d01
Avoid putting the `attachments` field when there are no files
freya022 May 1, 2025
7e575a5
Update limits, display their values
freya022 May 1, 2025
ad44345
Remove leftover of c4790ff5c47aff3012fff283e09900fbd86d77c4
freya022 May 1, 2025
b5e9805
Fix Modal#addComponents docs
freya022 May 1, 2025
b874692
Improve docs
freya022 May 1, 2025
e5651e5
Remove non-null checks on the to-be-replaced-with component
freya022 May 1, 2025
aefa8b4
Add missing annotations
freya022 May 1, 2025
eb88f41
Check for UNKNOWN spacing
freya022 May 1, 2025
7e35724
Improve the discoverability of [Type]ComponentTree
freya022 May 1, 2025
720dc75
Remove wrong example
freya022 May 1, 2025
16af988
Move examples above error responses, use MessageComponentTree
freya022 May 1, 2025
2fc06f8
Improve docs
freya022 May 1, 2025
515a94b
ModalInteraction#getValue(int) -> getValueByUniqueId
freya022 May 1, 2025
17edfbd
Button#withId(String) -> withCustomId
freya022 May 1, 2025
723d75a
Add docs to union cast helpers
freya022 May 1, 2025
e98a9c4
Rename asFile -> asFileDisplay
freya022 May 1, 2025
dbf6f45
Rename asStringSelect -> asStringSelectMenu, same for entity
freya022 May 1, 2025
5dbc218
Add docs to union deserializers
freya022 May 1, 2025
cb9e5bb
Revert package change of buttons and select menus, update codemod
freya022 May 1, 2025
9f11159
Improve docs
freya022 May 1, 2025
23f76ee
Fix original media items using URLs
freya022 May 2, 2025
1a76df5
Implement `#isEnabled` on Container and Section
freya022 May 2, 2025
ef10ab3
Use default implementations for IDisableable methods
freya022 May 2, 2025
2c92887
Reimplement LayoutComponent#updateComponent
freya022 May 2, 2025
bdc2cde
Add hints to Helpers.copyAsUnmodifiableList
freya022 May 2, 2025
edc1f6c
Make ActionRow immutable
freya022 May 2, 2025
779880b
Delegate Button#withId
freya022 May 2, 2025
08b4b1b
Deprecate SelectMenu.Builder#setId, move to setCustomId
freya022 May 2, 2025
813f66a
Improve unique ID docs
freya022 May 3, 2025
6fa712d
Remove "in total" from docs of V1 component limit
freya022 May 3, 2025
d5230ac
Document errors related to editing V2 messages using "V1" content
freya022 May 3, 2025
cca3fe3
Fix ActionRow#partitionOf
freya022 May 3, 2025
bf3efe5
Fix docs
freya022 May 3, 2025
027631c
Add ComponentReplacer#byId, improve docs
freya022 May 3, 2025
e219757
Rename TextDisplay#create -> #of
freya022 May 4, 2025
1108aa6
Rename #getAdditionalFiles -> #getIndirectFiles
freya022 May 4, 2025
e68a5c5
Add examples
freya022 May 5, 2025
cb7556e
Add upload examples on FileDisplay, MediaGalleryItem, Thumbnail
freya022 May 6, 2025
c2e3c84
Add `TextDisplay#ofFormat`
freya022 May 29, 2025
83466fa
Check type in ComponentUnion#isUnknownComponent
freya022 Jun 8, 2025
69345f0
Update UnknownComponent docs
freya022 Jun 8, 2025
de61bec
Document ComponentUnion#isUnknownComponent
freya022 Jun 8, 2025
707e937
Improve limitations doc
freya022 Jun 8, 2025
0aa2e3f
Set AbstractMessageBuilder#isDefaultUseComponentsV2 to protected
freya022 Jun 8, 2025
11c6e43
Simplify AbstractMessageBuilder#<init>
freya022 Jun 8, 2025
17e4784
Example typo
freya022 Jun 8, 2025
89e7265
Improve docs on default CV2 flag
freya022 Jun 8, 2025
73c58a1
Pass merged list to AttachedFile#createMultipartBody
freya022 Jun 8, 2025
119a870
Add missing `@Nonnull`
freya022 Jun 8, 2025
3a16a28
Add `? extends` on ComponentTree arguments
freya022 Jun 8, 2025
e479999
Small rewording
freya022 Jun 8, 2025
d21360b
Reword FileDisplay docs
freya022 Jun 8, 2025
3c50fa7
Rename ComponentReplacer#byId -> #byUniqueId
freya022 Jun 8, 2025
29644e7
Don't reinsert component when replacing with `null`
freya022 Jun 8, 2025
a33e123
Check replaced components are non-empty
freya022 Jun 8, 2025
45340e2
Make sure built or replaced action rows are valid
freya022 Jun 8, 2025
8452cee
Fix ResolvedMedia#getUrl docs
freya022 Jun 8, 2025
f26fcac
Improve example
freya022 Jun 8, 2025
f98c066
Add missing annotation
freya022 Jun 8, 2025
2382fd1
Improve documenting CV2 default status
freya022 Jun 8, 2025
85ef72e
Add `ComponentTree#find(Class, Predicate)`
freya022 Jun 9, 2025
3c79693
Deprecate Message#getButtons, #getButtonById, #getButtonsByLabel
freya022 Jun 9, 2025
912361e
Replace deprecated usages
freya022 Jun 9, 2025
c80f953
Store subclasses of Component in ComponentTree
freya022 Jun 9, 2025
b102cbd
Consolidate `fromData` methods into ComponentUnion and ComponentTree
freya022 Jun 10, 2025
222d119
Improve handling of unknown components
freya022 Jun 10, 2025
ac02d14
Add few docs on component iterators
freya022 Jun 10, 2025
8575392
Encapsulate fields of ComponentPathIterator.ComponentWithPath
freya022 Jun 10, 2025
1767f4d
Privatize ComponentPathIterator.CollectionAttributeIterator
freya022 Jun 10, 2025
816c5b4
Deduplicate file uploads by referential equality
freya022 Jun 10, 2025
d73a4a8
Add snapshot test for ActionRow#getMaxAllowed
freya022 Jun 10, 2025
17251f7
Use JSON for snapshot test of ActionRow#getMaxAllowed
freya022 Jun 10, 2025
dfa372d
Rename ComponentUnion to IComponentUnion
freya022 Jun 10, 2025
5564447
Rename `api.components.selections` to `api.components.selects`
freya022 Jun 10, 2025
4bbddbf
Reupload existing thumbnails
freya022 Jun 11, 2025
48e50e6
Align comments of MediaGalleryItemImpl with ThumbnailImpl
freya022 Jun 11, 2025
a2b82c7
Revert "Rename `api.components.selections` to `api.components.selects`"
freya022 Jun 11, 2025
bae9247
Match IDs generated in the multipart body and the attachment objects
freya022 Jun 11, 2025
499cfdf
Deduplicate attachment update objects
freya022 Jun 11, 2025
3fe9c70
Add automatic retention of existing component attachments
freya022 Jun 11, 2025
30a57b2
Support sending manually-attached FileDisplay(s)
freya022 Jun 11, 2025
0baedc1
Remove example leftover
freya022 Jun 11, 2025
7ce23c8
rewrite: Set JDA version to 6.0.0, enable dependency migration
freya022 Jun 11, 2025
6dcea5c
rewrite: Enable back migration tests of nested classes
freya022 Jun 11, 2025
c6f7647
Add `ComponentReplacer#applyOn(ComponentTree)`
freya022 Jun 11, 2025
92f4c2d
Copy over `uniqueId` when replacing sections
freya022 Jun 16, 2025
7865128
Optionally add CV2 flag in editButton/editSelectMenu
freya022 Jun 26, 2025
8c48001
Add ResolvedMedia#getAttachmentIdLong
freya022 Jun 28, 2025
247658c
Fix typo
freya022 Jun 28, 2025
80825b4
Improve flag check
freya022 Jun 28, 2025
56617cf
Rename getComponentTreeLength to getComponentTreeTextContentLength
freya022 Jun 28, 2025
948376e
Use AssertJ
freya022 Jun 28, 2025
d3cd25e
Don't allow empty ModalComponentTree
freya022 Jun 28, 2025
d0b17a4
Add missing referential equality checks
freya022 Jun 28, 2025
d9da365
Add equals/hashCode to TextInputImpl
freya022 Jun 28, 2025
85373c5
Add missing hashCode/equals/toString updates in ButtonImpl
freya022 Jun 28, 2025
be8550f
Add missing `@Override`
freya022 Jun 28, 2025
b244b2e
Rewording
freya022 Jun 28, 2025
f5d79bf
Message is invalid if content length > 0
freya022 Jun 28, 2025
3ece674
Throw when attachment isn't a FileUpload in MessageCreateData
freya022 Jun 28, 2025
28b71a7
Replace Stack by ArrayDeque
freya022 Jun 28, 2025
1541550
Reformat Component[Path]Iterator
freya022 Jun 28, 2025
aee5639
Add missing `@Override`s
freya022 Jun 28, 2025
5abde6c
Remove obsolete declarations
freya022 Jun 28, 2025
2bf9611
Replace #fromData on concrete components with constructor
freya022 Jun 28, 2025
137a66a
Remove `Component` serializability, always re-upload attachments
freya022 Jun 29, 2025
4229761
Parse attachment ID as an unsigned long
freya022 Jun 29, 2025
0ca45da
Extract FileContainerMixin implementations to ComponentsUtil
freya022 Jun 29, 2025
75f1c4c
Move component deserialization to `Components`
freya022 Jun 29, 2025
9afe016
Add `ComponentTree#getType`
freya022 Jun 29, 2025
2869e91
Test `Components#parseComponent` and `parseTree` are updated
freya022 Jun 29, 2025
c5070b0
Test some cases of invalid ActionRow, Container and Section construction
freya022 Jun 29, 2025
1103c99
Reword ComponentsTests failure messages
freya022 Jun 29, 2025
acc8483
Test `Component[Path]Iterator` are updated with new types
freya022 Jun 29, 2025
8722c6f
Remove ComponentReplacer#applyOn
freya022 Jun 29, 2025
c7a80fa
Rename underscore variables
freya022 Jun 29, 2025
6b0df01
Mark Modal.Builder.addActionRow for removal
freya022 Jun 30, 2025
620fd62
Rename `FileDisplay#fromFile(String)` -> `fromFileName`
freya022 Jul 1, 2025
fe1d66f
Ensure self-returning component methods are overridden in all subclasses
freya022 Jul 11, 2025
0238ffd
Fix Components#parseTree docs
freya022 Jul 12, 2025
f89bacd
Remove ModalTopLevelComponentUnion#fromData
freya022 Jul 12, 2025
eeda7ac
Fix distinct files Set size
freya022 Jul 12, 2025
1764002
Remove mentions of ActionRow being commonly used
freya022 Jul 12, 2025
5e8c796
Update doc examples
freya022 Jul 12, 2025
7295425
Accept regular components when building messages/modals
freya022 Jul 12, 2025
4c6722c
Fix docs of methods accepting trees
freya022 Jul 12, 2025
f04e53c
Remove more ActionRow mentions
freya022 Jul 12, 2025
fdd897b
More example fixes
freya022 Jul 12, 2025
950b943
Prioritize component descriptions rather than FileUpload descriptions
freya022 Jul 12, 2025
3c4c529
Rename "relaxed" ComponentsUtil methods
freya022 Jul 12, 2025
3ecc9bd
Make ArchUnit tests get their sources from SourceSets
freya022 Jul 12, 2025
bd5ed5b
Fix ActionRow#partitionOf
freya022 Jul 12, 2025
6798d81
Create and use ChecksHelper.assertCollectionChecks
freya022 Jul 12, 2025
325c55d
Move migration tests to composite build
freya022 Jul 12, 2025
1059299
Revert "Move migration tests to composite build"
freya022 Jul 12, 2025
36a8d22
Download JDA JAR when building test resources
freya022 Jul 12, 2025
f64aee5
rewrite: Test star imports are replaced, remove comment
freya022 Jul 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ src-old/examples/java/TestReceive.java
src-old/main/java/net/dv8tion/jda/events/audio/AudioMovedEvent.java
src-old/main/java/net/dv8tion/jda/ratelimit/Bucket.java
src-old/main/java/net/dv8tion/jda/ratelimit/RateLimitControl.java

# Recipe jars
src/test/resources/**/*.jar
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ And configurators like:
```java
public RestAction<Void> selfDestruct(MessageChannel channel, String content) {
return channel.sendMessage("The following message will destroy itself in 1 minute!")
.addActionRow(Button.danger("delete", "Delete now")) // further amend message before sending
.addComponents(ActionRow.of(Button.danger("delete", "Delete now"))) // further amend message before sending
.delay(10, SECONDS, scheduler) // after sending, wait 10 seconds
.flatMap((it) -> it.editMessage(content)) // then edit the message
.delay(1, MINUTES, scheduler) // wait another minute
Expand Down
30 changes: 30 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ configure<SourceSetContainer> {
// //
////////////////////////////////////

val recipeParserClasspath by configurations.creating

repositories {
mavenLocal()
Expand Down Expand Up @@ -166,6 +167,25 @@ dependencies {
testImplementation(libs.commons.lang3)
testImplementation(libs.logback.classic)
testImplementation(libs.archunit)

// OpenRewrite
// Import Rewrite's bill of materials.
testImplementation(platform("org.openrewrite.recipe:rewrite-recipe-bom:3.6.1"))

// rewrite-java dependencies only necessary for Java Recipe development
testImplementation("org.openrewrite:rewrite-java")
testImplementation("org.openrewrite.recipe:rewrite-java-dependencies")

// This is supposed to only be the version that corresponds to the current Java version,
// but as there are no toolchain, we include all, they can coexist safely tho.
testRuntimeOnly("org.openrewrite:rewrite-java-8")
testRuntimeOnly("org.openrewrite:rewrite-java-11")
testRuntimeOnly("org.openrewrite:rewrite-java-17")

// For authoring tests for any kind of Recipe
testImplementation("org.openrewrite:rewrite-test")

recipeParserClasspath("net.dv8tion:JDA:5.6.1")
}

fun isNonStable(version: String): Boolean {
Expand Down Expand Up @@ -453,6 +473,16 @@ nexusPublishing {
}
}

val downloadRecipeClasspath by tasks.registering(Copy::class) {
from(recipeParserClasspath)
into("src/test/resources/META-INF/rewrite/classpath")

include("JDA-*.jar")
}

tasks.named("processTestResources").configure {
dependsOn(downloadRecipeClasspath)
}

////////////////////////////////////
// //
Expand Down
2 changes: 2 additions & 0 deletions overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
<li><a target="_blank" href="https://github.com/discord-jda/JDA/blob/master/src/examples/java/MessageLoggerExample.java">Message Logging</a></li>
<li><a target="_blank" href="https://github.com/discord-jda/JDA/blob/master/src/examples/java/SlashBotExample.java">Slash Commands</a></li>
<li><a target="_blank" href="https://github.com/discord-jda/JDA/blob/master/src/examples/java/AudioEchoExample.java">Receiving and Sending Audio</a></li>
<li><a target="_blank" href="https://github.com/discord-jda/JDA/blob/master/src/examples/java/LocalizationExample.java">Localizing application commands</a></li>
<li><a target="_blank" href="https://github.com/discord-jda/JDA/blob/master/src/examples/java/ComponentsV2Example.java">Using components V2</a></li>
</ul>

<p>Other useful resources:
Expand Down
Loading
Loading