Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarded messages crash the bot #225

Open
rolandchl opened this issue Dec 13, 2024 · 0 comments
Open

Forwarded messages crash the bot #225

rolandchl opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rolandchl
Copy link

Describe the bug
A clear and concise description of what the bug is.
When someone sends a forwarded message, the bot just outright terminates the program with no terminal output

To Reproduce
Steps to reproduce the behavior:

  1. Send a forwarded message
  2. The bot program will suddenly terminate with no console output

Expected behavior
A clear and concise description of what you expected to happen.
The message be bridged over to WhatsApp

Logs
If needed add your logs.txt after redacting any private information.

{"level":50,"time":1734120569286,"pid":13991,"hostname":"fedora","version":"v0.10.28","err":{"type":"DiscordAPIError","message":"Unknown Message","stack":"DiscordAPIError: Unknown Message\n    at RequestHandler.execute (/snapshot/WhatsAppToDiscord/out.js)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RequestHandler.push (/snapshot/WhatsAppToDiscord/out.js)\n    at async MessageManager._fetchId (/snapshot/WhatsAppToDiscord/out.js)\n    at async Object.createQuoteMessage (/snapshot/WhatsAppToDiscord/out.js)\n    at async EventEmitter.<anonymous> (/snapshot/WhatsAppToDiscord/out.js)","name":"DiscordAPIError","method":"get","path":"/channels//messages/","code":10008,"httpStatus":404,"requestData":{"files":[]}},"msg":"Unknown Message"}
{"level":30,"time":1734120569287,"pid":13991,"hostname":"fedora","version":"v0.10.28","msg":"Exiting!"}

Platform

  • OS: [e.g. Windows, MacOS, Linux]
    Linux

Additional context
Add any other context about the problem here.
I restart the bot, i reply to the forwarded message and the bot responds this:
Screenshot From 2024-12-13 21-17-01-obfuscated

@rolandchl rolandchl added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant