Giter VIP home page Giter VIP logo

botwa's Introduction

Welcome



Options Comannd Map()

Options pada command, yang akan mempermudah kamu untuk membuat/menambahkan fitur

module.exports = {
   commands: <Array>, // Example: ["cmd1","cmd2"]
   cooldown: <NaN>, // Example: 0
   minArgs: <NaN>, // Example: 0
   expectedArgs: <String>, // Example: "<link>"
   example: <String>, // Example: "{prefix}{command} https://chat.whatsapp.com/xxxxxxxxxx"
   isSewa: <Boolean>, // Example: false/teue
   isVip: <Boolean>, // Example: false/teue
   isOwner: <Boolean>, // Example: false/teue
   isPremium: <Boolean>, // Example: false/teue
   isPrivate: <Boolean>, // Example: false/teue
   isGroup: <Boolean>, // Example: false/teue
   isAdmin: <Boolean>, // Example: false/teue
   isBotAdmin: <Boolean>, // Example: false/teue
   isMedia: {
        isImage: <Boolean>, // Example: false/teue
        isVideo: <Boolean>,  // Example: false/teue
        isDocument: <Boolean>, // Example: false/teue
        isViewOnce: <Boolean>, // Example: false/teue
        isQuotedMedia: {
		       	  isQuotedImage: <Boolean>, // Example: false/teue
				  isQuotedVideo: <Boolean>, // Example: false/teue
			      isQuotedAudio: <Boolean>, // Example: false/teue
			      isQuotedSticker: <Boolean>, // Example: false/teue
			      isQuotedDocument: <Boolean>, // Example: false/teue
			      isQuotedViewOnce: <Boolean>, // Example: false/teue
			      isQuotedContact: <Boolean> // Example: false/teue
				}
},
isLimit: <Boolean>, // Example: false/teue
isWait: <Boolean>, // Example: false/teue
callback: async() => {}
}

Options Comannd case

Opsi yang ada ✅ berarti wajib di tambahkan.

case "name": 
try{
//sock.sendMessage(m.chat, { text: "Hello world" })
cmdSuccess(command, "case") //✅
} catch (e) {
cmdFailed(command, e, "case") //✅
}
break

Request atau report bug

Untuk request atau report bug bisa chat saya disini Whatsapp

Clone Repo

# clone repo
git clone https://github.com/FanDev404/Elaina-baileys
# ubah posisi direktori kamu
cd Elaina-baileys
# install module
npm i
# start bot
npm start

Thanks To

botwa's People

Contributors

fandev404 avatar mr-nc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.