File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/kotlin/me/devoxin/flight/internal/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ apply plugin: 'kotlin'
1717apply plugin : ' com.github.johnrengelman.shadow'
1818
1919group ' me.devoxin'
20- version ' 2.0.0a '
20+ version ' 2.0.1a '
2121sourceCompatibility = 1.8
2222
2323repositories {
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class Indexer {
7979 require(meth.hasAnnotation<Command >()) { " ${meth.name} is not annotated with Command!" }
8080
8181 val category = cog.name()
82- ? : cog::class .java.packageName .split(' .' ).last().replace(' _' , ' ' ).toLowerCase().capitalize()
82+ ? : cog::class .java.`package`.name .split(' .' ).last().replace(' _' , ' ' ).toLowerCase().capitalize()
8383 val name = meth.name.toLowerCase()
8484 val properties = meth.findAnnotation<Command >()!!
8585 val cooldown = meth.findAnnotation<Cooldown >()
You can’t perform that action at this time.
0 commit comments