/elyas

Primary LanguageJavaScriptMIT LicenseMIT

EBOT MD


Ebot Whatsapp MD

Information

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

• NOTE: INI SC GAK BISA BUAT SESSION DI TERMUX YA, JADI KALIAN CARI SESSION DULU PAKAI SC LAIN • rekomendasi sc buat cari session disini

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

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

Made by :

How To Change Menu Display


Gif Menu Display

 let message = await prepareWAMessageMedia({ video: fs.readFileSync('./media/menu.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/elyas.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/elyas.jpg') },
           hydratedFooterText: wm,
           hydratedButtons: [{       

Video Menu Display

let message = await prepareWAMessageMedia({ video: fs.readFileSync('./media/menu.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 worker: node . --db 'mongodb+srv://Paquito1923:<password>@cluster0.wwdwr.mongodb.net/myFirstDatabase?retryWrites=true&w=majority'

UNTUK PENGGUNA WINDOWS/VPS/RDP

git clone https://github.com/Paquito1923/elyasmd
cd elyasmd
npm install
npm update
npm index

UNTUK PENGGUNA TERMUX

CARI SESSION DULU PAKAI SC BOT MD YANG LAIN🙏
pkg update && pkg upgrade
pkg install git
pkg install nodejs
pkg install ffmpeg
pkg install imagemagick
pkg install yarn
git clone https://github.com/Paquito1923/elyasmd
cd elyasmd
yarn
mc
ganti session
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 Ariffb F
Nurutomo Ariffb F
Author suhu suhu