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

fix

parent 30a7e72c
Pipeline #1306 passed with stage
in 1 minute and 31 seconds
......@@ -314,7 +314,7 @@ Exchange rate 7 days avg: ${exchangeRate7d} BTC-LTC`
this.bot.onText(/[/|!]price@?\S*/, msg => {
this.exchange.getLatestPrices()
.then(result => {
this.lbry.getExchangeInfo()
this.exchange.getExchangeInfo()
.then(exchangeResult => {
const chatId = msg.chat.id
const bitcoinPrice = parseFloat(exchangeResult.exchange_rate).toFixed(10)
......
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