Skip to content
Advertisement

JDA: The bot does not dm the user once they have been ban

when i banned the member they were no messaged in there dms even thought the users dm were open.

the code is here

JavaScript

the error messages says it could not dm the user even though there dms were open

Advertisement

Answer

You can only send direct messages if you share a server with the user and the user does not have you blocked. You need to send the direct message before banning/kicking the user.

Example:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement