Skip to content

Repository files navigation

Pairing Code with @whiskeysockets/baileys

Example Output

HERE'S AN EXAMPLE OUTPUT

  

telegram


A simple example of a pairing code server that uses @whiskeysockets/baileys and stores session credentials in MEGA with an ID.

Getting Started

  1. Clone the repository

    git clone https://github.com/empiretechlabs/pair-example.git
    cd pair-example
  2. Install dependencies

    npm install
  3. Configure your MEGA and session settings

    • Edit config.js and set add your Mega account password and email and session prefix
    module.exports = {
        EMAIL: "your-mega-email",
        PASS: "your-mega-password",
        PREFIX: "EMPIRE-MD×" // Customize your session ID prefix here
    };
  4. Run the script

    npm start
    • To stop or restart, you can use:
      npm run stop
      npm run restart
  5. Pairing Usage

    http://localhost:3000/pair?code=+6969696969
    

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages