@bot.slash_command(name="userinfo", description="View your information", guild_ids=guild_id)
async def userinfo(ctx):
embed = discord.Embed(
title="Userinfo",
description=f"Name: {ctx.author.name}\n Id: {ctx.author.id}",
color=discord.Color.random()
)
await ctx.respond(embed=embed)
Hi, I want to add an input that receives a name with someone's # on the discord server or by id and get information about him that is on the server, I don't know how to do it, I tried and failed.
No tag