13 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.thats what happens
i only have one terminal open as well
That works as you coded. The channel id is
'1100929475849498665'
.oh so i should ignore if the message.author === bot?
It sends the message and handles it
Yes
ok, how do i check if its a bot?
It's good practice to make your bots ignore other bots, including itself. This can be done through a single line of code:
<message> being whatever you defined message as.
ok, thank you
so it doesnt ping @ everyone, do i need to parse mentions?
allowedMentions: { parse: ['users', 'roles'], repliedUser: true }
thats how i defined my client
Yes
Okay, so do i just add 'everyone'?
Yep
ok, thank you