get username of user discord.y code example
Example 1: discord.js get username
message.author.username
Example 2: how to get username with userid discord.py
username = client.get_user(user_id)
message.author.username
username = client.get_user(user_id)