mirror of
https://github.com/hempyhemp/hh-auto-reply.git
synced 2026-06-08 18:04:57 +00:00
🔧 refactor(bot-commands): Убран лишний код, оптимизированы импорты и функции.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import process from 'node:process'
|
||||
|
||||
import TelegramBot from 'node-telegram-bot-api'
|
||||
|
||||
const token = '8150213101:AAFfkqu32aWImOfIaarnQqtWaUj8ZoAwHLE'
|
||||
const token = process.env.TG_BOT_TOKEN!
|
||||
const bot = new TelegramBot(token, { polling: true })
|
||||
|
||||
export default bot
|
||||
|
||||
Reference in New Issue
Block a user