https://discordpy.readthedocs.io/en/stable/api.html?highlight=user#discord.abc.User reading the docs saves the day
getattr works fine for getting reserved keyword attributes >>> getattr(X, 'from') 123 though it sounds like it's not an ideal state of affairs to begin with (why not just use ...