Whatsapp Groups

Discover, list, and search WhatsApp groups from Baileys session data

johnalbertini14-glitch Updated 1 repo stars

File contents

WhatsApp Groups Skill

Automatically discover WhatsApp groups the bot participates in by reading Baileys session cache files.

Usage

exec({ cmd: "node <skill_dir>/scripts/groups.js COMMAND [ARGS]" })

Commands

List All Groups

exec({ cmd: "node <skill_dir>/scripts/groups.js list" })

Search Group by Name

exec({ cmd: "node <skill_dir>/scripts/groups.js search \"Marketing\"" })

Get Group ID by Name

exec({ cmd: "node <skill_dir>/scripts/groups.js get-id \"Support\"" })

Sync Groups with Config

exec({ cmd: "node <skill_dir>/scripts/groups.js sync" })

Output

Commands return JSON with group information:

{
  "total": 3,
  "groups": [
    {
      "id": "5551XXXXXXXX-TIMESTAMP@g.us",
      "name": "Team Chat",
      "isActive": true
    }
  ]
}

johnalbertini14-glitch/openclaw-skills/tree/main/skills/marcosrippel/whatsapp-groups commit 6ae0d0fc2c

Frequently asked questions

npx skillmds@latest add johnalbertini14-glitch/whatsapp-groups