Added more variations of /yt command and improved help for it

This commit is contained in:
Luquinhas 2025-01-10 10:02:00 -03:00
parent ae8be193f5
commit d1494fbd80
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
3 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ const getApproxSize = async (command, videoUrl) => {
};
module.exports = (bot) => {
bot.command(['yt', 'ytdl', 'sdl'], spamwatchMiddleware, async (ctx) => {
bot.command(['yt', 'ytdl', 'sdl', 'video', 'dl'], spamwatchMiddleware, async (ctx) => {
const Strings = getStrings(ctx.from.language_code);
const ytDlpPath = getYtDlpPath();
const userId = ctx.from.id;