mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2025-05-11 13:15:08 +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 {
|
public class Discord {
|
||||||
|
|
||||||
private final JDABuilder jdaBuilder;
|
private final JDABuilder jdaBuilder;
|
||||||
private JDA jda = null;
|
private static JDA jda = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures the bot to make it ready to launch
|
* Configures the bot to make it ready to launch
|
||||||
@ -105,7 +105,7 @@ public class Discord {
|
|||||||
* @return the jda instance
|
* @return the jda instance
|
||||||
* @since 1.2
|
* @since 1.2
|
||||||
*/
|
*/
|
||||||
public JDA getJda() {
|
public static JDA getJda() {
|
||||||
return jda;
|
return jda;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user