-
I want to write a test for a bot that has the ability to send DM's. However, when I send a DM to the corde bot I get an error:
specifically this command throws: let dm = await message.member.createDM(); This looks like the error you get when a user has their privacy settings set to not allow DM's from server members. When I interact with bot bot using a normal user it can send DM's just fine. Is there a setting that I need to specify to allow the corde bot to receive DM's? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It looks like discord might not actually allow a bot to send a DM to another bot https://stackoverflow.com/questions/49266283/is-it-possible-to-have-one-discord-bot-dm-another-bot/49395167#:~:text=Both%20bots%20can%20receive%20DMs%20from%20users%20just%20fine. |
Beta Was this translation helpful? Give feedback.
It looks like discord might not actually allow a bot to send a DM to another bot https://stackoverflow.com/questions/49266283/is-it-possible-to-have-one-discord-bot-dm-another-bot/49395167#:~:text=Both%20bots%20can%20receive%20DMs%20from%20users%20just%20fine.