diff --git a/src/handlers/test.ts b/src/handlers/test.ts index 3b6b1b0..4037efc 100644 --- a/src/handlers/test.ts +++ b/src/handlers/test.ts @@ -1,5 +1,9 @@ import { Context } from 'telegraf' -export const testHandler = (ctx: Context) => { +// export const testHandler = (ctx: Context) => { +// console.log('Test handler:', ctx) +// } + +export function testHandler (ctx: Context) { console.log('Test handler:', ctx) } diff --git a/src/index.ts b/src/index.ts index a795513..cae065c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,6 @@ import { Telegraf } from 'telegraf' import { errorHandler } from './errors' import { testHandler } from './handlers' - // Главная функция приложения (Точка входа). const main = () => { try {