Commit f58e69f3 authored by Melroy van den Berg's avatar Melroy van den Berg

clean-up

parent c2f255ed
Pipeline #1304 passed with stage
in 1 minute and 10 seconds
......@@ -38,7 +38,6 @@ const exchange = new Exchange(COINMARKETCAP_API_TOKEN)
const telegramBot = new TelegramBot(TELEGRAM_TOKEN)
// This informs the Telegram servers of the new webhook.
console.log(`Wekbook: ${botUrl}/telegram/bot${TelegramSecretHash}`)
telegramBot.setWebHook(`${botUrl}/telegram/bot${TelegramSecretHash}`)
const tel = new Telegram(telegramBot, lbry, exchange)
......
......@@ -3,7 +3,6 @@ const app = express()
// We are receiving updates at the route below
app.post(`/bot${TelegramSecretHash}`, (req, res) => {
console.log('yes?')
app.get('telegram_bot').processUpdate(req.body)
res.sendStatus(200)
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment