Add JDA
This commit is contained in:
parent
178af21d98
commit
adb5156157
11
build.gradle
11
build.gradle
@ -8,3 +8,14 @@ version = '1.0-SNAPSHOT'
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation("net.dv8tion:JDA:5.3.0") { // replace $version with the latest version
|
||||||
|
// Optionally disable audio natives to reduce jar size by excluding `opus-java`
|
||||||
|
// Gradle DSL:
|
||||||
|
exclude module: 'opus-java'
|
||||||
|
// Kotlin DSL:
|
||||||
|
// exclude(module="opus-java")
|
||||||
|
}
|
||||||
|
compileOnly('org.jetbrains:annotations:26.0.2')
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
package ru.emotilt.antiplatka;
|
package ru.emotilt.antiplatka;
|
||||||
|
|
||||||
public class Main {
|
public class Bot {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println("Hello, World!");
|
System.out.println("Hello, World!");
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user