Made jda and jda getter static

This commit is contained in:
ByteDream 2020-12-14 19:36:39 +01:00
parent dc1ddb2eda
commit ce9a665edd

View File

@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
public class Discord {
private final JDABuilder jdaBuilder;
private JDA jda = null;
private static JDA jda = null;
/**
* Configures the bot to make it ready to launch
@ -105,7 +105,7 @@ public class Discord {
* @return the jda instance
* @since 1.2
*/
public JDA getJda() {
public static JDA getJda() {
return jda;
}