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

Not forwarding webhook bot messages #222

Open
WuDii0818 opened this issue Nov 27, 2024 · 7 comments
Open

Not forwarding webhook bot messages #222

WuDii0818 opened this issue Nov 27, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@WuDii0818
Copy link

The D2W bot isnt forwarding messages from another webhook bot even when redirectWebhooks is set to yes. Logs have this error of :"could not send message again, as it was not found"}". Unable to quote the other bot's message as well, the D2W bot says "Couldn't find the message quoted. You can only reply to last 500 messages. Sending the message without the quoted message.".
Image_20241127150323
Screenshot 2024-11-27 150426

@WuDii0818 WuDii0818 added the bug Something isn't working label Nov 27, 2024
@arespawn
Copy link

I assume because its embedded, i have a bot that has plain text webhooks and it works perfectly

@malagoni
Copy link

@WuDii0818 You can only send plain text to WhatsApp.
But.... even with plain text only, the WA2DC is not redirecting the BOT/APP message to wpp.

@FKLC I'm really looking forward to a solution to this subject, I cannot say this is an issue because a feature like this would probably need a function addition, an improvement is a better word.
Also, the possibility of activating the BOT commands from the WhatsApp chat would be perfect for automations, since I believe one of the purposes of your program is to avoid using the official WhatsaApp Business API due to a lot of restrictions on simple functions.

@brunoman4006
Copy link

brunoman4006 commented Nov 28, 2024 via email

@brunoman4006
Copy link

brunoman4006 commented Nov 28, 2024 via email

@arespawn
Copy link

arespawn commented Dec 1, 2024

@WuDii0818 You can only send plain text to WhatsApp.

But.... even with plain text only, the WA2DC is not redirecting the BOT/APP message to wpp.

@FKLC I'm really looking forward to a solution to this subject, I cannot say this is an issue because a feature like this would probably need a function addition, an improvement is a better word.

Also, the possibility of activating the BOT commands from the WhatsApp chat would be perfect for automations, since I believe one of the purposes of your program is to avoid using the official WhatsaApp Business API due to a lot of restrictions on simple functions.

@malagoni have you activated the setting on forwarding webhooks? It works for me as intended

@malagoni
Copy link

malagoni commented Dec 1, 2024

@WuDii0818 You can only send plain text to WhatsApp.

But.... even with plain text only, the WA2DC is not redirecting the BOT/APP message to wpp.

@FKLC I'm really looking forward to a solution to this subject, I cannot say this is an issue because a feature like this would probably need a function addition, an improvement is a better word.

Also, the possibility of activating the BOT commands from the WhatsApp chat would be perfect for automations, since I believe one of the purposes of your program is to avoid using the official WhatsaApp Business API due to a lot of restrictions on simple functions.

@malagoni have you activated the setting on forwarding webhooks? It works for me as intended

It is activated, the direct webhook link created from the channel works perfectly, but.... bot/app messages won't get sent on WhatsApp chat. Ex:
Activating a command "/example test", the bot return stays only within Discord chat, even though it's plain text.

@FKLC
Copy link
Owner

FKLC commented Dec 1, 2024

The bot doesn't block messages from other bots as long as they have content property. Content property is a string. In the images you sent, they look like embeds and not a normal plain text.

As for

Activating a command "/example test",

No bot can read into other bots interactions (which are different from normal messages, e.g. if you type / and discord autocomplete the command, then it is an interaction). So it is literally impossible to read/catch slash commands/interactions.

So there's two things, embeds are not sent to whatsapp, and bots can't see other bots / commands

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

5 participants