Skip to content

DitzDev/YukiBotz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

don't forget to give this repository stars!


YukiBotz

Created By DitzDev

Warning

DO NOT SELL OR BUY THIS SCRIPT ANYMORE, IT IS FREE!

JOIN WITH MY CHANNEL FOR MORE INFORMATION UPDATE

WhatsApp

About

This bot was created by DitzDev, 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/DitzDev/YukiBotz.git && cd YukiBotz;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/DitzDev/YukiBotz.git && cd YukiBotz;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

  • Send Button Message
  • Jadi Bot Features
  • Interactive Message
  • Register Email (see main-regmail.js for example)

Upcoming / Fix Features

  • Downloader
  • AI Chat

Note

If You Found Bug/Error, Open Issues or contact me personal

Tutorial on How to Use the Send Button Function

Send Button Message
/**
  * ©DitzDev
  **/
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
/**
  * ©DitzDev
  * 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
/**
  * ©DitzDev
  **/
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
/**
  * ©DitzDev
  * 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
/**
  * ©DitzDev
  * 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)

About

A Simple Bot WhatsApp But Powerfull

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published