mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2026-11-04 19:22:42 +01:00
Made jda and jda getter static
This commit is contained in:
1 parent
dc1ddb2eda
commit
ce9a665edd
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user