utility.linvite: dysnomia fix
This commit is contained in:
		
							parent
							
								
									8181bb510e
								
							
						
					
					
						commit
						660ab272c5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -278,7 +278,7 @@ lookupinvite.callback = async function (msg, line) {
 | 
			
		|||
 | 
			
		||||
  line = line.replace(/(https?:\/\/)?discord\.gg\//, "");
 | 
			
		||||
 | 
			
		||||
  const invite = await hf.bot.rest.request({
 | 
			
		||||
  const invite = await hf.bot.requestHandler.request({
 | 
			
		||||
    method: "GET",
 | 
			
		||||
    path: "/invites/" + line + "?with_counts=1",
 | 
			
		||||
  });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue