The error message says that message
is undefined.
The problem is that the messageUpdate
event doesnt give the last message as a parameter (https://discord.js.org/#/docs/main/stable/class/Client?scrollTo=e-messageUpdate)
To fix this you could replace the message in message.author.username
with newMessage.
I also found another problem with your code, when you add the fields to the embed, you should use newMessage.content
as the value, instaid of just newMessage
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…