Slow it down to stop bot messages

This commit is contained in:
Mike Nolan 2025-01-24 19:56:28 +00:00
parent 267c2f312a
commit 8191537d7b
1 changed files with 2 additions and 1 deletions

View File

@ -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<VideoId> videoIds=new ConcurrentStack<VideoId>();
@ -53,6 +52,8 @@ async Task AddVideo(VideoId id)
}
client.Disconnect();
Task.Delay(10000);
}
}