//index.js
const { Telegraf, Markup, Scenes, session } = require('telegraf');
const firstScene = require('./controllers/first');
const secondScene = require('./controllers/second');
const bot = new Telegraf(token, {});
const stage = new Scenes.Stage([
firstScene,
secondScene
]);
bot.use(stage.middleware());
// controllers/first/index.js
const { Scenes } = require('telegraf');
const first = new Scenes.BaseScene('first');
first.enter(async ctx => {});
module.exports = first;