Add JDA example
Basic example also showing a basic implementation of the permission mapper
This commit is contained in:
parent
c0bc1e7523
commit
0715c4ab9d
8 changed files with 458 additions and 0 deletions
18
examples/example-jda/build.gradle
Normal file
18
examples/example-jda/build.gradle
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apply plugin: "application"
|
||||
apply plugin: "com.github.johnrengelman.shadow"
|
||||
|
||||
application {
|
||||
mainClassName = "cloud.commandframework.examples.jda.ExampleBot"
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":cloud-jda")
|
||||
implementation 'net.dv8tion:JDA:4.2.0_207'
|
||||
implementation 'org.slf4j:slf4j-simple:1.7.21'
|
||||
}
|
||||
|
||||
build.dependsOn(shadowJar)
|
||||
Loading…
Add table
Add a link
Reference in a new issue