erm
This commit is contained in:
parent
74843e54ed
commit
9fa4a7b864
2 changed files with 3 additions and 3 deletions
|
@ -395,7 +395,7 @@ naming:
|
||||||
InvalidPackageDeclaration:
|
InvalidPackageDeclaration:
|
||||||
active: true
|
active: true
|
||||||
# TODO: Update this with your project's base package
|
# TODO: Update this with your project's base package
|
||||||
rootPackage: 'dev.jansel.template'
|
rootPackage: 'dev.jansel.feixiao'
|
||||||
|
|
||||||
MatchingDeclarationName:
|
MatchingDeclarationName:
|
||||||
active: true
|
active: true
|
||||||
|
|
|
@ -16,7 +16,7 @@ class TestExtension : Extension() {
|
||||||
override val name = "test"
|
override val name = "test"
|
||||||
|
|
||||||
override suspend fun setup() {
|
override suspend fun setup() {
|
||||||
chatCommand(TestExtension::SlapArgs) {
|
chatCommand(::SlapArgs) {
|
||||||
name = "slap"
|
name = "slap"
|
||||||
description = "Ask the bot to slap another user"
|
description = "Ask the bot to slap another user"
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class TestExtension : Extension() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publicSlashCommand(TestExtension::SlapSlashArgs) {
|
publicSlashCommand(::SlapSlashArgs) {
|
||||||
name = "slap"
|
name = "slap"
|
||||||
description = "Ask the bot to slap another user"
|
description = "Ask the bot to slap another user"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue