function to verify image links, but the issue with an embed command

Good evening, I have a small problem. I’ve created a function to verify image links, but the issue with an embed command is that when I defer the response, it creates an infinite loop of ‘The bot is thinking.’ Here are the codes.
6 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs2mo ago
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
MydFriau
MydFriau2mo ago
Pastebin
// verifyUrlImage.jsconst https = require('https');const url = requ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
MydFriau
MydFriau2mo ago
No errors are displayed I am making a Json database to structure my ideas at the end of the project I will make a database with MongoDB
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MydFriau
MydFriau2mo ago
ok But that doesn't fix the problem