Can not read dms
I for somereason can not fetch dms sent to my discord bot using 'messageCreate',
I have Direct messages and message content as intent as well
Discord.js "version": "14.14.1"
DT
d.js toolkit•15d ago
- 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!
- ✅
Marked as resolved by OPDD
d.js docs•15d ago
Tag suggestion for @sibv:
To receive direct message events on
"messageCreate"
with your bot, you will need:
- The DirectMessages
gateway intent
- The Channel
partial settingSupport server for discord.js, a Node.js module to interact with the Discord bot API.
58KMembers
View on DiscordWant results from more Discord servers?
More Postswhere would one find the d.js "send a message in a channel" chain in the v14 docssorry if i got the terminology wrong im not super used to JS but where could i find the chain for seERREUR```[ERROR] DiscordAPIError[50035]: Invalid Form Body
embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item Is there a way to loop through each guild and channel without getting error using fetch?Basically, right now I am using try/catch without logging the error(s), because it works. But, if I Bot cannot play musicI recently started a bot that play music, everything works just fine, no error, the bot is able to fThis interaction failed but components are workingI'm trying to create an interactive settings command by using interactable dropdown menus and buttoninteraction.channel is null in DMit works for servers, but not in direct message as 'user app'.
I already use as suggestions of othe