chore: Testing group inside group
This commit is contained in:
parent
a62d86563a
commit
513959d4a7
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ val generalModule = botModules("General") {
|
|||
}
|
||||
|
||||
groups("group") {
|
||||
commands("test", arguments = ::Test2Arguments) { ctx, args -> ctx.send("Hello world ${args.user}") }
|
||||
commands("test", arguments = ::Test2Arguments) { ctx, args -> ctx.reply("Hello world ${args.user}") }
|
||||
groups("group") {
|
||||
commands("test", arguments = ::TestArguments) { ctx, args -> ctx.reply("Hello world ${args.test}") }
|
||||
}
|
||||
}
|
||||
|
||||
commands("test", arguments = ::TestArguments) { ctx, args -> ctx.send("Hello world ${args.test}") }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue