Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyAkintunde committed Jul 8, 2024
1 parent defb8fb commit c0c7c0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions commandes/other.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ zokou(

async (dest, zk, commandOptions) => {
const { ms, arg, reponder } = commandOptions;
if (!arg[0]) return reponder();
if (!arg[0]) return reponder("*provide text or code to encode*");

const text = arg.join(" ");

let obfuscatedText = JavaScriptObfuscator.obfuscate(text, {
compact: true,
Expand All @@ -32,10 +34,8 @@ zokou(
transformObjectKeys: true,
unicodeEscapeSequence: false
}).getObfuscatedCode();

await reponder(obfuscatedText);
await react(dest, zk, ms, '👾')
await react(dest, zk, ms, "👾");
}
);


0 comments on commit c0c7c0b

Please sign in to comment.