FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
263 stars 80 forks source link

Add New Groups to Whitelist #206

Closed weskerty closed 2 months ago

weskerty commented 2 months ago

When the bot starts it adds the list of chats where messages are sent, but if you use addwhitelist the new groups no longer appear as channels. How to add new groups to the white list without deleting the entire white list so that the channels are generated?

How to generate a new channel from a new group that is not on the white list

FKLC commented 2 months ago

I haven't tested it but can you try doing start <group name or phone number> then addToWhitelist #<channel name>? I think it should work but I'm also not sure

weskerty commented 2 months ago

start

Thank you very much. start (group name) works perfectly and already adds it to the whitelist.

I've been seeing that an error occurs, wpp messages are not relayed to discord with this method, only the first message from the user and then nothing else. Discord messages are relayed to whatsapp

FKLC commented 2 months ago

no problem closing the issue as resolved