mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Add support to /sdl
This commit is contained in:
parent
94eb75e204
commit
5d838095b2
@ -56,7 +56,7 @@ const getApproxSize = async (command, videoUrl) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (bot) => {
|
module.exports = (bot) => {
|
||||||
bot.command(['yt', 'ytdl'], spamwatchMiddleware, async (ctx) => {
|
bot.command(['yt', 'ytdl', 'sdl'], spamwatchMiddleware, async (ctx) => {
|
||||||
const Strings = getStrings(ctx.from.language_code);
|
const Strings = getStrings(ctx.from.language_code);
|
||||||
const ytDlpPath = getYtDlpPath();
|
const ytDlpPath = getYtDlpPath();
|
||||||
const userId = ctx.from.id;
|
const userId = ctx.from.id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user