diff --git a/pom.xml b/pom.xml
index 33cae7d..76d9390 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,21 +23,41 @@
provided
-
+
com.google.api-client
google-api-client
2.4.0
-
-
-
- net.dv8tion
- JDA
- 5.0.0-beta.22
-
+ com.google.http-client
+ google-http-client
+ 1.44.1
+
+
+ com.google.http-client
+ google-http-client-jackson2
+ 1.44.1
+
+
+
+ net.dv8tion
+ JDA
+ 1.2.2_139
+
+
+
+
+ org.jflac
+ jflac-codec
+ 1.5.2
+
+
+ com.googlecode.soundlibs
+ tritonus-all
+ 0.3.7.2
+
diff --git a/src/main/java/MCbot.java b/src/main/java/MCbot.java
index d39be78..390de84 100644
--- a/src/main/java/MCbot.java
+++ b/src/main/java/MCbot.java
@@ -58,9 +58,8 @@ public class MCbot extends JavaPlugin {
if (playerList.isEmpty()) {
return "No players are currently online.";
} else {
- StringBuilder playerList = new StringBuilder("Players online: ");
- for (Player player : onlinePlayers) {
- playerList.append(player.getName()).append(", ");
+ for (Player player : playerList) {
+ playerList.append(player.getName()).append(", ");
}
// Remove the trailing comma and space
playerList.setLength(playerList.length() - 2);
diff --git a/src/main/java/disMCbot.java b/src/main/java/disMCbot.java
index 61bd929..c693729 100644
--- a/src/main/java/disMCbot.java
+++ b/src/main/java/disMCbot.java
@@ -1,6 +1,8 @@
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
+import net.dv8tion.jda.api.entities.TextChannel;
+
import javax.security.auth.login.LoginException;
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index e69de29..0000000
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index 70e0eaf..0000000
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1,3 +0,0 @@
-C:\Users\hbmann\Documents\Projects\__MCchatbot\MCbot_bryce\src\main\java\MCbot.java
-C:\Users\hbmann\Documents\Projects\__MCchatbot\MCbot_bryce\src\main\java\disMCbot.java
-C:\Users\hbmann\Documents\Projects\__MCchatbot\MCbot_bryce\src\main\java\MCchatbotyt.java