This commit is contained in:
2026-03-03 00:29:03 +03:00
parent 6a8dbed691
commit 18b7a2082b
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ export class YtInfo extends CallbackCommand {
text: string;
async execute(query: CallbackQuery): Promise<void> {
const videoUrl = query.data.split(" ")[1];
if (!videoUrl) return;
const videoId = query.data.split(" ")[1];
if (!videoId) return;
await processYouTubeLink(query.message, videoUrl);
await processYouTubeLink(query.message, null, videoId);
}
}