diff --git a/build.gradle.kts b/build.gradle.kts index eee73b6..ee1cde0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,7 +60,7 @@ tasks { archiveVersion.set("") manifest { - attributes["Main-Class"] = "net.projecttl.p.x32.Run" + attributes["Main-Class"] = "net.projecttl.p.x32.Px32" } } } diff --git a/src/main/java/net/projecttl/p/x32/Px32.java b/src/main/java/net/projecttl/p/x32/Px32.java index 9671229..c09a8e6 100644 --- a/src/main/java/net/projecttl/p/x32/Px32.java +++ b/src/main/java/net/projecttl/p/x32/Px32.java @@ -19,7 +19,7 @@ public class Px32 { private void register() { commands.forEach(command -> { jda.upsertCommand(command.getData()).queue(); - log.info("Registered command: {}", command); + log.info("Registered command: {}", command.getData().getName()); }); }