debug
This commit is contained in:
		
							
								
								
									
										1
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.py
									
									
									
									
									
								
							@@ -38,6 +38,7 @@ async def check_updates():
 | 
				
			|||||||
                      f'Character: {" ".join(post.tags.character)}\n\n' \
 | 
					                      f'Character: {" ".join(post.tags.character)}\n\n' \
 | 
				
			||||||
                      f'https://e621.net/posts/{post.id}'
 | 
					                      f'https://e621.net/posts/{post.id}'
 | 
				
			||||||
            if post.file.url:
 | 
					            if post.file.url:
 | 
				
			||||||
 | 
					                print(post.file.url)
 | 
				
			||||||
                if post.file.ext == 'webm':
 | 
					                if post.file.ext == 'webm':
 | 
				
			||||||
                    await bot.send_video(int(os.environ['SEND_CHAT']),
 | 
					                    await bot.send_video(int(os.environ['SEND_CHAT']),
 | 
				
			||||||
                                         post.file.url,
 | 
					                                         post.file.url,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user