Spaces:
Paused
Paused
πππ₯π₯πππ π π¨ππππ₯π β‘
commited on
Update tools-fancyfont.js
Browse files
plugins/tools-fancyfont.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
|
| 4 |
|
|
@@ -16,7 +16,7 @@ const { cmd } = require('../command');
|
|
| 16 |
const axios = require('axios');
|
| 17 |
|
| 18 |
|
| 19 |
-
|
| 20 |
// Register the command
|
| 21 |
cmd({
|
| 22 |
pattern: 'font',
|
|
@@ -31,7 +31,7 @@ cmd({
|
|
| 31 |
if (!q) return reply('Please provide text to convert into fonts.');
|
| 32 |
|
| 33 |
// Fetch fonts from the API using the provided text
|
| 34 |
-
let response = await axios.get(`https://
|
| 35 |
let result = response.data;
|
| 36 |
|
| 37 |
// If the response doesn't have fonts, show an error
|
|
|
|
| 1 |
+
//SUBZERO PROPERTY
|
| 2 |
|
| 3 |
|
| 4 |
|
|
|
|
| 16 |
const axios = require('axios');
|
| 17 |
|
| 18 |
|
| 19 |
+
|
| 20 |
// Register the command
|
| 21 |
cmd({
|
| 22 |
pattern: 'font',
|
|
|
|
| 31 |
if (!q) return reply('Please provide text to convert into fonts.');
|
| 32 |
|
| 33 |
// Fetch fonts from the API using the provided text
|
| 34 |
+
let response = await axios.get(`https://qaz.wtf/u/convert.cgi?text=${encodeURIComponent(q)}`);
|
| 35 |
let result = response.data;
|
| 36 |
|
| 37 |
// If the response doesn't have fonts, show an error
|