How to make a discord bot dm'ing someone who have left

My glitch name is oofin777 and I would like to know how to make my bot sending a dm when someone has left (To the user who have left)
I can’t seem to find one (A code)

You have to share a common server/dm group (only human accounts) for you to DM someone I believe. So, idk if there’s any point in doing that.

1 Like

Well I want my bot to send a survey to the person that left so we can get his feedback…

You have to share a common server/dm group (only human accounts) for you to DM someone

Hey, read this ^

If they leave the server, well guess what, you can’t DM them!

Strange someone told me to use guildMemberRemove event to make it work…

You would still have to share a server