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
22 changes: 9 additions & 13 deletions qr.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function removeFile(FilePath) {
router.get('/', async (req, res) => {
const id = makeid();
// let num = req.query.number;
async function MALVIN_XD_PAIR_CODE() {
async function CMXCIX_V1_PAIR_CODE() {
const {
state,
saveCreds
Expand Down Expand Up @@ -74,16 +74,14 @@ var randomItem = selectRandomItem(items);
let code = await sock.sendMessage(sock.user.id, { text: md });
let desc = `*Hey there, MALVIN-XD User!* 👋🏻

Thanks for using *MALVIN-XD* — your session has been successfully created!
Thanks for using *CMXCIX V1* — your session has been successfully created!

🔐 *Session ID:* Sent above
⚠️ *Keep it safe!* Do NOT share this ID with anyone.

——————

*✅ Stay Updated:*
Join our official WhatsApp Channel:
https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A

*💻 Source Code:*
Fork & explore the project on GitHub:
Expand All @@ -92,12 +90,12 @@ https://github.com/XdKing2/MALVIN-XD
——————

> *© Powered by Malvin King*
Stay cool and hack smart. ✌🏻`;
⁹⁹⁹†. 👹`;
await sock.sendMessage(sock.user.id, {
text: desc,
contextInfo: {
externalAdReply: {
title: "ᴍᴀʟᴠɪɴ-xᴅ 𝕮𝖔𝖓𝖓𝖊𝖈𝖙𝖊𝖉",
title: "CMXCIX V1 𝕮𝖔𝖓𝖓𝖊𝖈𝖙𝖊𝖉",
thumbnailUrl: "https://files.catbox.moe/bqs70b.jpg",
sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
mediaType: 1,
Expand All @@ -110,28 +108,26 @@ renderLargerThumbnail: true
let ddd = sock.sendMessage(sock.user.id, { text: e });
let desc = `*Hey there, MALVIN-XD User!* 👋🏻

Thanks for using *MALVIN-XD* — your session has been successfully created!
Thanks for using *CMXCIX V1* — your session has been successfully created!

🔐 *Session ID:* Sent above
⚠️ *Keep it safe!* Do NOT share this ID with anyone.

——————

*✅ Stay Updated:*
Join our official WhatsApp Channel:
https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A

*💻 Source Code:*
Fork & explore the project on GitHub:
https://github.com/XdKing2/MALVIN-XD

> *© Powered by Malvin King*
Stay cool and hack smart. ✌🏻*`;
⁹⁹⁹†. 👹*`;
await sock.sendMessage(sock.user.id, {
text: desc,
contextInfo: {
externalAdReply: {
title: "ᴍᴀʟᴠɪɴ-xᴅ 𝕮𝖔𝖓𝖓𝖊𝖈𝖙𝖊𝖉 ✅ ",
title: "CMXCIX V1 𝕮𝖔𝖓𝖓𝖊𝖈𝖙𝖊𝖉 ✅ ",
thumbnailUrl: "https://files.catbox.moe/bqs70b.jpg",
sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
mediaType: 2,
Expand All @@ -150,7 +146,7 @@ showAdAttribution: true
process.exit();
} else if (connection === "close" && lastDisconnect && lastDisconnect.error && lastDisconnect.error.output.statusCode != 401) {
await delay(10);
MALVIN_XD_PAIR_CODE();
CMXCIX_V1_PAIR_CODE(CMXCIXV1);
}
});
} catch (err) {
Expand All @@ -161,7 +157,7 @@ showAdAttribution: true
}
}
}
await MALVIN_XD_PAIR_CODE();
await CMXCIX_V1_PAIR_CODE(CMXCIXV1);
});
setInterval(() => {
console.log("☘️ 𝗥𝗲𝘀𝘁𝗮𝗿𝘁𝗶𝗻𝗴 𝗽𝗿𝗼𝗰𝗲𝘀𝘀...");
Expand Down