Skip to content

Instantly share code, notes, and snippets.

@Mr-rabbit-xd
Created March 22, 2025 12:56
Show Gist options
  • Save Mr-rabbit-xd/8c97137150490fc6283ff8e3ac6c0e5a to your computer and use it in GitHub Desktop.
Save Mr-rabbit-xd/8c97137150490fc6283ff8e3ac6c0e5a to your computer and use it in GitHub Desktop.
const { bot } = require('../lib/');
bot(
{
pattern: 'bomb ?(.*)',
desc: 'Send multiple messages as a bomb!',
type: 'fun',
},
async (M, T) => {
let _0xa1b3 = [
'split',
'send',
'join',
'Max 100 messages allowed at once!',
],
_0x5f3e = function (_0xd41b) {
return _0xa1b3[_0xd41b];
};
let A = T[_0x5f3e(0)](' '),
B = parseInt(A[0]) || 5,
C = A.slice(1)[_0x5f3e(2)](' ') || '💥 BOOM! 💥';
if (B > 100) return await M[_0x5f3e(1)](_0x5f3e(3));
for (let D = 0; D < B; D++) await M[_0x5f3e(1)](C);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment