20 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffauthor is an object
not a string
confused
new to this stuff thats why
can u help a bit more?
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
not exactly
then i would recommend learning the basics of js first, #rules 3 #resources
u cant really help?
with like the error
im having
i sent you the docs
im here to help you with djs, not to explain the differenct between a string and an object
i just need help fixing the error
i sent you what you needed
but you should learn js first before making a discord bot
dang alright
Discord Embed Creator
A tool to build Discord embeds for discord.js and discord.py.
@dexii
What they’re basically saying is that when you do .setAuthor there shouldn’t be a string but a user object
If you use this to create the embed you’ll see how it works
No
setAuthor does not take a user
Mb I said it without checking
.setAuthor({
name: "Info",
url: "https://example.com",
})
It takes an object like this @dexii
You could just help him and correct me at the same time
Instead of just correcting people without helping
I already helped them and send them the docs, and also told them a basic js understanding is required
So please do not spoonfeed
thanks, i fixed it already
Np