Bot does not recieve any messageCreate event
After a long time I started workin back on my bot, but when i updated the package and ran my bot, the interactionCreate events worked but the messageCreate does not fire, also message intents are enabled
38 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.Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
and partials
ig version 13
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no dev version
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
^14.0.0-dev.1656590649-525bf03
jimblyUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
i forgor
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
simply
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
We highly recommend only specifying the intents you actually need.
• Note, that
98303
, 32767
or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
• The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit."jimbly" here i meant is "simply"
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i answered for this lol
and if you need a specific reason
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I am testing my bot in all those intents
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i noticed one thing
the
client.users.cache.size
is always 1 on startup
and that is the bot itselfUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
7 guilds
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
that is correct
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i did taht
nothing helped so i created this post
i use all of them now
i use that
just fancy like that
jus send a typing thingy
the
messageCreate
Event is not firing at all
console.log
manually adding a another listener
apart from the one that loads automatically
the event exists, but does not fire
no way
the bot's interactionCreate
works
it is logged inUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
done already
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
iss okay
yes
can you check #djs-help-v14 side by side