Skip to content

ayooh-me/Pink-Venom-MD

Repository files navigation


Maintained?


Whatsapp Channel Owner BOT

乂 S T E P S - F O R - C R E A T E - T H E - B O T

  1. Fork the repo
    Fork repo

  2. Get session id by (SCANNING QR)
    Q R - C O D E

  3. Get session id by (PAIRING CODE)
    P A I R - C O D E

乂 N O T E - B E F O R E - U S I N G !!- EN

  • 🔹 Add Your SESSION ID To Your config.js
  • 🔹 Also Add Your Github Auth Token (without gph_) And Github User Name To config.js

乂 N O T E - B E F O R E - U S I N G !! -SI

  • 🔹 Fork / Use This Template button එක Click කරන්න.
  • 🔹 ඔබේ SESSION ID, Github Auth Token(gph_ නැතිව) සහ Github User Name: config.js එකට එක් කරන්න.

乂 E D I T - T H E - CONFIG.JS

There are 1 configuration file namely config.js adjust it before installing.

const fs = require('fs');
if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });

function convertToBool(text, fault = 'true') {
    return text === fault ? true : false;
}

module.exports = {
    SESSION_ID: process.env.SESSION_ID === undefined ? '94759874797' : process.env.SESSION_ID, //ADD YOUR SESSION ID
    GITHUB_USER_NAME: process.env.GITHUB_USER_NAME === undefined ? '' : process.env.GITHUB_USER_NAME, //ADD YOUR GITHUB USERNAME
    GITHUB_AUTH_TOKEN: process.env.GITHUB_AUTH_TOKEN === undefined ? '' : process.env.GITHUB_AUTH_TOKEN, //ADD YOUR GITHUB AUTH TOKEN WITHOUT gph_ ex- G5OxxdvEbiBPWxm4A0xypQGlyCr4FS267ifz
    WORK_TYPE: process.env.WORK_TYPE === undefined ? 'public' : process.env.WORK_TYPE, //ONLYME / ONLYGROUP OR PUBLIC
    AUTO_READ_STATUS: process.env.AUTO_READ_STATUS === undefined ? 'true' : process.env.AUTO_READ_STATUS, //TRUE OR FALSE
    PRESENCE: process.env.PRESENCE === undefined ? `available` : process.env.PRESENCE, //AVAILABLE, COMPOSING, RECORDING OR UNAVAILABLE
    ALIVE: process.env.ALIVE === undefined ? `default` : process.env.ALIVE, //YOUR ALIVE MESSAGE OR SET IT TO defeault
    OWNER: process.env.OWNER === undefined ? `94759874797` : process.env.OWNER, //BOTS OWNER NUMBER
    PREFIX: process.env.PREFIX === undefined ? '.' : process.env.PREFIX, //BOTS PREFIX 
    MAX_SIZE: process.env.MAX_SIZE === undefined ? '200' : process.env.MAX_SIZE, //MAX UPLOAD SIZE
    LOGO: process.env.LOGO === undefined ? `https://i.postimg.cc/JzHb8pfV/IMG-20241124-WA0139.jpg` : process.env.LOGO, //ALIVE IMAGE URL
    ANTI_LINK: process.env.ANTI_LINK === undefined ? 'true' : process.env.ANTI_LINK, //TRUE OR FALSE
    ANTI_BAD: process.env.ANTI_BAD === undefined ? 'true' : process.env.ANTI_BAD, //TRUE OR FALSE
    ANTI_BOT: process.env.ANTI_BOT === undefined ? 'true' : process.env.ANTI_BOT, //TRUE OR FALSE
    READ_MESSAGE: process.env.READ_MESSAGE === undefined ? 'true' : process.env.READ_MESSAGE, //SET cmd FOR ONLY READ COMMANDS OR SET all FOR READ ALL MESSAGES
    ANTI_CALL: process.env.ANTI_CALL === undefined ? 'false' : process.env.ANTI_CALL, //TRUE OR FALSE
    AUTO_BLOCK: process.env.AUTO_BLOCK === undefined ? 'false' : process.env.AUTO_BLOCK //SET cmd FOR ONLY BLOCK INBOX COMMANDS USED USERS OR SET all FOR BLOCK ALL IINBOX USERS
};

乂 D E P L O Y - P L A T F O R M S

Option 1: Deploy on Heroku

  1. Create an Account on Heroku if you haven’t already.
  2. Click the button below to deploy directly on Heroku:
    Deploy on Heroku

Option 2: Deploy on Koyeb

  1. Sign Up on Koyeb.
  2. Deploy your app using the button below:
    Deploy on Koyeb

Option 3: Deploy on Railway

  1. Create an Account on Railway if you don’t have one.
  2. Click the button below to deploy using Railway:
    Deploy on Railway

Option 4: Deploy on Toystack

  1. Create an Account on Toystack if you don’t have one.
  2. Click the button below to deploy using Toystack:
    Toystack

Option 5: Deploy on Render

  1. Create an Account on Render if you don’t have one.

  2. Click the button below to deploy using Render:
    Deploy on Render

    Option 6: Deploy on Replit

  3. Create an Account on Replit if you don’t have one.

  4. Click the button below to deploy using Replit:
    Deploy on Replit

    Option 7: Github Workflows

    Option 8: Pterodactly/Control Panel

    Option 9: Or Any NodeJS Enviroment

A Little About This Bot

  • ✔️ | Simple
  • ✔️ | No Button
  • ✔️ | Multi Device
  • ✔️ | Plugins


乂 COPY WORKFLOW CODE

name: Node.js CI

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [20.x]

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Set up Node.js
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}

    - name: Install dependencies
      run: npm install

    - name: Start application
      run: npm start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published