Skip to content

New Script bot WhatsApp type Plugins x case

Notifications You must be signed in to change notification settings

hamdyqwer1267/NekoBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😼 NekoBot | 1.4.0 | create by AxellNetwork

> Simple WhatsApp bot Using Library Baileys

Logo

{
  message: Message { conversation: '>_ Welcome to NekoBot' },
  type: 'conversation',
  msg: '>_ Welcome to NekoBot',
  isMedia: false,
  key: {
    remoteJid: '[email protected]',
    participant: '[email protected]',
    fromMe: false,
    id: '5780C33F89C0BE600B6D71DF79C4FC02'
  },
  cht: '[email protected]',
  fromMe: false,
  id: '5780C33F89C0BE600B6D71DF79C4FC02',
  device: 'android',
  isBot: false,
  isGroup: false,
  participant: '[email protected]',
  sender: '[email protected]',
  mentions: [],
  body: '>_ Welcome to NekoBot',
  prefix: '',
  command: '>_',
  args: [ 'Welcome', 'to', 'NekoBot' ],
  text: 'Welcome to NekoBot',
  isOwner: true,
  download: [AsyncFunction (anonymous)]
}

⚙️ Settings Bot ( settings.js )

const fs = require('node:fs');

const config = {
    owner: ["6285215909004"],
    name: "- nekoBot - Simple WhatsApp bot",
    sessions: "sessions",
    sticker: {
      packname: "Made by ",
      author: "nekoBot"
    },
   messages: {
      wait: "*( Loading )* Tunggu Sebentar...",
      owner: "*( Denied )* Kamu bukan owner ku !",
      premium: "*( Denied )* Fitur ini khusus user premium",
      group: "*( Denied )* Fitur ini khusus group",
   },
   database: "neko-db",
   tz: "Asia/Jakarta"
}

module.exports = config

👨‍💻 How to install/run

 git clone https://github.com/AxellNetwork/NekoBot
 cd nekoBot
 npm install
 npm start

☘️ Example Features

Berikut cara menambahkan fitur pada bot ini

1. Plugins

module.exports = {
    command: "tes", //- Nama fitur nya
    alias: ["tesbot", "testing"], //- Short cut command
    category: ["main"], //- Kategori Fitur 
    settings: {
        owner: false, //-  Apakah Fitur ini khusus owner ?
        group: false, // - Apakah Fitur ini khusus group ?
     },
    description: "Tes bot saja", //- Penjelasan tentang fitur nya
    loading: true, //- Ingin menambahkan loading messages ?
 async run(m, { sock, Func, Scraper, text, config }) {
    m.reply("> Bot Online ✓")
  }
}

2. Case

case "tes" : {
     m.reply("> Bot Online ✓")
   }
break

📢 Discussion

Jika ingin mengenal seputar Script ini lebih dalam lagi silahkan mampir ke komunitas kamiWhatsApp Group WhatsApp channel

About

New Script bot WhatsApp type Plugins x case

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%