how to get a username of a person who sent a command in discord.py code example Example: how to get username with userid discord.py username = client.get_user(user_id)