misc.shodan: handle detail response
This commit is contained in:
		
							parent
							
								
									f99780c297
								
							
						
					
					
						commit
						b3342d9d36
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -340,6 +340,8 @@ shodan.callback = async function (msg, line) {
 | 
			
		|||
    res.json()
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  if (data.detail) return data.detail;
 | 
			
		||||
 | 
			
		||||
  return {
 | 
			
		||||
    embed: {
 | 
			
		||||
      title: `Results for \`${data.ip}\``,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue