#Can someone help?
1 messages · Page 1 of 1 (latest)
there is no .tag, use .username
Alright.
I defined it with const data = suggestedEmbed.embeds[0];
i mean at runtime,before the error happens
you have to use something like console.log(data)
That's exactly what I did
but i see a different error at the bottom
Ignore everything above "ready"
why is the error different?
That's the error from changing tag to username
i guess data is an embed. where it is coming from? have you wrote it?
data refers to the data on a message embed that i grabbed with the message id
const data = suggestedEmbed.embeds[0];
let suggestedEmbed = await suggestionChannel.messages.fetch(messageId);