mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2026-11-04 11:22:08 +01:00
Add jda getter
This commit is contained in:
1 parent
7cd5fcd066
commit
dc1ddb2eda
1 file changed
+10
@@ -99,4 +99,14 @@ public class Discord {
|
||||
jda = jdaBuilder.build();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the running jda instance
|
||||
*
|
||||
* @return the jda instance
|
||||
* @since 1.2
|
||||
*/
|
||||
public JDA getJda() {
|
||||
return jda;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user