Message missing Embeds that should be there. Restarting the bot fixes the problem.
This question is to continue the conversation started in #djs-help-v14 from here (https://discord.com/channels/222078108977594368/824411059443204127/1225880568533745806) to not clutter the channel.
After running the bot for a while on a remote server in pterodactyl (docker container management platform), the message that is being fetched is checked by this function for embeds which it should contain.
However the message does not contain embeds according to the output of the logger.
Restarting the bot fixes that problem and it works as expected.
Things I have changed:
- forcing the message fetch to make an http request and skip the cache check. (hard to test so we have to wait if that does the trick)
GitHub
kiwitech-bot-bun/src/commands/application.ts at main · defnot001/ki...
Contribute to defnot001/kiwitech-bot-bun development by creating an account on GitHub.
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!