Dwiky Zulkarnain Posted November 17, 2023 Posted November 17, 2023 permisi kak ada yang bisa bantu saya install di hosting soalnya gk mau muncul qr dan udah di jalanin nodejs juga Quote
Putra Pertama Posted November 18, 2023 Posted November 18, 2023 @The Billionaire How to solve autoreply sir? Quote
Testeria Development Posted November 23, 2023 Posted November 23, 2023 (edited) On 8/27/2023 at 10:20 AM, Magd Almuntaser said: you can download from here decoded and fix many errors 5.5.0: @Bajra Al Faruq easyupload .io/3j7cjg Remove space from link. NO file in this link , Error at Autoreply Function , anybody is same ? Edited November 23, 2023 by Testeria Development Quote
Putra Pertama Posted November 24, 2023 Posted November 24, 2023 @Testeria Development 8 hours ago, Testeria Development said: NO file in this link , Error at Autoreply Function , anybody is same ? same. autoreply not working Quote
INNOVATORS soft Posted November 24, 2023 Posted November 24, 2023 Auto Reply Doesn't Working Are you all facing the same issue or Does anyone have Resolved the error? Quote
Testeria Development Posted November 24, 2023 Posted November 24, 2023 On 8/19/2023 at 1:28 AM, Magd Almuntaser said: Finally i've fixed the problem when you enable autoreply .. replace this code with your file (server/controllers/incomingMessage.js) : const { dbQuery } = require('../database/index'), { parseIncomingMessage, formatReceipt } = require('../lib/helper') require('dotenv').config() const axios = require('axios'), { isExistsEqualCommand, isExistsContainCommand, getUrlWebhook, } = require('../database/model'), IncomingMessage = async (whatsa, usera) => { try { let quoted = false if (!whatsa.messages) { return } whatsa = whatsa.messages[0] const namea = whatsa?.pushName || '' if (whatsa.key.fromMe === true) { return } if (whatsa.key.remoteJid === 'status@broadcast') { return } const partinumber = whatsa.key.participant && formatReceipt(whatsa.key.participant), { command: commanda, bufferImage: bufimagea, from: froma, } = await parseIncomingMessage(whatsa) let texta, replya const spilia = usera.user.id.split(':')[0], isrepl = await isExistsEqualCommand(commanda, spilia) isrepl.length > 0 ? (replya = isrepl) : (replya = await isExistsContainCommand(commanda, spilia)) if (replya.length === 0) { console.log(whatsa) const urla = await getUrlWebhook(spilia) if (urla == null) { return } const objecta = await sendWebhook({ command: commanda, bufferImage: bufimagea, from: froma, url: urla, participant: partinumber, }) if (objecta === false) { return } if (objecta === undefined) { return } if (typeof objecta != 'object') { return } quoted = objecta?.quoted ? true : false texta = JSON.stringify(objecta) } else { replyorno = replya[0].reply_when == 'All' ? true : replya[0].reply_when == 'Group' && whatsa.key.remoteJid.includes('@g.us') ? true : replya[0].reply_when == 'Personal' && !whatsa.key.remoteJid.includes('@g.us') ? true : false if (replyorno === false) { return } quoted = replya[0].is_quoted ? true : false texta = process.env.TYPE_SERVER === 'hosting' ? replya[0].reply : JSON.stringify(replya[0].reply) } return ( (texta = texta.replace(/{name}/g, namea)), await usera .sendMessage(whatsa.key.remoteJid, JSON.parse(JSON.parse(texta)), { quoted: quoted ? whatsa : null, }) .catch((errora) => { console.log(errora) }), true ) } catch (lasterrora) { console.log(lasterrora) } } async function sendWebhook({ command: msga, bufferImage: newimga, from: newfroma, url: newurla, participant: newparta, }) { try { const senda = { message: msga, bufferImage: newimga == undefined ? null : newimga, from: newfroma, participant: newparta, }, headra = { 'Content-Type': 'application/json; charset=utf-8' }, dataa = await axios .post(newurla, senda, headra) .catch(() => { return false }) return dataa.data } catch (newrerrora) { return console.log('error send webhook', newrerrora), false } } module.exports = { IncomingMessage: IncomingMessage } and tell me if your autoreply work !! i've sent this fix to the developer Its not work sir, autoreply still error Quote
The Billionaire Posted November 30, 2023 Posted November 30, 2023 On 11/24/2023 at 7:26 PM, Testeria Development said: Its not work sir, autoreply still error i fix mine, can i point you to the repo Quote
Zero828 Posted November 30, 2023 Posted November 30, 2023 @Testeria Development @Testeria Development remember it's file viruses infected Quote
ashoksingh shekhawat Posted December 5, 2023 Posted December 5, 2023 it is possible autoreply for group users? Quote
AOPUQI Posted December 15, 2023 Posted December 15, 2023 Campaign / Blast not work..help me provider shared hosting rumahweb Quote
Putra Pertama Posted December 15, 2023 Posted December 15, 2023 @ronipriyatna cronjobnya tuh bang, kemarin sempet gtu juga Quote
AOPUQI Posted December 15, 2023 Posted December 15, 2023 (edited) @Putra Pertama ok bg siap Edited December 15, 2023 by ronipriyatna Quote
AOPUQI Posted December 15, 2023 Posted December 15, 2023 @Putra Pertama tapi di hosting lain lancar..kalau di rumahweb BC nya gak jalan Quote
We Blend Web Posted December 15, 2023 Posted December 15, 2023 Blast msg not working. any solution please? Quote
We Blend Web Posted December 15, 2023 Posted December 15, 2023 @Magd Almuntaser How to add cron job in plesk panel. Quote
AppleGeek Posted December 16, 2023 Posted December 16, 2023 Bro, this is nulled or untouched version? 1 Quote
Putra Pertama Posted December 17, 2023 Posted December 17, 2023 @ronipriyatna aku malah domainesia gabisa, rumahweb bisa Quote
Testeria Development Posted December 17, 2023 Posted December 17, 2023 On 11/30/2023 at 10:35 AM, The Billionaire said: i fix mine, can i point you to the repo How to fix ? Quote
AOPUQI Posted December 17, 2023 Posted December 17, 2023 @We Blend Web dont forget input cron job... Quote
MarCoVar01 Posted December 18, 2023 Posted December 18, 2023 @ronipriyatna @We Blend Web use this information to configure this file and the cronjob On 6/17/2023 at 2:08 AM, Ardian said: config cronjob in shared hosting To make it work you must edit file "custom-route.php" at "webhome/routes/custom-routes.php with: ?php use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Artisan; Route::get('generate', function (){ return \Illuminate\Support\Facades\Artisan::call('storage:link'); })->name('generate'); Route::get('/schedule-run', function () { return Illuminate\Support\Facades\Artisan::call('schedule:run'); })->name('schedule-run'); Route::get('/clear-cache',function(){ dd('adsf'); return Artisan::call('optimize'); })->name("cache.clear"); ?> ---------------------- Now you can test: www.yourweb.com/schedule-run For the cronjob i´m using this two every five minutes: cd /YOURHOMEE/artisan schedule:run 1 >/dev/null 2>&1 curl "https://YOURWEB.com/schedule-run" >/dev/null 2>&1 Quote
We Blend Web Posted December 18, 2023 Posted December 18, 2023 @MarCoVar01 www.yourweb.com/schedule-run returning 0 . Blast message not working. Quote
AOPUQI Posted December 18, 2023 Posted December 18, 2023 @Putra Pertama @Putra Pertama aku udh solved mas di rumahweb.. Quote
MarCoVar01 Posted December 19, 2023 Posted December 19, 2023 21 hours ago, We Blend Web said: @MarCoVar01 www.yourweb.com/schedule-run returning 0 . Blast message not working. @We Blend Web if you are working Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.