discord.py: How to get the first letter of a user's name?
You can get the name of the user by using client.get_user(ID).display_name
Getting the first letter of the nickname of the user in the guild that reacted in:
@client.event
async def on_reaction_add(reaction, user):
first_letter = user.display_name[0]
Getting the first letter of the username of the user:
@client.event
async def on_reaction_add(reaction, user):
first_letter = client.get_user(user.id).display_name[0]