Answer the question
In order to leave comments, you need to log in
How to get membera from an embed already written by a bot?
I'm trying to get a user on a successful bump through a monitoring bot.
If, after a successful Up, there is a user.tag in the embed (in the setAuthor or setFooter section), then everything successfully translates and receives its id.
Example:
let member = message.guild.members.cache.find(member => member.user.tag == message.embeds[0].author.name);
let member = message.guild.members.cache.find(member => member.user.tag == message.embeds[0].footer.text);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question