@commands.command()
async def whois(self, ctx, user: discord.Member=None):
    if (user == None):
        user = ctx.author
    em = discord.Embed(title=user.name, color=user.color)
    em.add_field(name='ID:', value=user.id)
    em.set_thumbnail(url=user.avatar_url)
    em.set_footer(text='Bot Made by NightZan999#0194')
    em.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
    (await ctx.send(embed=em))
@commands.command()
async def whois(self, ctx, user: discord.Member=None):
    if (user == None):
        user = ctx.author
    em = discord.Embed(title=user.name, color=user.color)
    em.add_field(name='ID:', value=user.id)
    em.set_thumbnail(url=user.avatar_url)
    em.set_footer(text='Bot Made by NightZan999#0194')
    em.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
    (await ctx.send(embed=em))