This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`use strict`; | |
const telegraf = require(`telegraf`); | |
const { Markup } = telegraf; | |
const bot = new telegraf(`secret`); | |
const botId = bot.token.split(`:`)[0]; | |
var map = new Map(); | |
bot.catch(console.log); |