diff --git a/src/main/java/com/the5gi/DeepJ/Translator.java b/src/main/java/com/the5gi/DeepJ/Translator.java index 753b3af..1d29734 100644 --- a/src/main/java/com/the5gi/DeepJ/Translator.java +++ b/src/main/java/com/the5gi/DeepJ/Translator.java @@ -20,6 +20,11 @@ public class Translator { private Request request; public Translator() { if (globalAuthKey == null) { +/* +[DeepJ] You are currently using the Global Auth Key Translator Constructor. +[DeepJ] If you are trying to use global auth keys, Call the method "Translator.setGlobalAuthKey(String key)" and then re-use this contructor. +[DeepJ] If you want to define a different authkey every time do: "new Translator(String authKey)" +*/ System.out.println("\n[DeepJ] You are currently using the Global Auth Key Translator Constructor." + "\n[DeepJ] If you are trying to use global auth keys, Call the method \"Translator.setGlobalAuthKey(String key)\" and then re-use this contructor." + "\n[DeepJ] If you want to define an different authkey every time do: \"new Translator(String authKey)\"\n"); @@ -29,6 +34,10 @@ public class Translator { } public Translator(String authKey) { if (!Objects.equals(globalAuthKey, "null")) { +/* +[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing "new Traslator()" +instead of "new Translator(String authKey)". NOTE: This will work but just some advice :) +*/ System.out.println("[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing \"new Traslator()\"" + "\n instead of \"new Translator(String authKey)\". NOTE: This will work but just some advice :)"); } @@ -36,6 +45,10 @@ public class Translator { } public Translator(String authKey, boolean silence) { if (!Objects.equals(globalAuthKey, "null") && !silence) { +/* +[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing "new Traslator()" +instead of "new Translator(String authKey)". NOTE: This will work but just some advice :) +*/ System.out.println("[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing \"new Traslator()\"" + "\n instead of \"new Translator(String authKey)\". NOTE: This will work but this is just some advice :)"); }