allow text after youtube url

This commit is contained in:
jan6 2021-10-10 19:31:30 +03:00
parent fcf70d344d
commit cc5f92ecbf
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class Command:
"""youtube"""
if cmd.startswith("yt "):
cmd = cmd[3:]
cmd=cmd.split()[0]
try:
a = YouTube.yt(YouTube, cmd)
except Exception as e: