Skip to content

Fiisya/Komari_Botz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

don't forget to give this repository stars!


Created By DitzOfc

JOIN WITH MY CHANNEL FOR MORE INFORMATION UPDATE

WhatsApp

About

This bot was created by DitzOfc, a beginner programmer. This bot was created with the aim of making everyday activities easier, I am very grateful And can't forget the support you have given me all this time

Types and Programming Languages

This script is of the Plugins CJS type, and the programming language used is:

  • Javascript
Instalation

you can choose Indonesian or English

Indonesian

1. Install Aplikasi Termux

Setelah Install Aplikasi Termux, Silahkan Salin Teks Dibawah, Setelah Disalin Tempel Di Aplikasi Termux.

pkg update -y;pkg upgrade -y;pkg install nodejs -y;pkg install git -y;git clone https://github.com/DitzOfc-Expertise/Komari_Botz.git && cd Komari_Botz;rm -rf session.json;node index

2. Pairing Code & Scan

Kamu juga bisa memilih opsi, antara pairing code atau scan

node index.js --pairing-code

Ini adalah opsi perintah untuk scan

node index.js

English

1. Install The Termux App

After Installing The Termux Application, Please Copy The Text Below, After Copying Paste In The Termux Application.

pkg update -y;pkg upgrade -y;pkg install nodejs -y;pkg install git -y;git clone https://github.com/DitzOfc-Expertise/Komari_Botz.git && cd Komari_Botz;rm -rf session.json;node index

2. Pairing Code & Scan

You can choose the option between pairing code or scan

node index.js --pairing-code

This is a command so that the script can connect to the scan option

node index.js

Features

Features Avaible
Jadi Bot
RPG
Multi Prefix
Support Run Termux
Function Send Button
Downloader
AI
Anti Features
Game Features
Anime Features
Everyone Tags
Atlantic 🔴

Tutorial on How to Use the Send Button Function

Send Button Message
/**
  * ©DitzOfc
  **/
let buttons = [{ text: '', id: '' }]

conn.sendButtonMsg(jid, 'text', 'footer', buttons, quoted)
// Or
conn.sendButtonMsg(jid, 'text', 'footer', [{ text: '', id: '' }], quoted)

Send Button Message With Image
/**
  * ©DitzOfc
  * The imageUrl part must be a string of url
  **/
let buttons = [{ text: '', id: '' }]
conn.sendButtonImg(jid, 'text', 'footer', buttons, imageUrl, quoted)
// or
conn.sendButtonImg(jid, 'text', 'footer', [{ text: '', id: '' }], imageUrl, quoted)

Send List Message
/**
  * ©DitzOfc
  **/
let sections = [{
  title: 'title',
  rows: [{
  header: 'header',
  title: 'title',
  description: 'description',
  id: 'id' 
}] 
}]

conn.sendListMsg(jid, 'text', 'footer', 'titleButton', sections, quoted)

Send List Message With Image
/**
  * ©DitzOfc
  * The imageUrl part must be a string of url
  **/
let sections = [{
  title: 'title',
  rows: [{
  header: 'header',
  title: 'title',
  description: 'description',
  id: 'id' 
}] 
}]

conn.sendListImg(jid, 'text', 'footer', 'titleButton', sections, imageUrl, quoted)

Send Button Card
/**
  * ©DitzOfc
  * The imageUrl part must be a string of url
  * [cards] Must follow the example below
  * type = ['buttons', 'url']
  **/
  let cards = [
    {
      header: 'header',
      body: 'body',
      footer: 'footer',
      imageUrl: 'string',
      buttons: [
        {
          type: 'url',
          text: "text of buttons url",
          url: "https://example.com"
        },
        {
          type: 'buttons',
          text: "text of buttons",
          id: "quick_reply_id_1"
        }
      ]
    }
  ];

  await conn.sendButtonCard(jid, 'text', 'footer', cards, quoted);

License

Distributed under the MIT License. See LICENSE for more information.

Contact Me

If you find a bug/error in the script, you can contact me directly via:

On WhatsApp

(back to top)

Releases

No releases published

Packages

No packages published