Spaces:
Paused
Paused
๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐ โก commited on
Update tools-tinyshorturl.js
Browse files
plugins/tools-tinyshorturl.js
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
// SUBZERO PROPERTY
|
| 2 |
// I KNEW U WOULD COME
|
| 3 |
|
|
@@ -40,7 +58,7 @@ cmd({
|
|
| 40 |
try {
|
| 41 |
if (!q) return reply('Please provide a URL to shorten.');
|
| 42 |
|
| 43 |
-
await reply('> *Processing...*');
|
| 44 |
|
| 45 |
let apiUrl = '';
|
| 46 |
if (command === 'tiny' || command === 'tinyurl') {
|
|
@@ -54,7 +72,7 @@ cmd({
|
|
| 54 |
const response = await fetchJson(apiUrl);
|
| 55 |
const result = response.result;
|
| 56 |
|
| 57 |
-
const caption = ` \`SUBZERO URL SHORTENER\` \n\n*Original Link:* ${q}\n\n*Shortened Link:* ${result}\n\n> แดแดแดกแดสแดแด
สส แดส าสแดษดแด`;
|
| 58 |
|
| 59 |
await conn.sendMessage(m.chat, { text: caption }, { quoted: m });
|
| 60 |
} catch (error) {
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
|
| 3 |
+
$$$$$$\ $$\
|
| 4 |
+
$$ __$$\ $$ |
|
| 5 |
+
$$ / \__|$$\ $$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
|
| 6 |
+
\$$$$$$\ $$ | $$ |$$ __$$\ \____$$ |$$ __$$\ $$ __$$\ $$ __$$\
|
| 7 |
+
\____$$\ $$ | $$ |$$ | $$ | $$$$ _/ $$$$$$$$ |$$ | \__|$$ / $$ |
|
| 8 |
+
$$\ $$ |$$ | $$ |$$ | $$ | $$ _/ $$ ____|$$ | $$ | $$ |
|
| 9 |
+
\$$$$$$ |\$$$$$$ |$$$$$$$ |$$$$$$$$\ \$$$$$$$\ $$ | \$$$$$$ |
|
| 10 |
+
\______/ \______/ \_______/ \________| \_______|\__| \______/
|
| 11 |
+
|
| 12 |
+
Project Name : SubZero MD
|
| 13 |
+
Creator : Darrell Mucheri ( Mr Frank OFC )
|
| 14 |
+
Repo : https//github.com/mrfrank-ofc/SUBZERO-MD
|
| 15 |
+
Support : wa.me/18062212660
|
| 16 |
+
*/
|
| 17 |
+
|
| 18 |
+
|
| 19 |
// SUBZERO PROPERTY
|
| 20 |
// I KNEW U WOULD COME
|
| 21 |
|
|
|
|
| 58 |
try {
|
| 59 |
if (!q) return reply('Please provide a URL to shorten.');
|
| 60 |
|
| 61 |
+
await reply('> *Subzero Processing...*');
|
| 62 |
|
| 63 |
let apiUrl = '';
|
| 64 |
if (command === 'tiny' || command === 'tinyurl') {
|
|
|
|
| 72 |
const response = await fetchJson(apiUrl);
|
| 73 |
const result = response.result;
|
| 74 |
|
| 75 |
+
const caption = ` \`SUBZERO URL SHORTENER\` \n\n\n*Original Link:* ${q}\n\n*Shortened Link:* ${result}\n\n> แดแดแดกแดสแดแด
สส แดส าสแดษดแด`;
|
| 76 |
|
| 77 |
await conn.sendMessage(m.chat, { text: caption }, { quoted: m });
|
| 78 |
} catch (error) {
|