Added more variations of /yt command and improved help for it
This commit is contained in:
parent
ae8be193f5
commit
d1494fbd80
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue