chore: Testing group inside group

This commit is contained in:
Ahmad Ansori Palembani 2025-05-23 15:12:34 +07:00
parent a62d86563a
commit 513959d4a7

View file

@ -14,7 +14,10 @@ val generalModule = botModules("General") {
} }
groups("group") { 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}") } commands("test", arguments = ::TestArguments) { ctx, args -> ctx.send("Hello world ${args.test}") }