Replies: 1 comment 1 reply
-
The only thing that comes close to what you can do better than passing it in the constructor (which only accepts raw data, directly from discord) is: const embed = new EmbedBuilder().setAuthor({ name: user.tag, iconURL: user.displayAvatarURL() }); We don't allow passing structures directly because it would be on us to serialize them and it's not really our responsibility. We'd have to have additional checks depending on what you pass in. Theoretically you could pass in a guild right? Since it has a name and an icon too. Where does it end? :P |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently if you want to add a user as an author you must set each property individually
What I wish I could do is this
If this is not possible I would like to know why, thank you
Beta Was this translation helpful? Give feedback.
All reactions