@commands.command()
async def gold(self, ctx, ammount: Optional[int]=1, currency='USD'):
    '\n            Converts gold in ounces to a given currency.\n\n            `ammount` must be a number of ounces to convert defaults to 1 ounce\n            `[currency]` must be a valid currency defaults to USD\n        '
    GOLD = 'https://www.quandl.com/api/v3/datasets/WGC/GOLD_DAILY_{}.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(GOLD.format(currency.upper())) as resp:
            data = (await resp.json())
    price = (data['dataset']['data'][0][1] * ammount)
    msg = '{0} oz of Gold is {1:,.2f} {2}'.format(ammount, price, currency.upper())
    embed = discord.Embed(descirption='Gold', colour=discord.Colour.gold())
    embed.add_field(name='Gold', value=msg)
    embed.set_thumbnail(url='https://upload.wikimedia.org/wikipedia/commons/d/d7/Gold-crystals.jpg')
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))
Converts gold in ounces to a given currency.

`ammount` must be a number of ounces to convert defaults to 1 ounce
`[currency]` must be a valid currency defaults to USD
@commands.command()
async def gold(self, ctx, ammount: Optional[int]=1, currency='USD'):
    '\n            Converts gold in ounces to a given currency.\n\n            `ammount` must be a number of ounces to convert defaults to 1 ounce\n            `[currency]` must be a valid currency defaults to USD\n        '
    GOLD = 'https://www.quandl.com/api/v3/datasets/WGC/GOLD_DAILY_{}.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(GOLD.format(currency.upper())) as resp:
            data = (await resp.json())
    price = (data['dataset']['data'][0][1] * ammount)
    msg = '{0} oz of Gold is {1:,.2f} {2}'.format(ammount, price, currency.upper())
    embed = discord.Embed(descirption='Gold', colour=discord.Colour.gold())
    embed.add_field(name='Gold', value=msg)
    embed.set_thumbnail(url='https://upload.wikimedia.org/wikipedia/commons/d/d7/Gold-crystals.jpg')
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))