Advanced real-time crypto price checker using CoinGecko API. Designed for BDFD (BDScript 2).
$nomention
$argsCheck[1;Usage: `.btc {currency}`]
$if[$message[1]==inr]$var[$;₹]
$elseif[$message[1]==usd]$var[$;$]
$elseif[$message[1]==eur]$var[$;€]
$elseif[$message[1]==jpy]$var[$;¥]
$elseif[$message[1]==php]$var[$;₱]
$elseif[$message[1]==rub]$var[$;₽]
$elseif[$message[1]==pkr]$var[$;Rs]
$elseif[$message[1]==sgd]$var[$;S$]
$endif
$httpGet[https://api.coingecko.com/api/v3/coins/markets?vs_currency=$message[1]]
$author[Bitcoin (BTC) price in $toUppercase[$message[1]]]
$authorIcon[https://cdn.discordapp.com/attachments/1446064234877157509/1446064286605512714/2048px-Bitcoin.svg.png]
$addField[💲 Price;**$var[$]**$numberSeparator[$round[$httpResult[0;current_price]]]]
$addField[📈 Highest (24h);**$var[$]**$numberSeparator[$round[$httpResult[0;high_24h]]]]
$addField[📉 Lowest (24h);**$var[$]**$numberSeparator[$round[$httpResult[0;low_24h]]]]
$color[ffffff]
$footer[Source www.coingecko.com]
$footerIcon[https://cdn.discordapp.com/attachments/1446064234877157509/1446070067681820693/CoinGecko.png]