import { Bot } from 'grammy'; import { cmdStart, cmdHelp } from './src/commands'; const bot = new Bot(process.env.TOKEN); bot.command('start', cmdStart); bot.command('help', cmdHelp); bot.on('message', (ctx) => ctx.reply('Got another message!')); bot.start();