|
| 1 | +<p align="center"> |
| 2 | + <img src="https://telegra.ph/file/eaabc97cb81180be2c9a6.jpg" width="100%" style="margin-left: auto;margin-right: auto;display: block;"> |
| 3 | +</p> |
| 4 | +<h1 align="center">KannaBOT - MD</h1> |
| 5 | +<p align="center"> |
| 6 | + <a href="https://github.com/ImYanXiao"><img src="http://readme-typing-svg.herokuapp.com?color=FFFFFF¢er=true&vCenter=true&multiline=false&lines=Kanna+BOT+Multi+Device;Base+ori+by+BochilGaming;Recode+By+YanXiao;Give+star+and+forks+this+Repo+:D;Follow+My+Github" alt="ʘᴗʘ"> |
| 7 | +</p> |
| 8 | + |
| 9 | +<p align="center"> |
| 10 | + <a href="#"><img title="KannaBOT" src="https://img.shields.io/badge/Kanna BOT-green?colorA=%23ff0000&colorB=%23017e40&style=for-the-badge"></a> |
| 11 | +</p> |
| 12 | +<p align="center"> |
| 13 | +<a href="https://github.com/ImYanXiao"><img title="Author" src="https://img.shields.io/badge/AUTHOR-ImYanXiao-blue.svg?style=for-the-badge&logo=github"></a> |
| 14 | + |
| 15 | +--------- |
| 16 | +## ```Connect With Me 📞``` <img src="https://github.com/siegrin/siegrin/blob/main/Assets/Handshake.gif" height="32px"> |
| 17 | + <a href="https://wa.me/6285736178354"> |
| 18 | + <img align="left" alt="SIEGRIN | Whastapp" width="26px" src="https://github.com/siegrin/siegrin/blob/main/Assets/Whatsapp.svg" /> |
| 19 | + </a> |
| 20 | + <a href="https://www.instagram.com/Xiao_yan_21"> |
| 21 | + <img align="left" alt="SIEGRIN | Instagram" width="24px" src="https://github.com/siegrin/siegrin/blob/main/Assets/Instagram.svg" /> |
| 22 | + </a> |
| 23 | + < a href= "mailto:[email protected]"> |
| 24 | + <img align="left" alt="SIEGRIN | Gmail" width="26px" src="https://github.com/siegrin/siegrin/blob/main/Assets/Gmail.svg" /> |
| 25 | + </a> |
| 26 | +--------- |
| 27 | + |
| 28 | +## ```Whatsapp``` <a href="https://wa.me/6285736178354"> <img align="left" alt="SIEGRIN | Whastapp" width="26px" src="https://github.com/siegrin/siegrin/blob/main/Assets/Whatsapp.svg" /> |
| 29 | +[](https://wa.me/6281231079387) |
| 30 | +[](https://wa.me/62831433937633) |
| 31 | +[](https://chat.whatsapp.com/Hjr3H7l9iC8F2deP0cv6GT) |
| 32 | +--------- |
| 33 | + |
| 34 | +#### KELEBIHAN 📍 |
| 35 | +| Kelebihan | Check | |
| 36 | +|--------|--------| |
| 37 | +| **Fast Respon** |[✔️](https://github.com/kannachann) | |
| 38 | +| **No Internet** |[✔️](https://github.com/kannachann) | |
| 39 | +| **Simple** |[✔️](https://github.com/kannachann) | |
| 40 | +| **Button template** |[✔️](https://github.com/kannachann) | |
| 41 | +| **Multi Device** |[✔️](https://github.com/kannachann) | |
| 42 | +--------- |
| 43 | +#### FITUR 📍 |
| 44 | +| Fitur | Check | |
| 45 | +|--------|--------| |
| 46 | +| **Downloader** |[✔️](https://github.com/kannachann) | |
| 47 | +| **Internet** |[✔️](https://github.com/kannachann) | |
| 48 | +| **Game Rpg** |[✔️](https://github.com/kannachann) | |
| 49 | +| **Nsfw** |[✔️](https://github.com/kannachann) | |
| 50 | +| **Sticker** |[✔️](https://github.com/kannachann) | |
| 51 | +| **Game** |[✔️](https://github.com/kannachann) | |
| 52 | +| **Kerang Ajaib** |[✔️](https://github.com/kannachann) | |
| 53 | +| **Quotes** |[✔️](https://github.com/kannachann) | |
| 54 | +| **Anime** |[✔️](https://github.com/kannachann) | |
| 55 | +| **Premium** |[✔️](https://github.com/kannachann) | |
| 56 | +| **Tools** |[✔️](https://github.com/kannachann) | |
| 57 | +| **Exec** |[✔️](https://github.com/kannachann) | |
| 58 | +| **React** |[✔️](https://github.com/kannachann) | |
| 59 | +--------- |
| 60 | + |
| 61 | +## `SETTING` |
| 62 | + |
| 63 | +- Owner Number [Here](https://github.com/kannachann/kannabot-md/blob/multi-device/config.js#L1) |
| 64 | +- Owner Name [Here](https://github.com/kannachann/kannabot-md/blob/multi-device/config.js#L1) |
| 65 | +- Bot Name [Here](https://github.com/kannachann/kannabot-md/blob/multi-device/config.js#L1) |
| 66 | +--------- |
| 67 | + |
| 68 | +## ```Heroku Buildpack``` |
| 69 | +[](https://heroku.com/deploy?template=https://github.com/kannachann/KannaBOT-MD) |
| 70 | + |
| 71 | +| BuildPack | LINK | |
| 72 | +|--------|--------| |
| 73 | +| **FFMPEG** |[here](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest) | |
| 74 | +| **IMAGEMAGICK** | [here](https://github.com/DuckyTeam/heroku-buildpack-imagemagick) | |
| 75 | + |
| 76 | +## TERMUX USER |
| 77 | +```bash |
| 78 | +$ pkg upgrade && pkg update |
| 79 | +$ pkg install git -y |
| 80 | +$ pkg install nodejs -y |
| 81 | +$ pkg install ffmpeg -y |
| 82 | +$ pkg install imagemagick -y |
| 83 | +$ git clone https://github.com/kannachann/KannaBOT-MD/ |
| 84 | +$ cd KannaBOT-MD |
| 85 | +$ npm i |
| 86 | +``` |
| 87 | +If error try using yarn instead of npm, see [here](https://github.com/kannachann/KannaBOT-MD#if-npm-install-failed--try--using-yarn-instead-of-npm) |
| 88 | +```bash |
| 89 | +$ node . |
| 90 | +``` |
| 91 | + |
| 92 | +#### If npm install failed, try using yarn instead of npm |
| 93 | +```bash |
| 94 | +$ pkg install yarn -y |
| 95 | +$ yarn install |
| 96 | +``` |
| 97 | +--------- |
| 98 | + |
| 99 | +## TERMUX WITH UBUNTU |
| 100 | + |
| 101 | +```bash |
| 102 | +apt update && apt full-upgrade |
| 103 | +apt install wget curl git proot-distro |
| 104 | +proot-distro install ubuntu |
| 105 | +echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu |
| 106 | +ubuntu |
| 107 | +``` |
| 108 | +--------- |
| 109 | + |
| 110 | +[ INSTALLING REQUIRED PACKAGES ] |
| 111 | + |
| 112 | +```bash |
| 113 | +ubuntu |
| 114 | +apt update && apt full-upgrade |
| 115 | +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 |
| 116 | +``` |
| 117 | + |
| 118 | +--------- |
| 119 | + |
| 120 | +[ INSTALLING NODEJS & KANNABOT-MD] |
| 121 | + |
| 122 | +```bash |
| 123 | +ubuntu |
| 124 | +curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - |
| 125 | +apt install -y nodejs gcc g++ make |
| 126 | +git clone https://github.com/kannachann/KannaBOT-MD/ |
| 127 | +cd KannaBOT-MD |
| 128 | +npm install |
| 129 | +npm update |
| 130 | +``` |
| 131 | + |
| 132 | +--------- |
| 133 | + |
| 134 | +## FOR WINDOWS/VPS/RDP USER 💻 |
| 135 | + |
| 136 | +* Download And Install Git [`Click Here`](https://git-scm.com/downloads) |
| 137 | +* Download And Install NodeJS [`Click Here`](https://nodejs.org/en/download) |
| 138 | +* Download And Install FFmpeg [`Click Here`](https://ffmpeg.org/download.html) (**Don't Forget Add FFmpeg to PATH enviroment variables**) |
| 139 | +* Download And Install ImageMagick [`Click Here`](https://imagemagick.org/script/download.php) |
| 140 | + |
| 141 | +```bash |
| 142 | +git clone https://github.com/kannachann/KannaBOT-MD/ |
| 143 | +cd KannaBOT-MD |
| 144 | +npm install |
| 145 | +npm update |
| 146 | +``` |
| 147 | + |
| 148 | +--------- |
| 149 | + |
| 150 | +## Run 🏃 |
| 151 | + |
| 152 | +```bash |
| 153 | +node . |
| 154 | +``` |
| 155 | + |
| 156 | +--------- |
| 157 | + |
| 158 | +## ```Arguments node . [--options] [<session name>]``` |
| 159 | + |
| 160 | +## `--self` |
| 161 | +* Activate self mode (Ignores other) |
| 162 | + |
| 163 | +## `--pconly` |
| 164 | +* If that chat not from private bot, bot will ignore |
| 165 | + |
| 166 | +## `--gconly` |
| 167 | +* If that chat not from group, bot will ignore |
| 168 | + |
| 169 | +## `--swonly` |
| 170 | +* If that chat not from status, bot will ignore |
| 171 | + |
| 172 | +## `--prefix <prefixes>` |
| 173 | +* `prefixes` are seperated by each character |
| 174 | +Set prefix |
| 175 | + |
| 176 | +## `--server` |
| 177 | +* Used for [heroku](https://heroku.com/) or scan through website |
| 178 | + |
| 179 | +## `--restrict` |
| 180 | +* Enables restricted plugins (which can lead your number to be **banned** if used too often) |
| 181 | +* Group Administration `add, kick` |
| 182 | + |
| 183 | +## `--img` |
| 184 | +* Enable image inspector through terminal |
| 185 | + |
| 186 | +## `--autoread` |
| 187 | +* If enabled, all incoming messages will be marked as read |
| 188 | + |
| 189 | +## `--nyimak` |
| 190 | +* No bot, just print received messages and add users to database |
| 191 | + |
| 192 | +## `--test` |
| 193 | +* **Development** Testing Mode |
| 194 | + |
| 195 | +--------- |
| 196 | + |
| 197 | +## ```How To Customise Message Display``` |
| 198 | +```js |
| 199 | +// Syntax |
| 200 | +conn.sendButton( |
| 201 | + jid, // jid of the user to send the message to |
| 202 | + text, // text to send |
| 203 | + foooter, // footer to send |
| 204 | + buffer, // buffer to send (optional), if you want to send button image, location, etc |
| 205 | + buttons, // buttons to send, example [['text1', 'id1'], ['text2', 'id2']] |
| 206 | + quoted, // quoted message to send (optional) |
| 207 | + options // options to send, example { asLocation: true } |
| 208 | +) |
| 209 | + |
| 210 | +// example |
| 211 | +conn.sendButton(m.chat, 'Hello world!', '@BochilGaming', null, [ |
| 212 | + ['Hello', 'hello'], ['Bye', 'bye'] |
| 213 | +]) |
| 214 | +// example button location |
| 215 | +conn.sendButton(m.chat, 'Hello world!', '@BochilGaming', 'https://github.com/BochilGaming', |
| 216 | + [['Hello', 'hello'], ['Bye', 'bye']], |
| 217 | + null, { asLocation: true } |
| 218 | +) |
| 219 | +``` |
| 220 | +--------- |
| 221 | + |
| 222 | +### 📮 S&K |
| 223 | +1. Jangan diperjual belikan Script ini |
| 224 | +2. Sebelum pakai jangan lupa kasih star |
| 225 | +3. Follow Github ! |
| 226 | +4. Jangan salah gunakan script ini! |
| 227 | + |
| 228 | +--------- |
| 229 | + |
| 230 | +### ❗ Note : Apikeynya Beli Sendiri Atau Cari Aja Sendiri |
| 231 | + |
| 232 | +--------- |
| 233 | + |
| 234 | +## ```Thanks to ✨``` |
| 235 | +* [`Allah SWT`](https://github.com/ImYanXiao) |
| 236 | +* [`My parents`](https://github.com/ImYanXiao) |
| 237 | +* [`All Friends`](https://github.com/ImYanXiao) |
| 238 | +* [`All Contributors`](https://github.com/ImYanXiao) |
| 239 | +* [`All Creator Bot`](https://github.com/ImYanXiao) |
| 240 | +* [`Adiwajshing`](https://github.com/adiwajshing/Baileys) |
| 241 | +* [`Nurutomo`](https://github.com/nurutomi) |
| 242 | +* [`BochilGaming`](https://github.com/bochilgaming) |
| 243 | +* [`KannaChan`](https://github.com/kannachann) |
| 244 | + |
| 245 | +## ```Recode By 🐾``` |
| 246 | +[](https://github.com/kannachann) |
| 247 | + |
| 248 | +## ```Contributor 🔭``` |
| 249 | +* [`The.Sad.Boy01`](https://github.com/Kangsad01) |
| 250 | +* [`AmirulDev20`](https://github.com/amiruldev20) |
| 251 | +* [`Rasel Comel`](https://github.com/raselcomel) |
| 252 | +* [`Rominaru`](https://github.com/rominaru) |
| 253 | +* [`KannaChan`](https://github.com/kannachann) |
| 254 | +* [`Fahri Adison`](https://github.com/FahriAdison) |
0 commit comments