Slow it down to stop bot messages
This commit is contained in:
		
							parent
							
								
									267c2f312a
								
							
						
					
					
						commit
						8191537d7b
					
				|  | @ -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); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue