Upload case.js
Browse files
case.js
CHANGED
@@ -1595,7 +1595,7 @@ case 'tinyurl': {
|
|
1595 |
}
|
1596 |
|
1597 |
conn.sendMessage(m.chat, {
|
1598 |
-
text: fontx(`π *Shortened URL:*\n\nπ *Long:*
|
1599 |
}, { quoted: m });
|
1600 |
|
1601 |
} catch (error) {
|
@@ -1896,7 +1896,7 @@ case "readviewonce": {
|
|
1896 |
break;
|
1897 |
case 'qr': {
|
1898 |
if (!q) return reply("Please provide text or a link to generate a QR code.");
|
1899 |
-
|
1900 |
const apiUrl = `https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=${encodeURIComponent(q)}`;
|
1901 |
|
1902 |
await conn.sendMessage(m.chat, {
|
|
|
1595 |
}
|
1596 |
|
1597 |
conn.sendMessage(m.chat, {
|
1598 |
+
text: fontx(`π *Shortened URL:*\n\nπ *Long:* `)+ q + fontx(`\nβοΈ *Short:* `) + json.short_url,
|
1599 |
}, { quoted: m });
|
1600 |
|
1601 |
} catch (error) {
|
|
|
1896 |
break;
|
1897 |
case 'qr': {
|
1898 |
if (!q) return reply("Please provide text or a link to generate a QR code.");
|
1899 |
+
await loading();
|
1900 |
const apiUrl = `https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=${encodeURIComponent(q)}`;
|
1901 |
|
1902 |
await conn.sendMessage(m.chat, {
|