fix all but 1 pom exception
This commit is contained in:
36
pom.xml
36
pom.xml
@@ -23,21 +23,41 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Google API dependency -->
|
||||
<!-- Google dependencies -->
|
||||
<dependency>
|
||||
<groupId>com.google.api-client</groupId>
|
||||
<artifactId>google-api-client</artifactId>
|
||||
<version>2.4.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Discord API dependency -->
|
||||
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA -->
|
||||
<dependency>
|
||||
<groupId>net.dv8tion</groupId>
|
||||
<artifactId>JDA</artifactId>
|
||||
<version>5.0.0-beta.22</version> <!-- or the latest version available -->
|
||||
</dependency>
|
||||
<groupId>com.google.http-client</groupId>
|
||||
<artifactId>google-http-client</artifactId>
|
||||
<version>1.44.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.http-client</groupId>
|
||||
<artifactId>google-http-client-jackson2</artifactId>
|
||||
<version>1.44.1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- JDA (Java Discord API) -->
|
||||
<dependency>
|
||||
<groupId>net.dv8tion</groupId>
|
||||
<artifactId>JDA</artifactId>
|
||||
<version>1.2.2_139</version> <!-- Update version to the latest stable version -->
|
||||
</dependency>
|
||||
|
||||
<!-- JFLAC / Sound Codec-->
|
||||
<dependency>
|
||||
<groupId>org.jflac</groupId>
|
||||
<artifactId>jflac-codec</artifactId>
|
||||
<version>1.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.googlecode.soundlibs</groupId>
|
||||
<artifactId>tritonus-all</artifactId>
|
||||
<version>0.3.7.2</version>
|
||||
</dependency>
|
||||
<!-- Add other dependencies as needed -->
|
||||
</dependencies>
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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
|
Reference in New Issue
Block a user