messageCreate event (help system)
Output
Nothing
Please help, i do have the special thing turned on in dev and i have message content gateway bits16 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.no output in DMs
output in channels on server
nevermind i got it working
nevermind
i will get a message in dm from bot if i send a message in the server, but i can send any message and not
@Yara
but i cant get a message if i send something in dmsUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
ye
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ye, returns
true
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
when i put if like this
if(message.content.includes('@Yara')){
nothing happensUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
I reckon you have been bamboozled by the message content privilaged intent
'Please help, i do have the special thing turned on in dev and i have message content gateway bits"
so no
because i have it on
error
i sawpped message and channel tho
so how do i get channel to work
k
now it works but it the file wont run if i type in dms
is there an event for the bot if a DM message is sent to the bot?
or is it just messageCreate
DM no
now i do
if i do this
message.content === '@Yara'
and i type @Yara
in dms, should the bot reply or is the code wrong
output <@ID>
ID is bot id
it works
yayayayayayayayayay
🎉
how do i get reactions to work
after 60 sec, the message is sent
but when i. react to the message, the other message -> You reacted with a thumbs up.
or the other doesnt sendyup i have it
does discrod,js have a guide that is not outdated?
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
and not work
right 🤦
it works
i just really dumb
what is
GatewayIntentBits.DirectMessageTyping
ok