@commands.command()
async def platinum(self, ctx, ammount: Optional[int]=1, currency='USD'):
    '\n            Converts platinum 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        '
    PLATINUM = 'https://www.quandl.com/api/v3/datasets/JOHNMATT/PLAT.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(PLATINUM) as resp:
            data = (await resp.json())
    price = (data['dataset']['data'][0][1] * ammount)
    if (currency != 'USD'):
        price = ((await self.conversionrate('USD', currency.upper())) * price)
    msg = '{0} oz of Platinum is {1:,.2f} {2}'.format(ammount, price, currency.upper())
    embed = discord.Embed(descirption='Platinum', colour=discord.Colour.dark_grey())
    embed.add_field(name='Platinum', value=msg)
    embed.set_thumbnail(url='https://upload.wikimedia.org/wikipedia/commons/6/68/Platinum_crystals.jpg')
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))
Converts platinum 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 platinum(self, ctx, ammount: Optional[int]=1, currency='USD'):
    '\n            Converts platinum 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        '
    PLATINUM = 'https://www.quandl.com/api/v3/datasets/JOHNMATT/PLAT.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(PLATINUM) as resp:
            data = (await resp.json())
    price = (data['dataset']['data'][0][1] * ammount)
    if (currency != 'USD'):
        price = ((await self.conversionrate('USD', currency.upper())) * price)
    msg = '{0} oz of Platinum is {1:,.2f} {2}'.format(ammount, price, currency.upper())
    embed = discord.Embed(descirption='Platinum', colour=discord.Colour.dark_grey())
    embed.add_field(name='Platinum', value=msg)
    embed.set_thumbnail(url='https://upload.wikimedia.org/wikipedia/commons/6/68/Platinum_crystals.jpg')
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))