From 8191537d7b76dab655f5cbf6e766ee42b25aa25f Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Fri, 24 Jan 2025 19:56:28 +0000 Subject: [PATCH] Slow it down to stop bot messages --- Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 0dc7823..c6ab072 100644 --- a/Program.cs +++ b/Program.cs @@ -8,7 +8,6 @@ using System.Diagnostics.CodeAnalysis; using YoutubeExplode.Playlists; using YoutubeExplode.Channels; using System.Linq; - HttpClient http=new HttpClient(); YoutubeClient ytc=new YoutubeClient(http); ConcurrentStack videoIds=new ConcurrentStack(); @@ -53,6 +52,8 @@ async Task AddVideo(VideoId id) } client.Disconnect(); + + Task.Delay(10000); } }