Discord bot fully compiled to Jar
might be recompiled as things need fixing
This commit is contained in:
BIN
MCbot_bryce.jar
Normal file
BIN
MCbot_bryce.jar
Normal file
Binary file not shown.
36
pom.xml
36
pom.xml
@@ -23,7 +23,7 @@
|
|||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Google dependencies -->
|
<!-- Google / YouTube dependencies -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.api-client</groupId>
|
<groupId>com.google.api-client</groupId>
|
||||||
<artifactId>google-api-client</artifactId>
|
<artifactId>google-api-client</artifactId>
|
||||||
@@ -39,25 +39,35 @@
|
|||||||
<artifactId>google-http-client-jackson2</artifactId>
|
<artifactId>google-http-client-jackson2</artifactId>
|
||||||
<version>1.44.1</version>
|
<version>1.44.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.oauth-client</groupId>
|
||||||
|
<artifactId>google-oauth-client</artifactId>
|
||||||
|
<version>1.35.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.apis</groupId>
|
||||||
|
<artifactId>google-api-services-youtube</artifactId>
|
||||||
|
<version>v3-rev222-1.25.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- JDA (Java Discord API) -->
|
|
||||||
|
<!--(Java Discord API) with JFlac and Tritonus-dsp -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.dv8tion</groupId>
|
<groupId>net.dv8tion</groupId>
|
||||||
<artifactId>JDA</artifactId>
|
<artifactId>JDA</artifactId>
|
||||||
<version>1.2.2_139</version> <!-- Update version to the latest stable version -->
|
<version>1.2.2_139</version> <!-- Update version to the latest stable version -->
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>jflac</groupId>
|
||||||
|
<artifactId>jflac</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>tritonus</groupId>
|
||||||
|
<artifactId>tritonus-dsp</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</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 -->
|
<!-- Add other dependencies as needed -->
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ public class disMCbot extends ListenerAdapter {
|
|||||||
private TextChannel updateChannel; // Define the channel where updates will be posted
|
private TextChannel updateChannel; // Define the channel where updates will be posted
|
||||||
|
|
||||||
public static void main(String[] args) throws LoginException {
|
public static void main(String[] args) throws LoginException {
|
||||||
JDABuilder builder = JDABuilder.createDefault("YOUR_DISCORD_BOT_TOKEN");
|
JDABuilder builder = JDABuilder.createDefault("MTIyNjY1NTgxODU0NDMxNjQxNw.GALTlL.vPRJyKTEJNqN1Snfj5G-_2306lBKFdOYB1eDXE");
|
||||||
builder.addEventListeners(new disMCbot());
|
builder.addEventListeners(new disMCbot());
|
||||||
builder.build();
|
builder.build();
|
||||||
}
|
}
|
||||||
|
@@ -0,0 +1,3 @@
|
|||||||
|
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