Add support to /sdl
This commit is contained in:
parent
94eb75e204
commit
5d838095b2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue