Skip to content

Commit

Permalink
Create tkil.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Cod3Uchiha committed Jul 22, 2024
1 parent cc8a866 commit a71cd92
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions commandes/tkil.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const { zokou } = require("../framework/zokou");
const conf = require("../set");

const ios2 = "🌀️";
const ios1 = "π‹πŽπ‘πƒπ’†œπ“πŠπŒ";
const ngazap = "𝐬𝐚𝐲𝐬 πŸ–•πŸ˜ŽπŸ–• πŸ”₯";
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

zokou(
{
nomCom: "tkill",
categorie: "Mods",
reaction: "😈",
},
async (dest, zk, commandeOptions) => {
const { ms, arg, repondre, superUser } = commandeOptions;
const limit = conf.TKILL_MESSAGE_LIMIT;

if (!superUser) {
repondre("You are not authorized to use this command!!!");
return;
} else {
for (let i = 0; i < limit; i++) {
attention(`${ios2}${ios1}${ngazap}`);
await sleep(1000);
}
repondre("*Sukses mengirim Bug Ke Tolong Jeda 3 Menit Yah*");
}
}
);

0 comments on commit a71cd92

Please sign in to comment.