From 40217d55e76a4ffea634f75eaa875c375b7a1b73 Mon Sep 17 00:00:00 2001
From: freya02 <41875020+freya022@users.noreply.github.com>
Date: Fri, 18 Oct 2024 22:36:09 +0200
Subject: [PATCH] Add note about entry points in Commands#fromList
---
.../jda/api/interactions/commands/build/Commands.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/net/dv8tion/jda/api/interactions/commands/build/Commands.java b/src/main/java/net/dv8tion/jda/api/interactions/commands/build/Commands.java
index 344ce301b5..4cd6de3d87 100644
--- a/src/main/java/net/dv8tion/jda/api/interactions/commands/build/Commands.java
+++ b/src/main/java/net/dv8tion/jda/api/interactions/commands/build/Commands.java
@@ -159,6 +159,8 @@ public static EntryPointCommandData entryPoint(@Nonnull String name, @Nonnull St
* Parses the provided serialization back into an CommandData instance.
*
This is the reverse function for {@link CommandData#toData()}.
*
+ *
Note: This does not take into account {@link #entryPoint(String, String) entry point commands}.
+ *
* @param array
* Array of serialized {@link DataObject} representing the commands
*
@@ -171,6 +173,7 @@ public static EntryPointCommandData entryPoint(@Nonnull String name, @Nonnull St
*
* @see CommandData#fromData(DataObject)
* @see SlashCommandData#fromData(DataObject)
+ * @see EntryPointCommandData#fromData(DataObject)
*/
@Nonnull
public static List Note: This does not take into account {@link #entryPoint(String, String) entry point commands}.
+ *
* @param collection
* Collection of serialized {@link DataObject} representing the commands
*
@@ -197,6 +202,7 @@ public static List
This is the reverse function for {@link CommandData#toData()}.
*
+ *