// although it's only purpose should be to simply import other modules
//constructor(robot: HubularRobot) {}
@RobotCatchAll()
protectedonCatchAll(res:Response<HubularRobot>){
res.send('Sorry, can\'t help you with that.');
}
}
Creating new Hubular Projects
You can use Yeoman to scaffold a brand new Hubular App:
yarn global add generator-hubular
yo hubular
If everything goes fine you should have a working Hubular App.
Test it's working with
yarn start
Adding Hubular to existing Hubot
Install Hubular in your Hubot project
yarn add hubular reflect-metadata
yarn add --dev typescript
Temporary create a new Hubular project using the previous guide.
This will get all the latest files for you, copy into your project the tsconfig.json and src/.