title | sdk | emoji | colorFrom | colorTo |
---|---|---|---|---|
Bot |
docker |
🚀 |
yellow |
green |
Milkita Bot Powered By skizo.tech
Requirements • Installation • Official Group Bot • Donate
Milkita Bot whatsapp using a Baileys library. Jika kamu menemukan semacam bug, harap untuk memberitahu saya di group whatsapp
This Bot is Powered by SKIZO API
Get Apikey On skizo
- Kunjungi web ini
- Login atau register
- Tekan Create Repl
- Tekan
import for github
- Cari Repo ini atau ketikkan
findme-19/milkita
- Language Cari/Ketik
nix Bash
jangan nodejs - Tekan
Import from Github
- Edit
config.js
ganti nomer owner dengan nomermu atau edit yang lainnya - Geser ke Kanan cari tulisan
Shell
lalu klik - Ketikkan
npm install
untuk menginstall module - Tunggu hingga proses install module selesai
- Jalankan Bot dengan ketikkan ini
node . --server
- Type mentioned below given commands one by one in Termux.
$ pkg upgrade && pkg update && pkg install git nodejs ffmpeg imagemagick nano bash mc -y
$ git clone https://github.com/findme-19/milkita
$ cd milkita
$ npm install -g npm@6.14.14 && npm install
$ node .
- Wait for bot starting...
- Scan QR code from 2nd device. (Go to whatsapp > Linked Devices > Join
Multi Device Beta
> Click onlink device
) - Now your bot is ready to rock n roll.
[ INSTALLING UBUNTU ]
apt update && apt full-upgrade
apt install wget curl git proot-distro
proot-distro install ubuntu
echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu
ubuntu
[ INSTALLING REQUIRED PACKAGES ]
ubuntu
apt update && apt full-upgrade
apt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev
[ INSTALLING NODEJS & milkita ]
ubuntu
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
apt install -y nodejs gcc g++ make
git clone https://github.com/findme-19/milkita
cd milkita
npm install
npm update
- Download And Install Git
Click Here
- Download And Install NodeJS
Click Here
- Download And Install FFmpeg
Click Here
(Don't Forget Add FFmpeg to PATH enviroment variables) - Download And Install ImageMagick
Click Here
git clone https://github.com/findme-19/milkita
cd milkita
npm install
npm update
node .
Activate bot using phone number (no scan qr) (setup your bot phone on config.js)
Used for heroku or scan through website
pass mongodb url or cloud url to connect to database, by the default it will connect to database.json
> ctrl + c
- Change All Config on this section
- You can add fiture on this section
after running it you need to scan the qr
var handler = async (m, {
command,
args,
text,
usedPrefix,
conn
}) => {
// taruh di sini kodemu
}
handler.command = ['perintah'] // add di sini command nya
handler.help = ['perintah'] // menampilkan command ini di menu
handler.tags = ['main'] // menampilkan di menu di kategori tag main
handler.group = true // isi true untuk command yang tidak bisa di akses di private chat
handler.admin = true // isi true jika command hanya bisa di akses admin group
handler.botAdmin = true // bisa di akses jika bot termasuk admin group (true)
handler.owner = true // hanya dapat di akses owner
handler.disabled = true // tidak dapat di akses siapapun
handler.premium = true // hanya dapat di akses user premium
module.exports = handler //atau export default handler
export default {
command: ['perintah'],
tags: ['main'],
help: ['perintah'],
group: true,
owner: true,
disabled: true,
premium: true,
admin: true,
botAdmin: true,
run: async (m, {
command,
args,
text,
usedPrefix,
conn,
}) => {
console.log('JEPANG!!!!')
}
}
conn.reply(m.chat, 'text', m)
//without reply message
conn.reply(m.chat, 'text', null) // hanya perlu ubah "m" ke null, bisa di terapkan di conn.sendFile
conn.reply(m.chat, 'text @628111111111', m, {
mentions: ['628111111111@s.whatsapp.net']
})
// or
m.reply('anu @62628111111111', null, {
mentions: ['628111111111@s.whatsapp.net']
})
// use thumbnail & tag
m.reply('anu @62628111111111', null, {
contextInfo: {
mentionedJid: ['628111111111@s.whatsapp.net'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
conn.reply(m.chat, 'anu @628111111111', m, {
contextInfo: {
mentionedJid: ['628111111111@s.whatsapp.net'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
m.reply('text')
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m)
// mode document
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m, null, {
asDocument: true
})
// mode document and thumbnail
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m, null, {
asDocument: true,
contextInfo: {
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
// mode document and thumbnail and tag
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @628111111111', m, null, {
asDocument: true,
contextInfo: {
mentionedJid: ['628111111111@s.whatsapp.net'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @628111111111', m, null, {
mentions: ['628111111111@s.whatsapp.net']
})
//use thumbnail
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @628111111111', m, null, {
contextInfo: {
mentionedJid: ['628111111111@s.whatsapp.net'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
var a = await m.reply('text')
conn.editMessage(m.chat, a.key, 'text', m)
// or
var a = await conn.reply(m.chat, 'text', m)
conn.editMessage(m.chat, a.key, 'text', m)
m.react('🤑')
Allah SWT