My goal is to teach my bot how to scan the description of embeds for a specific phrase. After reviewing the documentation at https://discord.js.org/#/docs/main/v11/class/MessageEmbed?scrollTo=description, it appears that I need to implement code similar to this:
if (message.embeds.description.includes("phrase needed")) ...
Unfortunately, I'm encountering an error message that reads
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
.