This script is 100% free, which uses the api from AlyaChan-APIs
- Server
- Apikey
global.owner = ['6281252848955']
global.APIs = {
alya: 'https://api.alyachan.pro'
}
global.APIKeys = {
'https://api.alychan.pro', 'YOURKEY'
}
global.set = {
link: 'https://chat.whatsapp.com/EIe1hJspvpj3pzXYckeHkh',
thumbnail: 'https://i.ibb.co/gtr5L2k/Supermoon-2012.jpg',
wm: 'ᴍᴏᴏɴ ʙᴏᴛ ᴏɴʟɪɴᴇ',
footer: 'ᴡʜᴀᴛꜱᴀᴘᴘ ʙᴏᴛ ʙʏ ᴍᴏᴏɴ',
packname: 'Sticker By',
author: '@naando.io'
}
global.pairingNumber = 6283862074769
global.multiplier = 7
global.max_upload = 70
global.intervalmsg = 1800
let handler = async(m, {
conn,
usedPrefix,
command,
args,
text,
users,
isOwner,
isPrem
}) => {
try {
// di isi sembarang cok
} catch {
console.log(e)
return conn.reply(m.chat, Func.jsonFormat(e), m)
}
}
handler.help = ['command'] // anunya
handler.tags = ['category'] // category
handler.command = /^(command)$/i // command
handler.group = Boolean // for group
handler.limit = Boolean // use limit
handler.game = Boolean // game mode
handler.rpg = Boolean // rpg mode
handler.owner = Boolean // for owner
handler.admin = Boolean // for admin
handler.botAdmin = Boolean // bot harus jadi admin
handler.premium = Boolean // bot must be an admin
handler.private = Boolean // private chat only
$ npm install
$ npm start
$ npm install pm2 -g
$ npm install
$ pm2 start index.js && pm2 save && pm2 logs
node . --pairing
: For those of you who login using a code, use this command in the terminalnode . --db 'mongodb uri'
: If you want to connect the database to mongodb use this command