#EmbedBuilder setURL validator doesn't accept empty strings

6 messages · Page 1 of 1 (latest)

dusk coralBOT
#

• 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.

stone otter
#

Although discord does accept an empty string it's documented to be a proper url

abstract pine
#

That’s not a bug, that’s a validation error thrown because an empty string is no valid URL indeed.

stone otter
#

discord can start throwing errors for empty string at any time since it's explicitly documented to not accept them

#

EmbedBuilder setURL validator doesn't accept empty strings

#

Somewhere in the discord Dev docs for embeds