I want to find out the username by the message_id
from a responsed message. So there is a response and I get the message that is responsed by that message, and from that message I already know the MESSAGE ID, but I want to know the user that has written it.
So, is there any way to get the USER from the MESSAGE ID?
Sorry for my maybe bad English, I am GERMAN.
I am also new at coding Discord Bots.
I tried:
msg = message.reference.message_id
author = msg.author
print(author)
And as a result I get:
AttributeError: 'int' object has no attribute 'author'
Help?