Spaces:
Runtime error
Runtime error
File size: 3,074 Bytes
8d8b0ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
const { cmd } = require('../command');
cmd({
pattern: "hack",
desc: "Displays a dynamic and playful 'Hacking' message for fun.",
category: "fun",
react: "π»",
filename: __filename
},
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
try {
const steps = [
'π» *SUBZERO HACK STARTING...* π»',
'',
'*Initializing hacking tools...* π οΈ',
'*Connecting to remote servers...* π',
'',
'```[ββββββββββ] 10%``` β³' ,
'```[βββββββββββββββββββ] 20%``` β³' ,
'```[βββββββββββββββββββββββ] 30%``` β³' ,
'```[ββββββββββββββββββββββββββ] 40%``` β³' ,
'```[βββββββββββββββββββββββββββββββ] 50%``` β³' ,
'```[βββββββββββββββββββββββββββββββββββββ] 60%``` β³' ,
'```[ββββββββββββββββββββββββββββββββββββββββββ] 70%``` β³' ,
'```[ββββββββββββββββββββββββββββββββββββββββββββββ] 80%``` β³' ,
'```[ββββββββββββββββββββββββββββββββββββββββββββββββββ] 90%``` β³' ,
'```[ββββββββββββββββββββββββββββββββββββββββββββββββββββ] 100%``` β
',
'',
'π *System Breach: Successful!* π',
'π *Command Execution: Complete!* π―',
'',
'*π‘ Transmitting data...* π€',
'_π΅οΈββοΈ Ensuring stealth..._ π€«',
'*π§ Finalizing operations...* π',
'',
'β οΈ *Note:* All actions are for demonstration purposes only.',
'β οΈ *Reminder:* Ethical hacking is the only way to ensure security.',
'',
'> *SUBZERO-HACKING-COMPLETE β£*'
];
for (const line of steps) {
await conn.sendMessage(from, { text: line }, { quoted: mek });
await new Promise(resolve => setTimeout(resolve, 1000)); // Adjust the delay as needed
}
} catch (e) {
console.log(e);
reply(`β *Error:* ${e.message}`);
}
});
|