#DM an User Catch Issue

7 messages · Page 1 of 1 (latest)

tranquil musk
#

Hello, I have an issue with a ban command. If the bot cannot DM an user, it should handle the error and reply anyway with the embed but it doesn't reply and just stops the interaction with the cannot dm the user error

Code: https://sourceb.in/bvx2TqX0dS

urban martenBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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 OP
summer currentBOT
#

Suggestion for @tranquil musk:
guide Additional Information: Updating from v13 to v14 - Breaking Changes > MessageEmbed
read more

tranquil musk
#

?

#

I didn't update from v13 to v14

#

ah ig I got it while reading the page

#

a sec