Update index.js
Browse files
index.js
CHANGED
|
@@ -9,6 +9,7 @@ const { catbox } = require('./catbox'); // Import the Catbox uploader
|
|
| 9 |
|
| 10 |
const { exec } = require("child_process");
|
| 11 |
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
// Initialize Express app for HTTP server
|
|
@@ -352,8 +353,7 @@ bot.onText(/\/ytmp3 (.+)/, async (msg, match) => {
|
|
| 352 |
});
|
| 353 |
|
| 354 |
|
| 355 |
-
|
| 356 |
-
const axios = require("axios");
|
| 357 |
|
| 358 |
// /play command
|
| 359 |
bot.onText(/\/play(?: (.+))?/, async (msg, match) => {
|
|
|
|
| 9 |
|
| 10 |
const { exec } = require("child_process");
|
| 11 |
|
| 12 |
+
const yts = require("yt-search")
|
| 13 |
|
| 14 |
|
| 15 |
// Initialize Express app for HTTP server
|
|
|
|
| 353 |
});
|
| 354 |
|
| 355 |
|
| 356 |
+
|
|
|
|
| 357 |
|
| 358 |
// /play command
|
| 359 |
bot.onText(/\/play(?: (.+))?/, async (msg, match) => {
|