Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axellnetwork/nekobot

New Script bot WhatsApp type Plugins x case
https://github.com/axellnetwork/nekobot

baileys-md bot botwa whatsapp-bot

Last synced: 24 days ago
JSON representation

New Script bot WhatsApp type Plugins x case

Awesome Lists containing this project

README

        

**😼 NekoBot | 1.4.0** | ***create by AxellNetwork***

```> Simple WhatsApp bot Using Library Baileys```

![Logo](https://files.catbox.moe/8mek19.jpg)
=

```javascript
{
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 )***

```javascript
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

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

## ☘️ Example Features
Berikut cara menambahkan fitur pada bot ini

## 1. Plugins

```javascript

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

```javascript
case "tes" : {
m.reply("> Bot Online ✓")
}
break
```
## 📢 Discussion
Jika ingin mengenal seputar Script ini lebih dalam lagi
silahkan mampir ke komunitas kami[![WhatsApp Group](https://img.shields.io/badge/WhatsApp%20Group-25D366?style=for-the-badge&logo=whatsapp&logoColor=white)](https://chat.whatsapp.com/ErlaFMvdnfu5OGxCVGJW8V)
[![WhatsApp channel](https://img.shields.io/badge/WhatsApp%20Channel-25D366?style=for-the-badge&logo=whatsapp&logoColor=white)](https://whatsapp.com/channel/0029VauJgduEwEjwwVwLnw37)