Commit cd05a6aa authored by nanahira's avatar nanahira

add a default

parent 05d6e1ea
Pipeline #3096 passed with stages
in 1 minute and 13 seconds
...@@ -30,5 +30,8 @@ export class BotController { ...@@ -30,5 +30,8 @@ export class BotController {
} }
loadBotRouters() { loadBotRouters() {
// all middlewares should be here. // all middlewares should be here.
this.bot.command('echo <msg:text>').action((argv, msg) => {
return msg;
});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment