Removing last embed.
So i've got this lil snippet from my bot. What it does is it requests a png image of a captcha code to be made then the function will reply with the image location. It sends an embed empheral and so on.
I wanted it so that there can only be one active captcha image per user. And hey ho! It works, Untill i realised that the bot will just.. carry on making embed messages without removing the old ones... I have a lastEphemeralMessageID var, But. I'm not too sure if my code is right as, It's not removing the old ones, And it's just returning an error message so, Just came for some help! xD
2 Replies
- 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!
- ✅
Marked as resolved by OPoh yeah wait
oh shit yeah XD
ya know what.... its not that big of an issue just like... click dismiss empheral
welp that can get ticked off thanks qj <3