const Bottr = require('bottr');
const bot = new Bottr.Bot();
bot.on('message_received', function(message, session) {
session.send('Hello World')
})
bot.listen();
The code when run gives error Cannot GET /
However if I include the BottrApp back it gives the expected result
const Bottr = require('bottr');
const BottrApp = require('bottr-app');
const bot = new Bottr.Bot();
bot.use(new BottrApp());
bot.on('message_received', (message, session) => {
session.send('Hello, World');
});
bot.listen();
The guide should be updated with running code