Skip to content

Add WhatsApp Baileys bot scaffold with pair and group-status commands#1

Open
Neaterry6 wants to merge 1 commit intomainfrom
codex/add-dependencies-to-fix-bailey-connection-issue
Open

Add WhatsApp Baileys bot scaffold with pair and group-status commands#1
Neaterry6 wants to merge 1 commit intomainfrom
codex/add-dependencies-to-fix-bailey-connection-issue

Conversation

@Neaterry6
Copy link
Copy Markdown
Owner

Motivation

  • Provide a minimal Node.js scaffold and command modules to help integrate Baileys pairing and group-status posting into the bot.
  • Enable bot owners to generate WhatsApp pairing codes and allow admins to post text or quoted media as a group status.

Description

  • Add package.json with dependencies for @whiskeysockets/baileys@7.0.0-rc.9 and related tooling required by the scaffold.
  • Add owner command src/commands/owner/pair.js which exposes a pair command that calls sock.requestPairingCode and returns a formatted pair code and instructions.
  • Add admin command src/commands/admin/togcstatus.js which provides aliases groupstatus, togstatus, and gstatus to post text or quoted media as a group status using groupStatusMessageV2 or media send paths.
  • Update README.md with notes about the WhatsApp bot additions and a reminder to wire command exports to the existing command loader if needed.

Testing

  • No automated tests were added or executed as part of this change.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant