mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2025-05-09 20:25:09 +02:00
Made jda and jda getter static
This commit is contained in:
parent
dc1ddb2eda
commit
ce9a665edd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user