diff options
Diffstat (limited to 'cogs/downloader.py')
| -rw-r--r-- | cogs/downloader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogs/downloader.py b/cogs/downloader.py index 9f825b4..7b338e9 100644 --- a/cogs/downloader.py +++ b/cogs/downloader.py | |||
| @@ -28,6 +28,7 @@ class Downloader(commands.Cog): | |||
| 28 | ): | 28 | ): |
| 29 | await ctx.defer() | 29 | await ctx.defer() |
| 30 | try: | 30 | try: |
| 31 | logger.info(f"Downloading {url}") | ||
| 31 | # Create a temporary directory | 32 | # Create a temporary directory |
| 32 | with tempfile.TemporaryDirectory() as temp_dir: | 33 | with tempfile.TemporaryDirectory() as temp_dir: |
| 33 | # Configure yt-dlp to use the temp directory | 34 | # Configure yt-dlp to use the temp directory |
