diff --git a/functions/bot/bot.js b/functions/bot/bot.js index c40ac19..6d91805 100644 --- a/functions/bot/bot.js +++ b/functions/bot/bot.js @@ -1,10 +1,9 @@ const Telegraf = require('telegraf'); -const startAction = require('./actions/start') const bot = new Telegraf(process.env.TELEGRAM_BOT_TOKEN); bot.start(ctx => { - return startAction(ctx) + ctx.reply("hi"); }) exports.handler = async event => { @@ -16,4 +15,4 @@ exports.handler = async event => { return { statusCode: 400, body: 'This endpoint is meant for bot and telegram communication' }; } -} \ No newline at end of file +}