Can't communicate with bot over direct messages #1309
Unanswered
SamusAranX
asked this question in
Q&A
Replies: 1 comment
-
There is a toggle in the Developer Portal, on the Bot page for Message Content Intent. Is that On? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bot with a number of slash commands that all work flawlessly, but I can't work out how to make it accept and react to direct messages. From what I've seen, the usual handler for DMs would be the MessageCreate one, but as you can see in the screenshot above, I can't even get to that point. The bot intents are set up like this, so in theory it should be capable of dealing with DMs:
Attempting to send the bot a friend request results in this error message in the Discord client:
Has anyone built a bot with working DM support? How did you do it?
Beta Was this translation helpful? Give feedback.
All reactions