From dc1ddb2edacc51440ec4a024da8af011bb20c7e3 Mon Sep 17 00:00:00 2001 From: ByteDream Date: Mon, 14 Dec 2020 19:35:31 +0100 Subject: [PATCH] Add jda getter --- src/org/bytedream/untisbot/discord/Discord.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/org/bytedream/untisbot/discord/Discord.java b/src/org/bytedream/untisbot/discord/Discord.java index 3346378..cdda307 100755 --- a/src/org/bytedream/untisbot/discord/Discord.java +++ b/src/org/bytedream/untisbot/discord/Discord.java @@ -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; + } + }