This commit is contained in:
AntoXa PRO 2024-11-29 12:47:25 +03:00
parent 6f416a0520
commit b12fcd23fc
2 changed files with 5 additions and 2 deletions

View File

@ -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)
}

View File

@ -4,7 +4,6 @@ import { Telegraf } from 'telegraf'
import { errorHandler } from './errors'
import { testHandler } from './handlers'
// Главная функция приложения (Точка входа).
const main = () => {
try {