async def checkcoins(self, base):
    link = 'https://api.coinmarketcap.com/v2/ticker/'
    async with aiohttp.ClientSession() as session:
        async with session.get(link) as resp:
            data = (await resp.json())
    for coin in data['data']:
        if ((base.upper() == data['data'][coin]['symbol'].upper()) or (base.lower() == data['data'][coin]['name'].lower())):
            return data['data'][coin]
    return None
async def checkcoins(self, base):
    link = 'https://api.coinmarketcap.com/v2/ticker/'
    async with aiohttp.ClientSession() as session:
        async with session.get(link) as resp:
            data = (await resp.json())
    for coin in data['data']:
        if ((base.upper() == data['data'][coin]['symbol'].upper()) or (base.lower() == data['data'][coin]['name'].lower())):
            return data['data'][coin]
    return None