Update main.py

This commit is contained in:
Wizzard 2024-07-31 18:25:40 -04:00
parent ad3a2fb64e
commit 7c5a97233b
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ async def check_new_videos():
ydl.download([video_url]) ydl.download([video_url])
add_downloaded_video(video_id) add_downloaded_video(video_id)
channel = bot.get_channel(int(DISCORD_CHANNEL_ID)) channel = bot.get_channel(int(DISCORD_CHANNEL_ID))
await channel.send(f"@everyone New video dropped and has been archived: {video_url}") await channel.send(f"@everyone New tard video dropped and has been archived: {video_url}")
print(f"Downloaded and notified for video {video_id} from channel: {channel_id}") print(f"Downloaded and notified for video {video_id} from channel: {channel_id}")
else: else:
print(f"Video URL or ID missing for video ID {video_id} from channel: {channel_id}") print(f"Video URL or ID missing for video ID {video_id} from channel: {channel_id}")