userinfo: copypaste moment
This commit is contained in:
		
							parent
							
								
									a5da10b6aa
								
							
						
					
					
						commit
						7004395b3d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -33,7 +33,7 @@ userinfo.callback = async function (msg, line) {
 | 
				
			||||||
  if (!line || line == "") {
 | 
					  if (!line || line == "") {
 | 
				
			||||||
    id = msg.author?.id ?? msg.user?.id;
 | 
					    id = msg.author?.id ?? msg.user?.id;
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
    const lookup = await lookupUser(msg, user);
 | 
					    const lookup = await lookupUser(msg, line);
 | 
				
			||||||
    if (lookup == "No results" || lookup == "Canceled" || lookup == "Request timed out") {
 | 
					    if (lookup == "No results" || lookup == "Canceled" || lookup == "Request timed out") {
 | 
				
			||||||
      return lookup;
 | 
					      return lookup;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue