update as niko request

This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2019-10-09 23:41:33 +07:00 committed by GitHub
parent 4802cebf63
commit 5f825b9156
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ exports.stats = {
msg.channel.send('coingecko API is not available');
} else {
data = response.body.data;
let price_eur\ = Number(data.current_price);
let price_eur = Number(data.current_price);
needle.get('https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=lbry-credits&order=market_cap_desc&per_page=100&page=1&sparkline=false', function(error, response) {
if (error || response.statusCode !== 200) {
msg.channel.send('coingecko API is not available');