otterai/IG-GroupBot ? reverse-engineered prompt

Reverse engineered prompt

Build me an Instagram group welcome bot in Python that can log in automatically, watch multiple group chats at once, and send a friendly welcome message whenever someone joins.

It should also keep an eye on group activity and, if a group has been quiet for around 3 hours, ping a few random active members so the chat picks back up. I want it to work across several groups at the same time, and I’d like the setup to be simple with settings coming from a .env file.

Please make it runnable from a main script, and keep it reliable enough to use on a VPS or Termux if needed. If you need to check current Playwright or Instagram related details online, go ahead and look them up.