API-XX commited on
Commit
3303ca7
Β·
verified Β·
1 Parent(s): 24ef40e

Upload case.js

Browse files
Files changed (1) hide show
  1. case.js +2 -2
case.js CHANGED
@@ -1595,7 +1595,7 @@ case 'tinyurl': {
1595
  }
1596
 
1597
  conn.sendMessage(m.chat, {
1598
- text: fontx(`πŸ”— *Shortened URL:*\n\nπŸ“ *Long:* ${q}\nβœ‚οΈ *Short:* ${json.short_url}`),
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, {