mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add banned channels :3
This commit is contained in:
		
							parent
							
								
									05b753c210
								
							
						
					
					
						commit
						9c77e01076
					
				| @ -269,6 +269,14 @@ module.exports = function (app, config, renderTemplate) { | ||||
|         getChannelData(channelINVUrl), | ||||
|       ]); | ||||
| 
 | ||||
|      var bannedchannels = ["UC1okSIA8UEY8OqvtjGHFvzA"] | ||||
|       | ||||
|       if(ID.includes(bannedchannels)) { | ||||
|         var cinv = { | ||||
|           error: "banned from poke for violating code of conduct. you can still watch content but u cant view the channel itself!" | ||||
|         } | ||||
|       } | ||||
| 
 | ||||
|       function getThumbnailUrl(video) { | ||||
|         const maxresDefaultThumbnail = video.videoThumbnails.find( | ||||
|           (thumbnail) => thumbnail.quality === "maxresdefault" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley