Skip to content

Instantly share code, notes, and snippets.

@Mr-rabbit-xd
Created March 24, 2025 06:50
Show Gist options
  • Save Mr-rabbit-xd/a0c30f0f26347592c1ad493cc93bf5e6 to your computer and use it in GitHub Desktop.
Save Mr-rabbit-xd/a0c30f0f26347592c1ad493cc93bf5e6 to your computer and use it in GitHub Desktop.
const { bot, sleep } = require('../lib/');
bot(
{
pattern: 'teddy ?(.*)',
fromMe: true,
desc: 'Teddy love animation',
type: 'whatsapp',
},
async (_0x1a2b4c, _0x3c5d6f) => {
const _0x5f6g7h = "(\_/)\n( •.•)\n/>";
const _0x7h8j9k = [
"❤️", "🩶", "🖤", "🤎", "💜", "💙", "🩵", "💚", "💛", "🧡",
"🤍", "🩷", "💘", "💝", "💖", "💗", "💓", "💞", "💕", "❤️‍🩹"
];
const _0x4a5b6c = await _0x1a2b4c.send(`${_0x5f6g7h}${_0x7h8j9k[0]}`);
let _0x9d8e7f = 0;
while (_0x9d8e7f < 20) {
for (let _0x2b3c4d = 0; _0x2b3c4d < _0x7h8j9k.length; _0x2b3c4d++) {
await sleep(300);
await _0x1a2b4c.send(
{ key: _0x4a5b6c.key, text: `${_0x5f6g7h}${_0x7h8j9k[_0x2b3c4d]}` },
{},
'edit'
);
}
_0x9d8e7f++;
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment