SUBZERO-MD / plugins /convert-logo.js
mrfrank-ofc's picture
Upload 63 files
8d8b0ad verified
raw
history blame
13.7 kB
const {
cmd,
commands
} = require("../command");
const {
fetchJson
} = require("../lib/functions");
cmd({
'pattern': "logo",
'desc': "Create logos",
'react': '🎁',
'category': "other",
'filename': __filename
}, async (_0x218f5d, _0x28282a, _0x208f73, {
from: _0x1aa1bb,
quoted: _0x15b4ef,
body: _0x5a3cdd,
isCmd: _0x5bae58,
command: _0x1ef69b,
args: _0x222de9,
q: _0x34a07c,
isGroup: _0x609391,
sender: _0x3113d3,
senderNumber: _0x142d20,
botNumber2: _0x2c8f00,
botNumber: _0x1c2333,
pushname: _0x86c189,
isMe: _0xb6eb8d,
isOwner: _0x1c4b84,
groupMetadata: _0x15d813,
groupName: _0xc3c8d4,
participants: _0xc36769,
groupAdmins: _0x16780c,
isBotAdmins: _0x50a1e5,
isAdmins: _0xa22e1c,
reply: _0x18078b
}) => {
try {
if (!_0x222de9[0x0]) {
return _0x18078b("*_Please give me a text. Eg *.logo Mr Frank*_*");
}
let _0xffdb95 = "*🌟 SUBZERO-MD LOGO MAKER 🌟*\n\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n*◈ᴛᴇxᴛ :* " + _0x34a07c + "\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n\n*🔢 Rᴇᴘʟʏ Tʜᴇ Nᴜᴍʙᴇʀ Yᴏᴜ Wᴀɴᴛ ➠*\n\n 1 ➠ Bʟᴀᴄᴋ Pɪɴᴋ\n 2 ➠ Bʟᴀᴄᴋ Pɪɴᴋ 2\n 3 ➠ Sɪʟᴠᴇʀ 3ᴅ\n 4 ➠ Nᴀʀᴜᴛᴏ\n 5 ➠ Dɪɢɪᴛᴀʟ Gʟɪᴛᴄʜ\n 6 ➠ Pɪxᴇʟ Gʟɪᴛᴄʜ\n 7 ➠ Cᴏᴍɪᴄ Sᴛʏʟᴇ\n 8 ➠ Nᴇᴏɴ Lɪɢʜᴛ\n 9 ➠ Fʀᴇᴇ Bᴇᴀʀ\n10 ➠ Dᴇᴠɪʟ Wɪɴɢꜱ\n11 ➠ Sᴀᴅ Gɪʀʟ\n12 ➠ Lᴇᴀᴠᴇꜱ\n13 ➠ Dʀᴀɢᴏɴ Bᴀʟʟ\n14 ➠ Hᴀɴᴅ Wʀɪᴛᴛᴇɴ\n15 ➠ Nᴇᴏɴ Lɪɢʜᴛ \n16 ➠ 3ᴅ Cᴀꜱᴛʟᴇ Pᴏᴘ\n17 ➠ Fʀᴏᴢᴇɴ ᴄʀɪꜱᴛᴍᴀꜱꜱ\n18 ➠ 3ᴅ Fᴏɪʟ Bᴀʟʟᴏɴꜱ\n19 ➠ 3ᴅ Cᴏʟᴏᴜʀꜰᴜʟ Pᴀɪɴᴛ\n20 ➠ Aᴍᴇʀɪᴄᴀɴ Fʟᴀɢ 3ᴅ\n\n> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡";
const _0x39a514 = {
'newsletterJid': '120363304325601080@newsletter',
'newsletterName': "❄️ 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 ❄️",
'serverMessageId': 0x3e7
};
const _0x5a943d = {
'mentionedJid': [_0x208f73.sender],
'forwardingScore': 0x3e7,
'isForwarded': true,
'forwardedNewsletterMessageInfo': _0x39a514
};
const _0x4b6716 = {
'text': _0xffdb95,
'contextInfo': _0x5a943d
};
let _0x581ab0 = await _0x218f5d.sendMessage(_0x1aa1bb, _0x4b6716, {
'quoted': _0x28282a
});
_0x218f5d.ev.on('messages.upsert', async _0x2e0858 => {
const _0x2a2572 = _0x2e0858.messages[0x0];
if (!_0x2a2572.message || !_0x2a2572.message.extendedTextMessage) {
return;
}
const _0x45b81e = _0x2a2572.message.extendedTextMessage.text.trim();
if (_0x2a2572.message.extendedTextMessage.contextInfo && _0x2a2572.message.extendedTextMessage.contextInfo.stanzaId === _0x581ab0.key.id) {
switch (_0x45b81e) {
case '1':
let _0x4ec74c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-blackpink-style-logo-with-members-signatures-810.html&name=' + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x4ec74c.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '2':
let _0x46d2d2 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/online-blackpink-style-logo-maker-effect-711.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x46d2d2.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '3':
let _0x3a041b = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-glossy-silver-3d-text-effect-online-802.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x3a041b.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '4':
let _0x33ee0f = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/naruto-shippuden-logo-style-text-effect-online-808.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x33ee0f.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '5':
let _0x34bc40 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-digital-glitch-text-effects-online-767.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x34bc40.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '6':
let _0x2114a3 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-pixel-glitch-text-effect-online-769.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x2114a3.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '7':
let _0x1bb969 = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-online-3d-comic-style-text-effects-817.html&name=' + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x1bb969.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '8':
let _0x338421 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x338421.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '9':
let _0x893904 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-bear-logo-maker-online-673.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x893904.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '10':
let _0x4ba5fb = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/neon-devil-wings-text-effect-online-683.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x4ba5fb.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '11':
let _0x598ffc = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-text-on-wet-glass-online-589.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x598ffc.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '12':
let _0x26ef9c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-typography-status-online-with-impressive-leaves-357.html&name=' + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x26ef9c.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '13':
let _0x51ac7d = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-dragon-ball-style-text-effects-online-809.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x51ac7d.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '14':
let _0x5e6aec = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/handwritten-text-on-foggy-glass-online-680.html&name=' + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x5e6aec.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '15':
let _0xcdf22e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0xcdf22e.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '16':
let _0x4feb5e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-3d-castle-pop-out-mobile-photo-effect-786.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x4feb5e.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '17':
let _0xf4046a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-frozen-christmas-text-effect-online-792.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0xf4046a.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '18':
let _0x144b2c = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/beautiful-3d-foil-balloon-effects-for-holidays-and-birthday-803.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x144b2c.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '19':
let _0x31d0fe = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-3d-colorful-paint-text-effect-online-801.html&name=' + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x31d0fe.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
case '20':
let _0x23294a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-online-american-flag-3d-text-effect-generator-725.html&name=" + _0x34a07c);
await _0x218f5d.sendMessage(_0x1aa1bb, {
'image': {
'url': '' + _0x23294a.result.download_url
},
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
}, {
'quoted': _0x28282a
});
break;
default:
_0x18078b("*_Invalid number.Please reply a valid number._*");
}
}
});
} catch (_0x22b33e) {
console.log(_0x22b33e);
_0x18078b('' + _0x22b33e);
}
});