Prince-Mendiratta / BotsApp

Your personal assistant, on WhatsApp! The most user friendly userbot for the platform!
GNU General Public License v3.0
5.5k stars 1.27k forks source link

BotsApp "forgets" who are the admins in the group. #135

Closed GTMoraes closed 2 years ago

GTMoraes commented 2 years ago

Update. It seems I was wrong on my steps.

It's not that BotsApp "forgets" who are the admins, but that it doesn't work when the same admin is connected through WhatsApp Web (multidevices enabled on both BotsApp and admin whatsapp).

I managed to sucessfully replicate my issue by issuing a admin command through the phone and having it passing through, but failing to do so when doing through WhatsApp Web.

Ignore the text below. It was how I reported initially, but it's completely wrong, and it was a sequence of unfortunate events that made me think it acted like that.

Starting with a fresh group, I attribute an user the admin status.
He is, then, able to run commands to BotsApp flawlessly.

After a while, running commands to BotsApp will get in response "You need to be an admin to execute this command.".
Nothing shows up differently on the BotsApp command line, no errors to be seen.

Running .admin, BotsApp will reply with the correct list of admins. Demoting and then promiting the person back to Admin status does not help. Stopping the BotsApp Service and restarting BotsApp service also does not help.

The only solution is for that person to leave the group, rejoin, get attributed the admin status, only to then have it happen again after a while.