async def request_image(ctx, url, params={}, key='link', title='Requested image', description='', footer=''):
    params_url = (('&' + '&'.join(['{}={}'.format(k, v) for (k, v) in params.items()])) if (params != {}) else '')
    async with request('GET', (url + params_url)) as response:
        if (response.status == 200):
            data = (await response.json())
            if ('caption' in data):
                title = data['caption']
            embed = ImageEmbed(ctx, title, description, footer, data[key])
            (await embed.send())
        else:
            (await ctx.send(f'API returned a {response.status} status :(('))
async def request_image(ctx, url, params={}, key='link', title='Requested image', description=, footer=):
    params_url = (('&' + '&'.join(['{}={}'.format(k, v) for (k, v) in params.items()])) if (params != {}) else )
    async with request('GET', (url + params_url)) as response:
        if (response.status == 200):
            data = (await response.json())
            if ('caption' in data):
                title = data['caption']
            embed = ImageEmbed(ctx, title, description, footer, data[key])
            (await embed.send())
        else:
            (await ctx.send(f'API returned a {response.status} status :(('))