mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Merge pull request #277 from lbryio/Coolguy3289-patch-1
Update stats.js
This commit is contained in:
commit
14dee76764
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ exports.stats = {
|
|||
if (error || response.statusCode !== 200) {
|
||||
msg.channel.send('coingecko API is not available');
|
||||
} else {
|
||||
//console.log(response);
|
||||
//console.log(response.body[0]);
|
||||
// console.log(response);
|
||||
// console.log(response.body[0]);
|
||||
let data = response.body[0];
|
||||
let rank = data.market_cap_rank;
|
||||
let price_btc = Number(data.current_price);
|
||||
|
|
Loading…
Add table
Reference in a new issue