Skip to content

Instantly share code, notes, and snippets.

@Mr-rabbit-xd
Created March 22, 2025 13:55
Show Gist options
  • Save Mr-rabbit-xd/359e0bfce0c1167713c6d0be781ce9cc to your computer and use it in GitHub Desktop.
Save Mr-rabbit-xd/359e0bfce0c1167713c6d0be781ce9cc to your computer and use it in GitHub Desktop.
const { bot } = require("../lib/");
bot(
{
pattern: "reverse ?(.*)",
desc: "Reverse the given text",
type: "fun",
},
async (message, match) => {
const _0x3f23=["split","reverse","join","send","Please provide a text to reverse!","Reversed: "];if(!match){return await message[_0x3f23[3]](_0x3f23[4])};const _0x4b23=match[_0x3f23[0]]("")[ _0x3f23[1]]()[_0x3f23[2]]("");return await message[_0x3f23[3]](_0x3f23[5]+ _0x4b23)}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment