diff --git a/pom.xml b/pom.xml
index e4289cd..6877d9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -114,5 +114,10 @@
provided
+
+ net.dv8tion
+ JDA
+ 5.0.0-alpha.13
+
diff --git a/src/main/java/com/night/nullvalkyrie/Discord/DiscordClientManager.java b/src/main/java/com/night/nullvalkyrie/Discord/DiscordClientManager.java
new file mode 100644
index 0000000..d9f7590
--- /dev/null
+++ b/src/main/java/com/night/nullvalkyrie/Discord/DiscordClientManager.java
@@ -0,0 +1,25 @@
+package com.night.nullvalkyrie.Discord;
+import net.dv8tion.jda.api.JDA;
+import net.dv8tion.jda.api.JDABuilder;
+import net.dv8tion.jda.api.entities.Activity;
+
+import javax.security.auth.login.LoginException;
+
+
+public class DiscordClientManager {
+ private JDA jda;
+ public DiscordClientManager() {
+ register();
+ }
+ public void register() {
+ JDABuilder builder = JDABuilder.createDefault("OTk3ODczMzgyNjM0ODM2MDQ5.GTalga.2uMZE-S0t2yL-3jsglrpG9lMbIHHBMAedVZA4U");
+ builder.setActivity(Activity.streaming("cath.exe", "https://www.youtube.com/watch?v=YSKDu1gKntY"));
+ try {
+ jda = builder.build();
+ } catch (LoginException e) {
+ e.printStackTrace();
+ }
+ }
+
+
+}
diff --git a/src/main/java/com/night/nullvalkyrie/Main.java b/src/main/java/com/night/nullvalkyrie/Main.java
index 4a0cb69..7e2008f 100644
--- a/src/main/java/com/night/nullvalkyrie/Main.java
+++ b/src/main/java/com/night/nullvalkyrie/Main.java
@@ -1,6 +1,7 @@
package com.night.nullvalkyrie;
import com.night.nullvalkyrie.Chests.MenuListener;
+import com.night.nullvalkyrie.Discord.DiscordClientManager;
import com.night.nullvalkyrie.Enchantments.EnchantmentManager;
import com.night.nullvalkyrie.Events.CustomItemEvents;
import com.night.nullvalkyrie.Items.CustomItemManager;
@@ -24,7 +25,6 @@ import java.io.File;
public final class Main extends JavaPlugin implements Listener {
private BossBar bossbar;
private CustomItemManager customItemManager;
-
public CustomItemManager getCustomItemManager() {
return customItemManager;
}
@@ -52,6 +52,8 @@ public final class Main extends JavaPlugin implements Listener {
Bukkit.getPluginManager().registerEvents(new CustomItemEvents(this), this);
Bukkit.getPluginManager().registerEvents(new SpawnCommand(this), this);
new EnchantmentManager();
+ new DiscordClientManager();
+
customItemManager = new CustomItemManager(this);
}