sahanind commited on
Commit
c26fe80
·
verified ·
1 Parent(s): 3c106eb

Update plugins/echo.py

Browse files
Files changed (1) hide show
  1. 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("--u")
95
  command_to_exec.append(youtube_dl_username)
96
  if youtube_dl_password is not None:
97
- command_to_exec.append("--p")
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(