╔═════════════════════════════════╗
║ 🛠️ Informasi Script
╠═════════════════════════════════╣
║ 📦 Version : 5.0.0
║ 👨💻 Developer : Azhari Creative
║ 🌐 Website : autoresbot.com
║ 💻 GitHub : github.com/autoresbot/resbot-md
╚═════════════════════════════════╝
⚠️ Peringatan:
SCRIPT INI TIDAK BOLEH DIPERJUALBELIKAN.
[👉 autoresbot.com](https://autoresbot.com)Dokumentasi penggunaan API dari api.autoresbot.com untuk integrasi ke dalam proyek Anda.
Pastikan Anda sudah menginstal package api-autoresbot melalui npm:
npm install api-autoresbotconst response = await api.get("/api/random/zikir");const response = await api.get("/api/gemini", { text: content });const response = await api.getBuffer("/api/maker/attp2", { text: content });const response = await api.tmpUpload(mediaPath);await sock.sendMessage(remoteJid, { text: "Example" });
await sock.sendMessage(remoteJid, { text: "Example" }, { quoted: message });await sock.sendMessage(remoteJid, {
image: { url: "https://example.com/tes.jpg" },
caption: `Caption`,
});
await sock.sendMessage(
remoteJid,
{ image: { url: "https://example.com/tes.jpg" }, caption: `Caption` },
{ quoted: message }
);
await sock.sendMessage(remoteJid, { image: buffer, caption: `Caption` });
await sock.sendMessage(
remoteJid,
{ image: buffer, caption: `Caption` },
{ quoted: message }
);await sock.sendMessage(
remoteJid,
{ audio: { url: "" }, mimetype: "audio/mp4" },
{ quoted: message }
);
await sock.sendMessage(remoteJid, { audio: bufferAudio }, { quoted: message });await sock.sendMessage(remoteJid, { react: { text: "⏰", key: message.key } });sock.sendMessage(
remoteJid,
{
text: `Ini adalah contoh pesan terusan`,
contextInfo: {
forwardingScore: 7,
isForwarded: true,
mentionedJid: [remoteJid],
},
},
{ quoted: message }
);import {
getGroupMetadata,
getProfilePictureUrl,
groupFetchAllParticipating,
} from "./cache.js";
getGroupMetadata(sock, remoteJid);return false; // Menghentikan proses handler tanpa lanjut ke plugin
return true; // Menghentikan proses handler dan lanjut ke plugin
return; // Lanjut ke handler lain dan plugin