foxwells.vinboard: specify wait
This commit is contained in:
		
							parent
							
								
									073a778808
								
							
						
					
					
						commit
						c02e85aafe
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -244,6 +244,7 @@ async function createBoardMessage(msg, count) {
 | 
			
		|||
    threadID: VINBOARD_THREAD_ID,
 | 
			
		||||
    embeds: [embed],
 | 
			
		||||
    files: image.file ? [{file: image.file, filename: "thumb.jpg"}] : null,
 | 
			
		||||
    wait: true,
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -324,6 +325,7 @@ async function processReaction(_msg, user, reaction) {
 | 
			
		|||
    const boardMessage = await vinboard_webhook.execute(
 | 
			
		||||
      await createBoardMessage(msg, trueCount)
 | 
			
		||||
    );
 | 
			
		||||
    logger.debug("vinboard", JSON.stringfy(boardMessage));
 | 
			
		||||
    await setBoardEntry(msg.id, trueCount, boardMessage.id);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue