Spaces:
Paused
Paused
πππ₯π₯πππ π π¨ππππ₯π β‘
commited on
Update tools-fancyfont.js
Browse files
plugins/tools-fancyfont.js
CHANGED
|
@@ -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://api.
|
| 35 |
let result = response.data;
|
| 36 |
|
| 37 |
// If the response doesn't have fonts, show an error
|
|
|
|
| 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://www.dark-yasiya-api.site/other/font?text=${encodeURIComponent(q)}`);
|
| 35 |
let result = response.data;
|
| 36 |
|
| 37 |
// If the response doesn't have fonts, show an error
|