@whois.error
async def whois_error(self, ctx, error):
    if isinstance(error, commands.BadArgument):
        em = discord.Embed(title=f'<:fail:761292267360485378> Whois Error', color=ctx.author.color)
        em.add_field(name=f'Reason:', value=f'Arguments were of the wrong data type!')
        em.add_field(name='Args', value='```\nimp whois [@user]\n```')
        em.set_thumbnail(url=ctx.author.avatar_url)
        em.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
        (await ctx.send(embed=em))
@whois.error
async def whois_error(self, ctx, error):
    if isinstance(error, commands.BadArgument):
        em = discord.Embed(title=f'<:fail:761292267360485378> Whois Error', color=ctx.author.color)
        em.add_field(name=f'Reason:', value=f'Arguments were of the wrong data type!')
        em.add_field(name='Args', value='```\nimp whois [@user]\n```')
        em.set_thumbnail(url=ctx.author.avatar_url)
        em.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
        (await ctx.send(embed=em))