This commit is contained in:
smsteel
2019-02-06 15:45:21 +03:00
parent 04fd7a82be
commit 79a65eacf6
6 changed files with 5321 additions and 7 deletions

10
main.js
View File

@ -1,5 +1,9 @@
const Telegraf = require('telegraf')
import { Telegraf } from 'telegraf'
import express from 'express'
console.log({omg: 123})
const web = express()
const bot = new Telegraf('643297173:AAGuqfZx3GhiiARwvY7AtWTTFw1T-2FiwCM')
console.log(Telegraf)
web.listen(3000, () => {
bot.telegram.sendMessage('test')
})