diff --git a/bot/src/main/kotlin/io/github/null2264/tsukumogami/bot/core/module/GeneralModule.kt b/bot/src/main/kotlin/io/github/null2264/tsukumogami/bot/core/module/GeneralModule.kt index 0591074..60b6ff4 100644 --- a/bot/src/main/kotlin/io/github/null2264/tsukumogami/bot/core/module/GeneralModule.kt +++ b/bot/src/main/kotlin/io/github/null2264/tsukumogami/bot/core/module/GeneralModule.kt @@ -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}") }