#Help over EmbedBuilder
1 messages · Page 1 of 1 (latest)
here it is
.addFields([
{name: `\`Offender :\``, value: `${offender.user.tag} (${offender.user.id})`} ,
{name: `\`Reason :\``, value: `${reason}`} ,
{name: `\`Moderator :\``, value: `${message.author.tag} (${message.author.id})`}
])
thanks for the help btw
Should work, what's wrong actually?
Yea i think this is fully correct code
these threads are a godsent with no cooldown omg
I mean show the error u get
it's keep telling me that :
"Argument type [{name: string, value: string}, {name: string, value: string}, {name: string, value: string}] is not assignable to parameter type any Type ({name: string, value: string} | {name: string, value: string} | {name: string, value: string})[] is not assignable to type any "
uhh
can you show how you build the embed
and you are sure the variables you are using are not null right?
or undef
this embed worked on v13
hmm
issue is i dont have a v14 bot myself atm
just read all the docs carefully and use v13 full time
It seems correct still doesn't work which is weird
yeah I shoudn't have upgraded to v14 this quickly
nono its more that that is all i did
Also it should be .setColor(0xff0000)
yea bloody bullshit that thats changed
lol
dang so much thing to change
sidenote
And dynamic options doesn't exist on displayAvatarURL() method
yup but 12-13 was worse if thats any help xd
It's dynamic by default
true x))
yes thanks I will change that too
I am completely lost since it's my first bot
doesn't really changed anything but I will try like that
oh ok I see
that markup may not be allowed in the name part but if it worked in v13 and theres no mention of it in the update guide should be fine
thanks so much for the help I will try and reach you again if I need help again ^^
Yea feel free to!
So ``` was causing the problem?
Just stumbled upon this thread.
I am having the same problem, but im not using any fancy markdown
still don't know actually, I tryed to launch my bot, but a lot of other errors ocured....
So I have to search for the other errors first.....
Try asking in #986520997006032896
remove fields:
and setcolor ^^
^^
That's not part of his code. It's just a vsc setting.
ah gotchu
didnt know that was a thing
ah yes, forgot to tell you
thanks WebStorm
It does send to the channel?
positive
cool
ok so here's the news, this is as RedGaming said, it's only a weak warning so we can ignore that, the embed displays correctly