diff --git a/bot.py b/bot.py index 19d93b0..7aaad45 100644 --- a/bot.py +++ b/bot.py @@ -1103,8 +1103,6 @@ async def get_file(ctx, source, link): logger.info( "Failed to download %s, make sure yt_dlp is up to date", link ) - extract = re.search("v=(...........)[&,$]*", link) - ident = extract.group(1) for item in Path.glob(Path(dir_path), "**/*.mp3"): file = item.as_posix() if platform == "win32":