mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2025-05-09 20:25:09 +02:00
Add jda getter
This commit is contained in:
parent
7cd5fcd066
commit
dc1ddb2eda
@ -99,4 +99,14 @@ public class Discord {
|
|||||||
jda = jdaBuilder.build();
|
jda = jdaBuilder.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the running jda instance
|
||||||
|
*
|
||||||
|
* @return the jda instance
|
||||||
|
* @since 1.2
|
||||||
|
*/
|
||||||
|
public JDA getJda() {
|
||||||
|
return jda;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user