async def request_text(ctx, url, key, params={}, text_format='{}'):
    params_url = (('&' + '&'.join(['{}={}'.format(k, v) for (k, v) in params.items()])) if (params != {}) else '')
    print(params_url)
    async with request('GET', (url + params_url)) as response:
        if (response.status == 200):
            data = (await response.json())
            print(data)
            (await ctx.send(text_format.format(data[key])))
        else:
            (await ctx.send(f'API returned a {response.status} status :(('))
async def request_text(ctx, url, key, params={}, text_format='{}'):
    params_url = (('&' + '&'.join(['{}={}'.format(k, v) for (k, v) in params.items()])) if (params != {}) else )
    print(params_url)
    async with request('GET', (url + params_url)) as response:
        if (response.status == 200):
            data = (await response.json())
            print(data)
            (await ctx.send(text_format.format(data[key])))
        else:
            (await ctx.send(f'API returned a {response.status} status :(('))