def command_bsbtc(bot, user, channel, args):
    """Display current BTC exchange rates from bitstamp"""
    r = bot.get_url("https://www.bitstamp.net/api/ticker/")
    try:
        j = r.json()
    except AttributeError:
        print(r.text)
        return

    return bot.say(channel, "BitStamp: bid:$%s last:$%s low:$%s high:$%s vol:%s" % (j['bid'], j['last'], j['low'], j['high'], j['volume']))