#Problem. Discord js v12.5.3

3 messages · Page 1 of 1 (latest)

grave sun
#

Hello. I encountered a problem when I created audit logs.
I can't insert the nickname of the user who deleted the message. And the content of the deleted post (Not sure if that's even possible).
Code:
``bot.on('messageDelete', message => {

    bot.channels.cache.get('1037813899153645721').send('${member.user.tag}  Delete the message.   Message content: ${message.content}' );
})

``
Help me, Please!

supple sinew
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

limber pelican
#

v12 is not supported