Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ const { removeBackgroundFromImageFile } = require('remove.bg')
const { ind } = require('./language')
const vcard = 'BEGIN:VCARD\n'
+ 'VERSION:3.0\n'
+ 'FN:Affis Admin\n'
+ 'ORG: Pengembang XBot;\n'
+ 'TEL;type=CELL;type=VOICE;waid=6282334297175:+62 823-3429-7175\n'
+ 'FN:Clov Admin\n'
+ 'ORG: Pengembang Clov;\n'
+ 'TEL;type=CELL;type=VOICE;waid=6285156369244:+62 851-5636-9244\n'
+ 'END:VCARD'
prefix = '#'
blocked = []
limitawal = '20'
limitawal = '30'
cr = '*BOT INI SUDAH TERVERIFIKASI*'

/******** OWNER NUMBER**********/
const ownerNumber = ["62895710073737@s.whatsapp.net","6282334297174@s.whatsapp.net"]
const ownerNumber = ["62885156369244@s.whatsapp.net"]
/************************************/


Expand Down Expand Up @@ -898,7 +898,7 @@ client.on('group-participants-update', async (anu) => {
case 'info':
me = client.user
uptime = process.uptime()
teks = `*Nama bot* : ${me.name}\n*OWNER* : *AMPIBI*\n*AUTHOR* : AMPIBI\n*Nomor Bot* : @${me.jid.split('@')[0]}\n*Prefix* : ${prefix}\n*Total Block Contact* : ${blocked.length}\n*The bot is active on* : ${kyun(uptime)}`
teks = `*Nama bot* : ${me.name}\n*OWNER* : *CLOV*\n*AUTHOR* : CLOV\n*Nomor Bot* : @${me.jid.split('@')[0]}\n*Prefix* : ${prefix}\n*Total Block Contact* : ${blocked.length}\n*The bot is active on* : ${kyun(uptime)}`
buffer = await getBuffer(me.imgUrl)
client.sendMessage(from, buffer, image, {caption: teks, contextInfo:{mentionedJid: [me.jid]}})
break
Expand Down