You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const embed = new TextEmbed(new MessageEmbed({ title: "Too many verse references!", description: "There are too many verse references in your message." }))
Yet, I keep getting this error:
TypeError: Cannot read properties of undefined (reading 'icon_url')
at new TextEmbed (D:\Repos\KJV-Bot-Revolt\node_modules\revolt.js\lib\cjs\classes\MessageEmbed.js:166:28)
at Object.execute (D:\Repos\KJV-Bot-Revolt\src\events\client\messageCreate.js:14:39)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I have tried putting a value icon_url in the TextEmbed, and even gave a valid image url, yet it keeps giving me the exact same error. I also tried putting it as iconUrl to see if that worked, and it didn't.
The text was updated successfully, but these errors were encountered:
What happened?
My code is this:
Yet, I keep getting this error:
I have tried putting a value
icon_url
in the TextEmbed, and even gave a valid image url, yet it keeps giving me the exact same error. I also tried putting it asiconUrl
to see if that worked, and it didn't.The text was updated successfully, but these errors were encountered: