fix hot
This commit is contained in:
parent
6f416a0520
commit
b12fcd23fc
@ -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)
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ import { Telegraf } from 'telegraf'
|
||||
import { errorHandler } from './errors'
|
||||
import { testHandler } from './handlers'
|
||||
|
||||
|
||||
// Главная функция приложения (Точка входа).
|
||||
const main = () => {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user