Update plugins/echo.py
Browse files- plugins/echo.py +2 -2
plugins/echo.py
CHANGED
@@ -91,10 +91,10 @@ async def echo(bot, update):
|
|
91 |
else:
|
92 |
command_to_exec = ["yt-dlp", "--no-warnings", "--allow-dynamic-mpd", "-j", url]
|
93 |
if youtube_dl_username is not None:
|
94 |
-
command_to_exec.append("--
|
95 |
command_to_exec.append(youtube_dl_username)
|
96 |
if youtube_dl_password is not None:
|
97 |
-
command_to_exec.append("--
|
98 |
command_to_exec.append(youtube_dl_password)
|
99 |
logger.info(command_to_exec)
|
100 |
chk = await bot.send_message(
|
|
|
91 |
else:
|
92 |
command_to_exec = ["yt-dlp", "--no-warnings", "--allow-dynamic-mpd", "-j", url]
|
93 |
if youtube_dl_username is not None:
|
94 |
+
command_to_exec.append("--username")
|
95 |
command_to_exec.append(youtube_dl_username)
|
96 |
if youtube_dl_password is not None:
|
97 |
+
command_to_exec.append("--password")
|
98 |
command_to_exec.append(youtube_dl_password)
|
99 |
logger.info(command_to_exec)
|
100 |
chk = await bot.send_message(
|