/Chitanda-Botz

Primary LanguageJavaScriptMIT LicenseMIT

Chitanda-Botz

RequirementsInstallationThanks to Official Group BotDonate

---

YUKI BOT Whatsapp MD

For Users Termux Install Module here

Information

YUKI BOT whatsapp using a Baileys library. Jika kamu menemukan semacam bug, harap untuk dimaklumi sementara

• NOTE: Pastikan Jaringan kalian lancar dan device kalian bagus:v,

• Kalo pake termux mungkin bakal lama respon nya, saya sarankan pake heroku

Made by :

Tester Bot

  • Jika kamu menemukan bug jangan lupa buka Issues
  • Info Lebih Lanjut, Chat Owner-YukiBot

How To Change Menu Display


Gif Menu Display

 let message = await prepareWAMessageMedia({ video: fs.readFileSync('./media/shiro.mp4'), gifPlayback: true }, { upload: conn.waUploadToServer })
     const template = generateWAMessageFromContent(m.chat, proto.Message.fromObject({
     templateMessage: {
         hydratedTemplate: {
           videoMessage: message.videoMessage,
           hydratedContentText: text.trim(),
           hydratedFooterText: wm,
           hydratedButtons: [{

Image Menu Display

let message = await prepareWAMessageMedia({ image: fs.readFileSync('./media/shiraori.jpg')}, { upload: conn.waUploadToServer })
     const template = generateWAMessageFromContent(m.chat, proto.Message.fromObject({
     templateMessage: {
         hydratedTemplate: {
           imageMessage: message.imageMessage,
           hydratedContentText: text.trim(),
           hydratedFooterText: wm,
           hydratedButtons: [{

Location Menu Display

 const template = generateWAMessageFromContent(m.chat, proto.Message.fromObject({
     templateMessage: {
         hydratedTemplate: {
           hydratedContentText: text.trim(),
           locationMessage: { 
           jpegThumbnail: fs.readFileSync('./media/shiraori.jpg') },
           hydratedFooterText: wm,
           hydratedButtons: [{       

Video Menu Display

let message = await prepareWAMessageMedia({ video: fs.readFileSync('./media/shiro.mp4')}, { upload: conn.waUploadToServer })
     const template = generateWAMessageFromContent(m.chat, proto.Message.fromObject({
     templateMessage: {
         hydratedTemplate: {
           videoMessage: message.videoMessage,
           hydratedContentText: text.trim(),
           hydratedFooterText: wm,
           hydratedButtons: [{           	

HOW TO CONNECT TO MONGODB WHEN RUN IN HEROKU

  • Create account and database in mongodb atlas watch here
  • when you already have a database, you just need to take mongourl
  • Put mongourl in Procfile web: node . --db 'mongourl'
  • Example web: node . -- db 'mongodb+srv://ilman:<password>@cluster0.iiede.mongodb.net/ShiraoriBOT?retryWrites=true&w=majority'

UNTUK PENGGUNA WINDOWS/VPS/RDP

git clone https://github.com/saipulanuar/YukiBot2022
cd YukiBot2022
npm install
npm update
npm index

UNTUK PENGGUNA TERMUX

pkg update && pkg upgrade
pkg install git
pkg install nodejs
pkg install ffmpeg
pkg install imagemagick
pkg install yarn
git clone https://github.com/saipulanuar/YukiBot2022
cd YukiBot2022
yarn
node .

UNTUK PENGGUNA HEROKU

Instal Buildpack

Installing the FFmpeg for Windows

  • Unduh salah satu versi FFmpeg yang tersedia dengan mengklik di sini.
  • Extract file ke C:\ path.
  • Ganti nama folder yang telah di-extract menjadi ffmpeg.
  • Run Command Prompt as Administrator.
  • Jalankan perintah berikut::
> setx /m PATH "C:\ffmpeg\bin;%PATH%"

Jika berhasil, akan memberikanmu pesan seperti: SUCCESS: specified value was saved.

  • Sekarang setelah Anda menginstal FFmpeg, verifikasi bahwa itu berhasil dengan menjalankan perintah ini untuk melihat versi:
> ffmpeg -version

Thanks to

Nurutomo KingOfBear Istikmal
Nurutomo KingOfBear Istikmal
Author yg nambah fitur yg punya sc