How can I properly parse for a tagged user in my Discord bot?
问题 I am adding profile cards onto my Discord bot, but I've come across one issue. When someone types !profile @user I am not sure how to properly parse for @user so the bot knows which profile card to lookup. I first parse message.content and then remove the 9 first chars of the message content (which is always !profile ) but the rest of the message content returns the user_id which looks <@289583108183948460> instead of the user's discrim. I have tried using re.sub to remove the special