@commands.command(name='dog', description='send random dog picture', brief='send dog pic', aliases=['auau'])
async def dog(self, ctx):
    while True:
        (result, error) = (await get_json('https://random.dog/woof.json'))
        if error:
            (await ctx.send(error))
            return
        if result['url'].endswith('.mp4'):
            pass
        else:
            embed = discord.Embed(color=choice(self.colours))
            embed.set_image(url=result['url'])
            (await ctx.send(embed=embed))
            return
@commands.command(name='dog', description='send random dog picture', brief='send dog pic', aliases=['auau'])
async def dog(self, ctx):
    while True:
        (result, error) = (await get_json('https://random.dog/woof.json'))
        if error:
            (await ctx.send(error))
            return
        if result['url'].endswith('.mp4'):
            pass
        else:
            embed = discord.Embed(color=choice(self.colours))
            embed.set_image(url=result['url'])
            (await ctx.send(embed=embed))
            return