.
This commit is contained in:
		
							parent
							
								
									16cc64219a
								
							
						
					
					
						commit
						182a4b9eaf
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -155,7 +155,7 @@ async function hastebin(body) {
 | 
				
			||||||
  return `<${hf.config.haste_provider}/${res.key}>`;
 | 
					  return `<${hf.config.haste_provider}/${res.key}>`;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hf.selectionMessages = hf.selectionMessages || new Collection();
 | 
					hf.selectionMessages = hf.selectionMessages ?? new Collection();
 | 
				
			||||||
async function selectionMessage(
 | 
					async function selectionMessage(
 | 
				
			||||||
  msg,
 | 
					  msg,
 | 
				
			||||||
  heading,
 | 
					  heading,
 | 
				
			||||||
| 
						 | 
					@ -258,7 +258,7 @@ async function selectionMessage(
 | 
				
			||||||
      msg.id,
 | 
					      msg.id,
 | 
				
			||||||
      setTimeout(() => {
 | 
					      setTimeout(() => {
 | 
				
			||||||
        hf.events.remove("interactionCreate", `selection.${msg.id}`);
 | 
					        hf.events.remove("interactionCreate", `selection.${msg.id}`);
 | 
				
			||||||
        hf.selectionMessages.remove(msg.id);
 | 
					        hf.selectionMessages.delete(msg.id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        reject("Request timed out");
 | 
					        reject("Request timed out");
 | 
				
			||||||
      }, timeout)
 | 
					      }, timeout)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue