@bot.command()
async def profil(ctx, user: disnake.Member): # Правильно profile :)
await ctx.send(f"Информация о {user.mention}\n"
f"В числе участников с ``{user.joined_at.strftime('%d.%m.%Y %H:%M:%S')}``\n"
f"В Discord с ``{user.created_at.strftime('%d.%m.%Y %H:%M:%S')}``")