I'm setting up a bot and need to get a user object when someone enters a command followed by the username of the user or mentions the user. I don't need both of those to work, just either or.
I see you can use client.get_user with an id however I don't want the people entering the command to have to deal with getting the id and would rather they just use the username or mention the user. I already have the command part working I just need to be able to get the user and was wondering if there is anything like get_user that uses the username or mention of the user.