19 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!Im not sure what is this about but Ill appreciate if anyone can help me out
You are trying to send an empty message which is not allowed
but it's okay when I first run the command
then it crashed
why is there an empty message?
is this possibly the reason?
I don't know. Show your code
How
sendOption
is defined?Im new so sometimes idk what Im doing
but I think
something is unecessary in here
i just don't know which part is
The content is empty
And theres no such thing as EmbedBuilders. That should error
I actually added a s
I removed it
I defined it earlier
i defined EmbedBuilder
Your bot trying to send a message if the member sent a message and has the role, but the content/embed are empty, because the message content has no command
!app
so should I delete the send option line and defining sendoption line
I think the message should be sent if the
!app
command is used. So move the sending part to the command check blocklike this?
Now it deffinetly will be empty, because you're not assigning anything, You better to learn some more JavaScript first #rules 3
when i search for yt tutorials they just straight off teach coding
:/
dont follow youtube tutorials
They're moslty outdated
You should have a basic js understanding before starting to code a bot, just copy pasting code doesnt work
#resources has some good sites
I actually found the issue
it's sending 2 embeds at the same time
Im not surre why
hence it can't delete any messages
because the initiative messages has already been deleted
and hence it crashed
whenever I initiate the command