Update main.py
This commit is contained in:
parent
ad3a2fb64e
commit
7c5a97233b
2
main.py
2
main.py
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue