joaoricardo000 / whatsapp-bot-seed

A small python framework to create a whatsapp bot, with regex-callback message routing.
727 stars 245 forks source link

Filter groups and admins how does it work? #33

Closed x23piracy closed 8 years ago

x23piracy commented 8 years ago

Hi,

in config there is this option:

filter_groups = False admins = ["XXXXXXXXXXXX", ]

If filter_groups is True, the bot only stays at groups that there is at least one admin on it. Otherwise will leave instantly if added.

When True the bot will leave any group where the last admin has left? What about admins = ? is the bot unable to detect natively who is a group admin? Should i enter my WA "display name"? What if it contains spaces? And can i enter multiple admins like ["the admin1", "the admin2"]?

Regards X23

joaoricardo000 commented 8 years ago

Hi, No, the bot right now will not leave the group if the last admin left. Yes, you can add multiple admins, with full phone number, not display name. Ex: ['554899998888', '554899887777']